1776 Posts in 498 Topics by 533 members
Blog Module
SilverStripe Forums » Blog Module » Make SelectedTag accessible to TagCloudWidget.ss
Discuss the Blog Module.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 536 Views |
-
Make SelectedTag accessible to TagCloudWidget.ss

4 September 2010 at 3:12am
How would I go about making the currently selected tag accessible for conditional testing within TagCloudWidget.ss.
It can be tested within BlogSidebar.ss (actually Sidebar.ss), but not within TagCloudWidget which gets included within BlogSidebar.ss.
I can see why this is happening... TagCloudWidget.php extends Widget, but SelectedTag is loaded by BlogTree, which extends Page, however, if I'm to highlight the currently selected widget within the tag cloud itself, I need access to the value within the TagCloudWidget.
How do I get it there?
Cheers
Rob
| 536 Views | ||
|
Page:
1
|
Go to Top |

