List Info

Thread: cms:links to highlight current page




cms:links to highlight current page
user name
2007-10-21 04:11:12
Hi,

I have made necessary changes to meshcms to highlight
current page in
list of links that are shown by cms:links tag. Find the diff
attached.

I have not managed to make meshcms to recognize the tag
currentStyle,
so for now, I have hardcoded "selected" style for
current page.

--
Arieh

On 8/21/07, Arieh Skliarouk <skliariehgmail.com> wrote:
> I have an question regarding <cms:links> tag:
>
> I am using cms:links tag in main.jsp as follows:
> <ul id="nav">
> <cms:links path="/english"
welcome="false" current="true"
>   pre="<li>"
separator="</li><li>"
post="</li>" />
> </ul>
>
> It works well.
>
> Now I want the current page to be highlighted.
>
> I saw in <cms:listmenu...> tag following option,
that can help me in this
> regard: currentStyle.
> Is it possible to add the option to the <cms:links
...> tag as well?
>
>  --
> Arieh


-- 
Arieh

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and
a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
MeshCMS-Discussion mailing list
MeshCMS-Discussionlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesh
cms-discussion

Re: cms:links to highlight current page
user name
2007-10-21 04:17:05
Oops, forgot to attach the patch.

On 10/21/07, Arieh Skliarouk <skliariehgmail.com> wrote:
> Hi,
>
> I have made necessary changes to meshcms to highlight
current page in
> list of links that are shown by cms:links tag. Find the
diff attached.
>
> I have not managed to make meshcms to recognize the tag
currentStyle,
> so for now, I have hardcoded "selected" style
for current page.
>
> --
> Arieh
>
> On 8/21/07, Arieh Skliarouk <skliariehgmail.com> wrote:
> > I have an question regarding <cms:links>
tag:
> >
> > I am using cms:links tag in main.jsp as follows:
> > <ul id="nav">
> > <cms:links path="/english"
welcome="false" current="true"
> >   pre="<li>"
separator="</li><li>"
post="</li>" />
> > </ul>
> >
> > It works well.
> >
> > Now I want the current page to be highlighted.
> >
> > I saw in <cms:listmenu...> tag following
option, that can help me in this
> > regard: currentStyle.
> > Is it possible to add the option to the
<cms:links ...> tag as well?
> >
> >  --
> > Arieh
>
>
> --
> Arieh
>


-- 
Arieh

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and
a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
MeshCMS-Discussion mailing list
MeshCMS-Discussionlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesh
cms-discussion

  
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )