Displaying 20 results from an estimated 40000 matches similar to: "multi-page prints"
2006 Feb 28
7
multi-page printing moving on
I have some nice forms done using stylesheets. I currently have them
displaying on screen and the user could simply just print.
This works when there is only one form (facility) to be viewed/printed.
I have created the looping code necessary to print for all facilities
but that doesn''t work for me because each page uses stylesheets with
<div> that do absolute positioning and thus
2006 Feb 16
1
CentOS FAQ (was ssh attack)
On 16/02/06, Craig White <craigwhite at azapple.com> wrote:
> On Thu, 2006-02-16 at 15:18 -0500, John Hinton wrote:
> > As someone did suggest though, a FAQ on SSH would be a
> > good idea.
> ----
> I think it's a great idea - go ahead and do it...why wait for others?
I suggested it, and not just for common SSH on CentOS questions but
for anything that's, well,
2009 Sep 15
2
precision multi-page printing
I am at a point where I will need to print checks in an application.
I guess the best way to describe this is that I am using pre-printed
checks and that I want to hit the prescribed areas with my text output.
Should I be doing something like PDF output like pdf-writer or other or
can I possibly do this with html and css?
My output will be check runs of many checks with 1 page per check.
Any
2006 Mar 26
17
activeldap
Obviously I am missing something and I don''t know what it is...
I am following the instructions at
http://rubyforge.org/docman/view.php/381/114/activeldap_rb.html
and also here...
http://wiki.rubyonrails.org/rails/pages/HowtoAuthenticateViaLdap
my model looks exactly like this...
class LdapUser < ActiveRecord::Base
ldap_mapping :dnattr => ''uid'', :prefix
2006 Mar 08
12
best way to combine results from two tables
I want to combine a selection of data from two tables and display it as
list. Note that this isn''t a join.
i''m looking for something like this:
Table 1: Sheep
Name, Age, Farmer, etc. (sheep specific columns)
Table 2: Cows:
Name, Age, Farmer, etc. (cow specific columns)
For my display I nneed something like this:
Farmer Jone''s Livestock:
TYPE NAME AGE
Cow
2008 Jan 14
0
Setting profile FBML for a Facebook Page
Had a user add our app to a Facebook Page,
http://www.facebook.com/business/?pages. Facebook Pages act like
users but are more for businesses and Bands.
It looks like the current Facebooker API doesn''t currently support
setting the Profile FBML for a Page.
The current code for setting the proflie is this:
def profile_fbml=(markup)
2008 Dec 19
1
Misuse of $<matn expressions>$ in Rd files
'Writing R Extensions' tells you that $ needs to be escaped in Rd files
outside \code and similar. So I was surprised to find that ca 80 CRAN
packages have constructions like (from ISwR)
\item{\code{folate}}{
a numeric vector, folate concentration ($\mu$g/l).
}
This does not render sensibly in non-latex conversions, and it is what we
have \eqn{} for.
That $ needs to be
2006 Feb 14
8
routing failures
probably something really simple but I don''t understand.
Shifting to Apache to w/ fastcgi (definitely feels faster than webrick)
Anyway, I set the default route in routes.rb to be
map.connect '''', :controller => "placements", :action => ''list''
which worked once I figured out apache...
Anyway, now that I have done that, all attempts
2006 Feb 21
8
Validations continued
I simply can''t figure this out. I have been reading and re-reading Agile
book and wiki.rubyonrails.org - all sorts of validation methods and
still, it doesn''t work.
Controller code
def create
@client = Client.new(params[:client])
if @client.save!
flash[:notice] = ''Client was successfully created.''
redirect_to :action =>
2006 May 07
1
Announcement: Markdown-0.1 for PmWiki
Okay, it's pretty alpha, but it is a start. I have published
"Markdown," which is a recipe that helps integrate Markdown syntax
with PmWiki.[1] My goal is that, when finished, there will be
something pretty close to a PHP-based wiki that relies on Markdown
syntax.
I have been involved with PmWiki for a couple years now. It has
matured into a very potent, customizeable wiki engine.
2006 Nov 04
1
Writing better HTML/CSS for the Depot app
Folks:
A couple of people have mentioned that the HTML I use in the Depot
app could be better (and I don''t necessarily disagree: I''m not a CSS
maven).
What''s the general feeling on this? Is it worth using more compliant
markup for the Depot HTML? If so, would anyone be willing to markup
the depot_r application (ideally so that it looks the same and I
2006 Feb 23
5
layouts
I created a controller called reports, for which I didn''t have any model
or tables.
I wanted to use a menu/layout structure similar to all my other
models/controllers and added a layout named reports which then gives me
the menu/layout structure but is also now part of all my reports.
That isn''t gonna work so I renamed reports.rhtml to reports_forms.rhtml
(still inside my
2006 Mar 16
32
iterating a partial with :collection
following AWDWR book - ''Partials and Collections'' (rather sparse info
there too) and I might add that the wiki page on this topic is entirely
devoid of any info...be that as it may...
I have hash of several arrays that I want to iterate though and display.
the first hashed element looks like this (greatly simplified)
- :facility: !ruby/object:Facility
attributes:
2006 Jun 04
3
link_to tool tips
I think they are called tool tips...
I have view code that looks like this...
<%= link_to ''I'', :action => ''edit_innoculations'', :id => personnel %>
Is there an option (I don''t see it in api) to have tool tips for a
link_to ?
Craig
2006 Feb 08
2
helpers and plugins
First a helper...
Have a boolean field - on forms, it returns ''true'' or ''false''
It would be much nicer to have it say either ''yes'' or ''no''
is there a helper for this?
Where do I find a list of helpers beyond Agile book?
Secondly, plugins...
I know that I am going to have to look at authentication mechanisms and
2006 May 29
5
Find last
This seems rather ugly. I am thinking that this needs to be in the model
but I am looking to obtain the date for a tb test...
>> @tb = Innoculation.find(:all,
:conditions => ["personnel_id = 1 AND innoc_type = ''TB''"],
:order => ''innoc_date DESC'')
=> [#<Innoculation:0xb77ed234 @attributes={"id"=>"1",
2006 Feb 07
7
select list error - following Agile guide
I would swear that I am tracking exactly the method used in Agile
book...
TypeError in Placements#edit
Showing app/views/placements/_form.rhtml where line #33 raised:
wrong argument type String (expected Module)
Extracted source (around line #33):
30: <tr>
31: <td><label for "type">Type</label></br><%=
32: options = [["Select
2006 Jan 27
20
bundled_resource v.0.9
Original announcement at http://blog.inquirylabs.com/ [1]
== What is bundled_resource? ==
If your development is in any way similar to mine, there are a number
of useful resources out there that make web applications shine
beautifully. For example, there?s the Dynarch calendar and the
textarea tools. There are a number of others?too many, in fact. The
problem is that as a web developer,
2006 Mar 22
3
strange issue locating a file
I have been editing a branch on my Fedora system, completed the changes
and was satisfied that it works and using svn, merged it to my main
trunk. I have been testing the main trunk and it seems fine. I committed
my changes to the svn repository.
On my live web application, I did an ''svn update'' which brought all the
files in but when I launch, I get an error on my
2006 Jun 10
3
MultiMarkdown and MathML - new feature and request for help
A lot of people have expressed interest in combining math features
with Markdown, but I am not aware of any real developments from these
requests.
I was looking around and toying with [ASCIIMathPHP](http://
www.jcphysics.com/ASCIIMath/) and integrated it with MultiMarkdown
and my xhtml2latex XSLT transforms.
You can include math as an inline formula by using a markup similar
to inline