similar to: link first page html to other rhtml

Displaying 20 results from an estimated 30000 matches similar to: "link first page html to other rhtml"

2006 Nov 04
0
link to rhtml page from html
Hi, I am having trouble linking from the html page to a rhtml page. Any suggestions will be greatly appreciated. JIm -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060823/7d872c4c/attachment-0001.html
2006 Nov 04
1
trouble linking from the html page to a rhtml page
Hi, I am having trouble linking from the html page to a rhtml page. Any suggestions will be greatly appreciated. JIm -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060824/b197ad2b/attachment-0001.html
2006 May 05
1
create a report page with 3 tables involved?
Hi, I am learning Radrails and want to tie the web project all together by displaying 3 tables linked together. I want to select one item from the main table, and then link to the other two tables. they will be linked by the key of the first table. It seems that I should create a rhtml in a main table or should I just copy the list.rhtml created by the generator scaffold? I might not make any
2006 Aug 19
1
if starting index is html?
Hi, Is the index.html file in public folder is the first page the user would see when he browses to my web site? How do I direct him to the other pagesif they are rhtml. Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060819/466adf68/attachment.html
2006 Mar 28
2
Homepage as index.rhtml, not index.html?
Hi all, I''m building my first Rails app. Please forgive my ignorance as I get acquainted with the technology. What I''d like to do is have a form that the scaffolding created for me appear on my home page. It''s just one text field, a submit button, and some error messages. I first tried to copy the code from the new.rhtml view into the homepage (index.html), then
2006 Apr 15
1
is it allowed to mix .rhtml and .html
I want to use RoR to perform a simple search function on my site that contains a lot of (static) .html pages. Can I mix .rhtml and .html pages on the site? The search box would be on .rhtml and a rail controller would redirect to the right .html page Thanks, Ted -- Posted via http://www.ruby-forum.com/.
2008 Jul 23
2
difference between html.hi to evererb &rhtml
hi to everyone whats the difference between html.erb & rhtml -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this
2005 Dec 30
3
Too many columns for list.rhtml to display on one page
I''ve gone once through the Agile book and am now attempting my own rails app. I''ve created a table named ''volunteers'' with over 15 columns. The problem is the default list.rhtml that is created with the scaffold, shows all the columns. I only want to show 4 of them with the list view. Where would I start to only return a handfull of columns to the
2006 Sep 28
2
RHTML page not rendering properly
I''ve got a weired problem. I got a RHTML page which is not rendered properly in the browser all other pages in my app do renders correctly. Only this one page returns the page''s HTML with the following header Content-Type: text/html Set-Cookie: _session_id=cb3c140fd4ef907c99ef203a053fba1a; path=/ Status: 200 OK Cache-Control: no-cache <html> .....................
2006 Jun 02
1
controller instance methods available in rhtml?
In rhtml, you have access to controller. I am trying to set an instance var in my controller, then retrieve it in my form display. I know I could do this through one of the hashes I have access to, but I''m trying to understand why I can''t do it this way. No matter what, when I try to output from my rhtml either <%= controller.whynot || ''Unknown'' %> or
2006 Apr 17
2
Refreshing RHTML page with previously posted data?
All, After a POST, I want to be able to redisplay a view with the data that was previously entered when my controller action notices a validation failure and calls render on the view that does the submit. Example: View x.rhtml - text field is filled in Call controller action Controller action fails validation calls render (:action => ''x'') x.rthml shows up with blank text
2006 Apr 26
3
Setting focus in a rhtml view
How do I set focus on a specific form field when I render a partial from the controller? I can do it with page[''name''].focus from an RJS view, but I can''t figure out how to do it when rendering this rhtml partial from the controller. I''m rendering a partial with two fields and neither one has focus until I hit the tab key or put the cursor in a field with the
2006 Jul 05
0
MasterView rails-optimized (x)html friendly template engine - Release 0.2.3
MasterView is a rails-optimized (x)html friendly template engine plugin that provides another option to the existing rails view templates (rhtml and rxml). The main idea is to provide a template engine that would provide all the power of layouts, partials, and rails helpers but still be editable/styleable in a WYSIWYG editor. It was also a major goal that the syntax of these attribute directives
2006 Aug 12
2
Layouts: application.rhtml v. mycontroller.rhtml
I was trying to be all DRY and standardize my layouts to one file and made an application.rhtml. There was no application.rhtml at all before. So I renamed all my controller layouts to .txt and then tested. I got empty pages. I found some issues with Login/UserEngine and application.rhtml, but nothing that looked like this behavior. Is routing messing me up? It''s as if
2007 Nov 27
2
rendering this to the html page
hi guys, i have develop some coding like login forms and registration forms in normal ROR way. they are working 100% ok as i want. bt not i have created the html interface to my page and find dificult to add the ROR components that i have created to the newly design web interface. For a example. in the in my HTML file i have a allocate separate area(in the top right hand corner of the page.)
2006 Apr 19
3
include contents of one rhtml in another
Hi I have a rhtml documment in views/account/login.rhtml I want to include the contents of login.rhtml in views/welcome/index.rhtml any suggestions on how this can be done? Thanks Scott -- Posted via http://www.ruby-forum.com/.
2006 Jan 27
3
Formatting Data in rhtml
Is there a simple way to format your data in the .rhtml file? I come from a PHP/Smarty background, and in the templates, I''ve used what is called "modifiers" to format data. {$price|currency_format} # displays in currency format {$description|truncate:"100"} # Truncates the description after 100 characters It seems like the template (rhtml) would be the ideal
2006 May 01
0
Same .rhtml and partial in mailer and non-mailer contexts
I have an ActionMailer template that properly generates HTML email. It contains a partial. The mail action was called via the following in my controller: def cmasend @cmaform = Cmaform.find(params[:id]) Mailer.deliver_cma(@cmaform) flash[:notice] = ''CMA Sent.'' redirect_to :action => ''list'' end Then, in order to allow a
2006 Mar 03
0
render_component in application.rhtml
I''m using application.rhtml as the common layout for all controllers in my app. I want to add navigation links inside the header portion of each page and this section is in the application layout (application.rhtml). The navigation links also include inforation like username and a link to logout if the user is logged in, or link to login...standard stuff. Anyway, i have controller
2008 Mar 25
0
filter collection based on field value in the index.rhtml
Hi, I am using Rails 1.2.6 i have an items controller. i am using the templated index.rhtml so it displays everything in my items table each item has the following fields in database. id name category which is non unique price what i need is let say there is a drop down list in the index.rhtml which contains all the possible values of category in the items table. (I have managed this.)