Displaying 20 results from an estimated 20000 matches similar to: "links to images keep breaking"
2006 Jul 08
4
Hidden fields in forms
Please can someone show me the correct syntax for a hidden field in
forms, this is my code
<%= start_form_tag :action => ''create'' %>
<div class="form1">
<table width="auto" boader="8" cellspacing="5" cellpadding="5">
<% hidden_field ''line_item'', ''client_id'', :value
2006 Nov 23
2
Returning to the same position on a page
Hi,
I am not sure if this is a general web question or a Rails specific
one but either way, I would really appreciate help and guidance.
My application generates quotes. To do so, you start at a page that
has the client details. From there you go to a catalog (a link on the
quote page) and select the items that are to be in the quote. All the
above is working just fine.
My problem is that when
2006 May 30
11
Another String Manipulation Exercise
Hi guys,
And I thought it wasn''t a problem. Here''s my string
"/var/www/vhosts/mysite.com/httpdocs/public/file/mypic.jpg"
How do i take out all the text that comes before "mypic.jpg"?
Trickier than I first thought.
TIA,
Bing
--
Posted via http://www.ruby-forum.com/.
2012 Sep 17
2
"eval" inside a function call in connection with updating the data slot in the call of lmer
Dear list,
Given a linear mixed model (from lme4) I want to 1) first change the input dataset and then 2) change the model formula. I want this to happen in a function call;
Please see below. Options 1) and 2) below work whereas 3) fails with the message
> foo()
Error in is.data.frame(data) : object 'beets2' not found
Question: What is it one must to in case 3) to have R look
2006 Aug 11
6
css - location of files.
Hi all.
I have the following scenario.
http://myapp/site1 is using <%= stylesheet_link_tag ''myapp_standard'' %>
to define the stylesheet for layout, I have myapp_standard.css in
/public/stylesheets and it works fine.
However, in the stylesheet I define a image to use for my site
background. eg:
html, body{
background-image: url(mysite_background.jpg);
padding-top:
2006 Aug 07
2
converting pdf to images
i am working on a catalog for our customers to order printing. i have
worked a little bit with imagemagick and pdf_writer. currently i am
uploading a pdf and an image for the preview of the file. i''m just
wondering if there is a way to convert a page of the pdf to a jpeg so
that i only have to upload once.
--
Posted via http://www.ruby-forum.com/.
2007 Jun 18
4
Images outside the site
I''m developing a site that will need to display images that will be stored in a location outside the site. What would be the easiest way to do this? The site will be running on a linux machine.
Thanks,
Will
---------------------------------
You snooze, you lose. Get messages ASAP with AutoCheck
in the all-new Yahoo! Mail Beta.
2006 Feb 05
2
Data-Base under Wine 0.9.7?
HEllo,
I*m trying to run some Kind ofe EPC (Electronic Part Catalog) und Wine
0.9.7. The Program starts, but then there is an error.
A Screenshot of the MEssages is at www.mo-parts.de/db-fehler.jpg
How can I fix this? It seems that a ODBC-Driver is missed. How can I
install this Driver?
Regards
Daniel Spannbauer
2006 Jun 28
1
sortable lists, database update
Hi,
I have some images and I want to be able to drag them into the order I
want and have the database updated accordingly. I have an unordered
list elsewhere in the application that works well, but for the images
I cant get it working.
In my controller I have:
def updateorder
params[:images].each_with_index { |id,idx| ProductImage.update(id,
:display_order => idx) }
render :text
2016 Apr 25
1
Opus Audio Codec
Dear Opus team,
We are a PC, Tablets and Smartphones manufacturer in Brazil http://www.positivoinformatica.com.br/ .
We were informed that the VP9 Video Codec will be added by Microsoft in the new versions of our contracts with them.
We reseached this codec and sow that is developed by you and is royalty free.
Would you please help me to check whether to sign any tipe of contract for the
2010 Apr 13
5
How to check if a parent has children?
What is the new way to check if a parent has child items? In rails
1.2.6 I did this:
if @client.has_line_items?
Client being the parent and line_items the children.
Now that I have upgraded to rails 2.0.1 (on my way to current :-) ) I
am getting this message:
undefined method `has_line_items?'' for #<Client:0x7f3b093b01a0>
How should I format the query now?
Regards,
Paul
2004 Sep 23
2
Modem[i4l]/ttyI0 sent into invalid extension 's'
G'day,
New to Asterisk alert!
I have a Netjet card running on linux 2.4.27 kernel using the HiSax
module, and trying to use it for incoming/outgoing calls from *.
I've tried playing with modem.conf and extensions.conf every which way
I can think of, using samples and whatever I can find off the net, and
I get the same message everytime I try to dial in.
The complete message is:
2008 Jul 04
2
How do change catalog before catalog is delted?
In my rails application,there are two models:post and catalog.
One post has a catalog,and one catalog has many posts.
When I delete a catalog,the posts belongs to the catalog will not be
shown normal,for it''s catalog is no existed.
Now I want to create(if the ''Defalut catalog'' is not existed) a
''Defalut catalog'' in catalogs table,and make the
2009 Sep 30
3
How to search and replace all urls on a HTML string using RUBY gsub
Hi ,
I trying to search and replace all urls on a HTML string
using gsub .
CODE
html = "<a href=''http://site.com.br''><img src=''http://site3.com/
image.jpg''></a><a href=''http://newx.com.br''><img src=''http://localhost/
imagem.jpg''></a>";
pattern = /<a
2018 Jan 19
1
Web scraping different levels of a website
Hey Ilio,
I revisited the previous code i posted to you and fixed some things.
This should let you collect as many studies as you like, controlled by
the num_studies arg.
If you try the below url in your browser you can see that it returns a
"simpler" version of the link you posted. To get to this you need to
hit F12 to open Developer Tools --> go to Network tab and click on the
2006 Mar 30
0
Page navigation using named routes (need your help)
Hello,
I want to use named routes to create page navigation.
For instance I have these named routes:
map.homepage ''/'', ...
map.links ''/links'', ...
map.catalog ''/products/catalog/'', ...
map.catalog2 ''/catalog/:year/'', ...
And then have a map which defines navigation on the basis of the named
routes (just for imagination):
2024 Oct 23
1
Multiple consumer catalog zones support in NSD
Hello,
The NSD documentation on Catalog zones[1] states:
> NSD can be a producer of catalog zones as well as a catalog zone consumer, but it is limited to process only a single consumer zone.
This can be a shortcoming in some architectures, like when NSD is used as a distribution server, dynamically "collecting" domains from several primary servers (each with its own catalog zone)
2013 Jan 15
3
Multiple class calls via dashboard
Hi,
I currently have puppet setup and backed into the dashboard and using ENC.
I wish to control as much of the configuration of machines via the
dashboard.
However, I have a requirement to call a module/class multiple times and was
wondering if this is possible? in a normal manifest I''d do this with the
following:
node "somenode" {
somemodule::submodule {
2008 May 25
2
storing data from a txt file in ruby?
Hello Im trying to write a a ruby program that takes a list of books
title ,author so on and i can read in the file with no problem but im
trying to store the list into either a array or hash so i ca say run
different methods view, delete ect..
anyhelp would be great this is what i have so far
IO.foreach("book_list.txt") do |line|
catalog=line.chomp.split(",")
2012 May 05
3
Error 400 on SERVER - pe_mcollective - missing value of param 'undef'
New install of 2.5.1 on Ubuntu 10.10 server. Multiple (6) new installs on
Ubuntu 12.04 clients running agent 2.7.14-1puppetlabs1 from the puppetlabs
repo generating the following error.
err: Could not retrieve catalog from remote server: Error 400 on SERVER: No
matching value for selector param ‘undef’ at
/opt/puppet/share/puppet/modules/pe_mcollective/manifests/init.pp:89 on
node