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.

Archive

Our old forums are still available as a read-only archive.

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

Changing HTML output of SS forms?


Reply

2 Posts   1239 Views

Avatar
Jona

12 October 2008 at 1:08pm Community Member, 19 Posts

Hi guys,

I used the search tutorial on the site to create a site search for my SS web site, but I wanted to change the HTML that SS outputs to better fit my design. What file do I need to edit (presumably somewhere in /sapphire/) in order to make this HTML change?

Thanks,
Jona

Avatar
Jona

13 October 2008 at 2:34pm Community Member, 19 Posts

Figured it out. SS does everything in OOP (to an extent wisely), so the pieces are scattered. Creating protected class variables for the SearchForm.php file in /sapphire/search/, then accessing the protected variables in /sapphire/forms/FormAction.php and /sapphire/forms/Form.php worked.

It's kind of a hassle when you want to exercise more control over the HTML output of SS sometimes. =)