1770 Posts in 495 Topics by 531 members
Blog Module
SilverStripe Forums » Blog Module » Where in Blog is sidebar widget markup procedurally applied?
Discuss the Blog Module.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 582 Views |
-
Where in Blog is sidebar widget markup procedurally applied?

3 March 2011 at 12:50pm
Greetings,
Installed blog module, and functionality is fine. However, I would like to change the structural markup of the Blog Management widget. I think I've been able to track down the UL which forms the menu (although, at the moment, I'm not sure I can find it again) however I'm baffled as to where the H3 tag is applied for the title.
I do not necessarily want to change the H3, but having gone looking for it, I now must have the answer or I'll go bonkers with wonder.
I also do not see where the style tags are programmatically added to the DIV wrapper.
Please point me in the right direction. Thank you!
Bret
-
Re: Where in Blog is sidebar widget markup procedurally applied?

3 March 2011 at 9:20pm
Widgets are rendered individually into their own template eg https://github.com/silverstripe/silverstripe-blog/blob/master/templates/BlogManagementWidget.ss (or Widget.ss by default).
The entire widget panel is templated by a WidgetHolder.ss template which contains the titles and the overall bar
https://github.com/silverstripe/sapphire/blob/master/templates/WidgetHolder.ss
| 582 Views | ||
|
Page:
1
|
Go to Top |


