Opened 6 years ago

Closed 6 years ago

#354 closed Unknown (Fixed)

Community Highlight left nav menu

Reported by: Maria Baron Owned by:
Priority: Unknown Milestone: Unassigned
Component: View-App Version: Unknown
Severity: Minor Effort Keywords:
Cc:

Description

The left nav menu on the Community HIGHLIGHTS pages only are created in an XSLT file and they don't collapse when you make your window narrower. Is there any way to fix this?

See attachment for pic of the problem.

Attachments (1)

CommHighMenus.PNG (175.1 KB) - added by Maria Baron 6 years ago.
Pic of problem on NM and NJ sites

Download all attachments as: .zip

Change History (8)

Changed 6 years ago by Maria Baron

Attachment: CommHighMenus.PNG added

Pic of problem on NM and NJ sites

comment:1 Changed 6 years ago by Paul Leo

Maria - I'll speak with Garth about it. I'm thinking that the issue is that the Community Reports were done before responsive technology had been implemented in IBIS, and will probably be redone in 3.x. How important is this? I may be able to change the xslt.

comment:2 Changed 6 years ago by Paul Leo

To get the context menu to collapse somewhat go to: ibisph-view\xslt\html\community\highlight\SiteSpecific?.xslt search for <xsl:param name="SiteSpecific?.contextNavigationSelections"

ibis:doc="context menu selections"

ADD

<SELECTIONS> right after the > which closes the param name

ADD </SELECTIONS>

just before

</xsl:param>

The title will remain open but the context menu will collapse

I'll look at seeing (may need Garth) whether or not we can move the whole report to right of context menu so that it is never blocked

comment:3 Changed 6 years ago by Paul Leo

To get the context menu on the community profile pages to collapse, you'll need to do a similar process.

The file to edit is:

ibisph-view\xslt\html\community\highlight\profile\SiteSpecific?.xslt

This is how the top and bottom of the <xsl:param name="SiteSpecific?.contextNavigationSelections"

will look

BEGINNING OF parameter

<xsl:param name="SiteSpecific?.contextNavigationSelections"

ibis:doc="Show the IBIS-PH community highlights report Quick Facts/introduction page"

<SELECTIONS> <!-- Add this SELECTIONS element -->

<SELECTION>

<LOCAL_URL>community/highlight/</LOCAL_URL> <DESCRIPTION>Show the IBIS-PH Community Report Index page</DESCRIPTION> <TITLE>Community Selection Page</TITLE> <ADDITIONAL_CLASSES>LargeText?</ADDITIONAL_CLASSES>

</SELECTION>

END of parameter

<SELECTION>

<xsl:variable name="prevBaseURL" select="if($previous/INDICATOR_VIEW_NAME)then concat('profile/', $previous/INDICATOR_VIEW_NAME) else 'introduction'"/> <LOCAL_URL>

<xsl:value-of select="concat('community/highlight/', $prevBaseURL, '/', $CommunityName, '/', $CommunityValue, '.html')"/>

</LOCAL_URL> <DESCRIPTION>Go back to previous page</DESCRIPTION> <TITLE>&lt;&lt; Previous Page</TITLE>

</SELECTION>

<xsl:if test="$next/INDICATOR_VIEW_NAME">

<SELECTION>

<LOCAL_URL>

<xsl:value-of select="concat('community/highlight/profile/', $next/INDICATOR_VIEW_NAME, '/', $CommunityName, '/', $CommunityValue, '.html')"/>

</LOCAL_URL> <DESCRIPTION>Go forward to next page</DESCRIPTION> <TITLE>Next Page &gt;&gt;</TITLE>

</SELECTION>

</xsl:if>

</SELECTIONS> <!-- ADD this end SELECTIONS element -->

</xsl:param>

comment:4 Changed 6 years ago by Maria Baron

Do the same thing in the SiteSpecific?.xslt files in

  • xslt\html\community\highlight\introduction
  • xslt\html\community\highlight\index
  • xslt\html\community\highlight\report
  • xslt\html\community\highlight\selection

and all of your community highlights menus will collapse!

comment:5 Changed 6 years ago by Maria Baron

Severity: UnknownMinor Effort

comment:6 Changed 6 years ago by Paul Leo

Modifying this ticket after migrating to new trac and svn server

comment:7 Changed 6 years ago by Lois Haggard

Resolution: Fixed
Status: newclosed
Note: See TracTickets for help on using tickets.