Distributed Naviagtion Menu Help

Topics: General, Standard packages
Jun 8, 2011 at 3:03 PM

Hi I got a hopefully easy question.  I have the distributed menu working great, but now I want to add a menu item that is a link to a popup... How do I do this?  Do I need to create a page? Is there a data object that I can use?  Any help would be greatly appreciated.

Jun 9, 2011 at 10:04 AM

I think you can create Meta Data type "Popup".. with one field "IsPopup". On desired page assign meta data type and set checkbox. In Composite.Navigation.Distributed package change XSLT function "Distributed"..add function call to grab info for your datatype than here:

	<xsl:template mode="Page" match="*">
		<xsl:param name="showchilds" select="$childs"></xsl:param>
		<xsl:if test="@MenuTitle != ''">
			<li>
				<xsl:apply-templates mode="Class" select="." />
				<a href="{@URL}">
					<xsl:apply-templates mode="Class" select="." />
					<xsl:value-of select="@MenuTitle"/>
				</a>

do check if your page is "checked" or not.