![]() |
Hook location for headinclude
Hello,
I want to add in headinclude a template (template_hook.headinclude_css), a template with some calls to external css files and javascripts but I can't find out which is the correct hook location. Tried all css relevant locations, global start, parse templates etc but none seems to work. Any idea?? Thank you Christos |
parse_templates should work, it's just before the header template is rendered.
|
Quote:
Code:
<link rel="stylesheet" href="christeris/ratemysite/includes/jqModal.css" type="text/css" /> |
What is the code you are adding to the plugin? Perhaps that is incorrect.
|
Quote:
1.- Plugin code: Code:
<plugin active="1" executionorder="10"> Code:
<template name="ratemysite_headinclude" templatetype="template" date="1160112327" username="ChrisTERiS" version="1.0.0"> Christos |
Are you still having a problem with it? I tried creating a plugin using parse_templates with that code, and I created a template called ratemysite_headinclude with the code you posted, and it works for me (I didn't use a product xml file so I can't say that the xml you posted is exactly right).
Did you check the html source of a page to see if anything is there? |
Quote:
In any case thank you both for your help. I already released my mod yesterday, and I believe that is not good to add this plugin as will confuse the members who already manually added those links. Christos |
All times are GMT. The time now is 05:25 PM. |
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:
|