Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Blog Module /

Discuss the Blog Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Make SelectedTag accessible to TagCloudWidget.ss


Reply


642 Views

Avatar
losqualo

Community Member, 17 Posts

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