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)
Change History (8)
Changed 6 years ago by
Attachment: | CommHighMenus.PNG added |
---|
comment:1 Changed 6 years ago by
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
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
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><< 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 >></TITLE>
</SELECTION>
</xsl:if>
</SELECTIONS> <!-- ADD this end SELECTIONS element -->
</xsl:param>
comment:4 Changed 6 years ago by
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
Severity: | Unknown → Minor Effort |
---|
comment:7 Changed 6 years ago by
Resolution: | → Fixed |
---|---|
Status: | new → closed |
Pic of problem on NM and NJ sites