Take a look at app/views/taglibs/auto/rapid/pages.dryml in your project. 
    Your page definition needs to provide the parameters used by the 
items that use 'page'.

According to http://cookbook.hobocentral.net/api_tag_defs/page, the 
standard page definition provides:

     * head
           o title
           o stylesheets
                 + app-stylesheet
           o scripts
                 + javascript
                 + fix-ie6
                 + custom-scripts
                 + application-javascript
     * body
           o ajax-progress
           o header
                 + account-nav
                 + app-name
                 + live-search
                 + main-nav
           o content
           o footer
           o page-scripts

You provide "body".  At the very least, you need to provide a "content" 
parameter as well.

cheers,
Bryan


hobo_hippy wrote:
> So I followed the famed 0.4 podcast to get started on implementing a
> custom layout, knowing I'd run into problems since I'm running 0.8.x.
> After some fiddling with it, I can only get 1 of 2 things to happen.
> The first is the layout shows up, but the content that I believe is
> generated by rapid won't show up; for example if I have a model and
> resources for blogs, I can't view, create, or do anything with blogs
> once I implement the layout with <%= stylesheet_link_tag 'application'
> %>. However, If I remove that line from my application.css, all the
> layout stuff goes away but I CAN see all the content you would usually
> expect from the app, for example a list of blogs, a create button,
> etc.
> 
> I was hoping someone had run into this before and could let me in on
> the solution, or would at least help me understand why this isn't
> working.  I've posted the application.dryml code below:
> 
> <include src="rapid" plugin="hobo"/>
> 
> <include src="taglibs/auto/rapid/cards"/>
> <include src="taglibs/auto/rapid/pages"/>
> <include src="taglibs/auto/rapid/forms"/>
> 
> 
> <def tag="app-name">Domanitech</def>
> 
> 
> <extend tag="page">
> <%= '<?xml version="1.0" encoding="iso-8859-1"?>' %>
> <title>Domanitech</title>
> <%= '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
> www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">' %>
> <html xmlns="http://www.w3.org/1999/xhtml";>
> <head>
> <meta http-equiv="content-type" content="text/html; charset=utf-8" />
> <meta name="keywords" cent="" />
> <meta name="description" content="" />
> <%= stylesheet_link_tag 'application' %>
> </head>
> <body>
> <div id="content">
> <section/>
> 
> <div id="header">
>       <div id="logo">
>         </div>
>   <div id="menu">
>               <ul>
>                       <li id="button1"><a href="./" title="Home">Home</a></li>
>                       <li id="button2"><a href="./Abouts" title="About 
> Us">About Us</a></
> li>
>                       <li id="button3"><a href="./Clients" 
> title="">Clients</a></li>
>                       <li id="button4"><a href="./Contacts" 
> title="Contacts">Contact Us</
> a></li>
>                       <li id="button5"><a href="./Blogs" 
> title="Blog">Blog</a></li>
>               </ul>
> </div>
> 
>  <div id="main">
> 
>  <div id="left H3">
>   <body param/>
>  </div>
> 
>  <div id="left">
>  </div>
> 
>  <div id="right">
>   <h2> SORRY! UNDER CONSTRUCTION</h2>
>  </div>
> 
>   </div>
>   </div>
> </div>
> 
> <div id="footer">
> <p>SITE BEST VIEWED WITH FIREFOX, SAFARI, OPERA, or CAMINO. Site may
> display incorrectly with Internet Explorer</p>
> <p>Copyright &copy; 2008. Designed by <a href="http://
> www.metamorphozis.com/" title="Free Web Templates">Free Web Templates</
> a></p>
> <p><a href="#">Privacy Policy</a> | <a href="#">Terms of Use</a> | <a
> href="http://validator.w3.org/check/referer"; title="This page
> validates as XHTML 1.0 Transitional"><abbr title="eXtensible HyperText
> Markup Language">XHTML</abbr></a> | <a href="http://jigsaw.w3.org/css-
> validator/check/referer" title="This page validates as CSS"><abbr
> title="Cascading Style Sheets">CSS</abbr></a></p>
>       </div>
>   </body>
>  </html>
> </extend>
> > 
> 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to