![]() |
Basic plugin help
I have several templates that require minor editing after reverting.
I figure it's time to learn how to use plugins to do my editing. I've read a few tutorials and still not grasping it. For my first plugin I simply want to add the background color black to my header template. The reverted template looks like this HTML Code:
<!-- logo --> HTML Code:
// ### ALL DONE! SPIT OUT THE HTML AND LET'S GET OUTTA HERE... ### Product: vBulletin Hook Location: forumhome_complete HTML Code:
$find = '<td align=\"$stylevar[left]\">'; |
Why don't you just edit the header template?
(Header templates are eval()'d before the forumhome is even started, they are eval()'d into $header variable in global.php). May find this helpful: [How-To] Using Plugins for Automatic Template Edits |
Quote:
I read the above url. I'll give it another read. It sounds like I am using the wrong hook location then? |
All times are GMT. The time now is 01:09 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|