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

Remove / Change 'Browse By Date' Title in Archive Widget


Reply

3 Posts   1736 Views

Avatar
timwjohn

7 October 2009 at 11:17pm Community Member, 98 Posts

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

Avatar
dio5

13 October 2009 at 2:29am Community Member, 501 Posts

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.

Avatar
timwjohn

13 October 2009 at 5:57am Community Member, 98 Posts

Awesome!

Thanks dio5!