Basically I am trying to have an image at the Title of the Application
( more like a logo ) .
Example : MY HOBO APPLICATION
<img> MY HOBO APPLICATION
but if i replace the <app-name> tag with this img, then its showing
ever where i use the <app-name>. I just need it to be visible on the
page header . Any ideas on this ?
Thanks
On Nov 15, 12:02 am, Matt Jones <[email protected]> wrote:
> On Nov 14, 2011, at 10:49 AM, Vivek Sampara wrote:
>
> > <append-heading:> -- The Hobo Blog</append-heading:>
> > I am trying to append a page's heading using <append-heading> tag as
> > described in the cook book. the structure of my dryml is more like
> > this
>
> > <login-page>
> > <append-heading:>
> > -- The Hobo Blog
> > </append-heading:>
> > <content-header:>
> > </content-header:>
> > </login-page>
>
> > The application doesn't crash but the header is still the same. Any
> > solutions for this ?
>
> Not sure what you're adding in the <content-header:> param, but that's going
> to override the ENTIRE content of content-header. Example from
> pages.dryml.erb:
>
> <def tag="index-page" for="<%= model.name %>">
> <page merge title="#{ht '<%= model_key %>.index.title',
> :default=>[model.model_name.human(:count=>100)] }">
> <body: class="index-page <%= model_class %>" param/>
>
> <content: param>
> <header param="content-header">
> <h2 param="heading">
> <ht key="<%= model_key %>.index.heading">
> <model-name-human model="&model"/>
> </ht>
> </h2>
>
> <p param="count" if>
> <ht key="<%= model_key %>.collection.count"
> count="&collection_count">
> <count summary/>
> </ht>
> </p>
> </header>
>
> --Matt Jones
--
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.