Support Forum
How to move Search from header to footer in Default theme.
First I added the Search Form - OBJECT DEFINITION to the top of spFoot.php and I also added this section of code above the stats section.
# ---------------------------------------------------------------------- sp_SectionStart('tagClass=spPlainSection', 'search'); #sp_QuickLinksForum('tagClass=spControl spSelect spRight', __sp('Select Forum')); #sp_QuickLinksTopic('tagClass=spControl spSelect spRight', __sp('New/Recently Updated Topics')); sp_SearchForm($searchForm); sp_SectionEnd('', 'search'); sp_InsertBreak();
I left the search in head.php for now and neither searches appear to work. Is that because I can only have one instance either in the header or the footer. I wouldn't mind the QuickLinksForum and QuickLinksTopic in both the header and the footer but I seemed to have formatting issues with the boxes when they were in spFoot.php.
I'm probably missing something very obvious to a php programmer, which of course I'm emphatically not.
Conrad
correct... but you can pass in different tagID arguments in the search object so that you can have multiple...
Visit Cruise Talk Central and Mr Papa's World
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625