Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

PageBuilder - Yahoo Subcats of PB pages in User pages

Quote Reply
PageBuilder - Yahoo Subcats of PB pages in User pages
Hi All

Is there a way to display a Yahoo Subcats type of thing for the PageBuilder-created pages?

We might try to use this to build lots of extra pages and directories and subdirectories and it would be great if we could use something like a <%pb_menu%> tag on all the user pages so that we wouldn't have to manually put in all the PB links.

For example, if we create a Help directory that has some pages and some subdirectories with more pages, a Yahoo Subcat menu tag would be perfect for this.

Thanks Smile

------------------------------------------

Last edited by:

DogTags: Feb 20, 2004, 12:14 PM
Quote Reply
Re: [DogTags] PageBuilder - Yahoo Subcats of PB pages in User pages In reply to
Hi

you can always use the tag 'sub_page_loop' to display pages, which are children of your current page. Use something like the following:
Code:
<%loop sub_page_loop%>
<a href="<%build_root_url%>/<%page_directory%>/<%page_filename%>"><%page_title%></a><br />
<%endloop%>
This doesn't give you children of children, though.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] PageBuilder - Yahoo Subcats of PB pages in User pages In reply to
Thanks, Ivan. That'll work Cool

Much appreciated Smile

------------------------------------------