1770 Posts in 495 Topics by 531 members
Blog Module
SilverStripe Forums » Blog Module » Remove / Change 'Browse By Date' Title in Archive Widget
Discuss the Blog Module.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 1473 Views |
-
Remove / Change 'Browse By Date' Title in Archive Widget

7 October 2009 at 11:17pm
Hello all,
I'm looking to change the output of the Archive Widget so instead of the title being
<h3>Browse by Date</h3>
it's
<h2 class="area-heading">Archive</h2>
I've looked in the template file, and the title isn't generated in there. I can find the title itself in ArchiveWidget.php, but even if I changed that I wouldn't be able to change the tag it comes in...
Thanks,
Tim
-
Re: Remove / Change 'Browse By Date' Title in Archive Widget

13 October 2009 at 2:29am
Hi,
the html for widgets is rendered by sapphire/templates/WidgetHolder.ss
If you want to change it, add a WidgetHolder.ss file under your themes/yourtheme/templates folder and add in the changed html there.
-
Re: Remove / Change 'Browse By Date' Title in Archive Widget

13 October 2009 at 5:57am
Awesome!
Thanks dio5!
| 1473 Views | ||
|
Page:
1
|
Go to Top |


