There are always details to deal with, and the "Linklist as Pages Index" solution, to provide a "Pages" gadget that indexes non pages, is no exception. As pointed out to me this morning, a "LinkList" gadget, when simply substituted for the "PageList" gadget, doesn't have the right stuff to make the selected tab light up, when the requested page is being displayed. The lit up tab makes the Tabs gadget seem so user friendly, and some folks like that little detail.
Fortunately, this problem is not difficult to correct.
- First (yes, he's telling us again), backup your template.
- Next, "Edit HTML" and select "Expand Widget Templates".
- Look for
<b:section class='tabs' id='crosscol' maxwidgets='1' showaddelement='yes'>
- Look a few lines below that for
<li><a expr:href='data:link.target'><data:link.name/></a></li>
and replace it with
<b:if cond="data:blog.url == data:link.target">
<li class='selected'><a expr:href='data:link.target'><data:link.name/></a></li>
<b:else/>
<li><a expr:href='data:link.target'><data:link.name/></a></li>
</b:if>
- Save Template.
- Test.
- And finally, backup your template,again.
Not terribly complicated. Just another detail.
Elm0D
Author & Editor
Has laoreet percipitur ad. Vide interesset in mei, no his legimus verterem. Et nostrum imperdiet appellantur usu, mnesarchum referrentur id vim.
April 30, 2010
Blog Template, Dashboard - Template, Designer Templates, Pages, Pages Gadget, Static Pages, Template, Template Editor, Template Tweaks, Web Site
0 comments:
Post a Comment