WebSphere Portal Server - Theme navigation for pages under content root

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > December 2007 > Theme navigation for pages under content root





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Theme navigation for pages under content root
mpostaski@prolifics.com

2007-12-19, 7:29 pm

Here is the scenario that I have:<br />
<br />
-I have my normal Portal page heirarchy under Content Root-&gt;Home. Theme navigation is generated based on this hierarchy.<br />
-I also have several pages that are not under the page heirarchy of my site. I create these pages directly under Content Root and link to them through custom URL mappings. (call these "outside" pages). (IBM has a lot of these pages in the default install)
<br />
-Now on these "outside" pages, I would like to maintain the same page navigation that the user sees when they are on a any page under Content Root-&gt;Home. I am doing this now by creating a seperate theme- and statically recreating the site structure us
ing URL mappings. This theme is then used on those "outside" pages<br />
<p />
I know there must be a better way to do this using Portal tag libraries- basically I would want to generate navigation starting from the Content Root-&gt;Home node, even though the page the user is currently on is outside of that node selection path. Doe
s anyone know how to do this ?<br />
<br />
Thanks
Jim Barnes

2007-12-20, 7:39 am

well you could use the navigation model spi, and it will let you build your navigation starting from whichever node you want to. This is the same spi used in the drop down menu in the v6 themes and skins white paper, you can see this <a class="jive-link-
external" href="http://www-1.ibm.com/support/docview.wss?rs=688&ca=portall2&uid=swg21284974">http://www-1.ibm.com/support/docvie...a=portall2& uid=swg21284974</a> or the infocenter on this. <a class="jive-link-external" href="h
ttp://publib.boulder.ibm.com/infocenter/wpdoc/v6r0/topic/com.ibm.wp.exp.doc/wps/dgn_modelxmp.html? resultof=%22%6e%61%76%69%67%61%74%69%6f%
6e%22%20%22%6e %61%76%69%67%22%20%22%6d%6f%64%65%6c%22%
20%22%73%70%69%22%20">http://publib.boulder.ibm.com/infocenter
/wpdoc/v6r0/topic/com.ibm.wp.exp.doc/wps/dgn_modelxmp.html ? resultof=%22%6e%61%76%69%67%61%74%69%6f%
6e%22%20%22%6e%61%76%69%67%22%20%22%6d%6
f%64%65%6c%22%20%22%73%70%69%22%20</a><br />
<br />
You should also be able to use the navigation tag that is in the standard theme and use this attribute<br />
scopeUniqueName to push it over to the home page and not into the current node it is in. <a class="jive-link-external" href="http://publib.boulder.ibm.com/infocenter/wpdoc/v6r0/topic/com.ibm.wp.exp.doc/wps/dgn_ptlnavig.html?resultof=%22%6e%61%76%69%67%61
%74%69%6f%6e%6c%6f%6f%70 %22%20">http://publib.boulder.ibm.com/infoc...> 6e%6c%6f%6f%7 0%22%20</a><br />
<br />
IBM Certified System Administrator -- WebSphere Portal V6.0, V5.1, V5.0<br />
IBM Certified Solution Developer -- WebSphere Portal V5.1, v6.0<br />
<br />
The postings on this site are my own and do not necessarily represent the positions, strategies, or opinions of IBM
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com