Instead of placing that in your application.dryml, put it in
front_site.dryml.   front_site.dryml is not included in subsites.

Bryan

On Fri, Nov 18, 2011 at 10:50 AM, Bob Sleys <[email protected]> wrote:
> I have a tag I want displayed on all pages of the site except the admin
> subsite.  Is there some easy way to determine the page is on the admin
> subsite and exclude the tag?
> What I have now is the following in my application.dryml
> <extend tag="page">
>   <old-page merge>
>     <after-header:>
>       <if test="&current_user.employee?">
>         <project/>
>       </if>
>     </after-header:>
>   </old-page>
> </extend>
> So I want the project tag to be included in pages where the user is an
> employee AND they are NOT on the admin subsite.  Note an employee can also
> be an admin so they might have access to the admin subsite also.
> Bob
>
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/py7SrasUlKMJ.
> 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.
>

-- 
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