Are you enjoying the extensions? Did you like the support? Help others decide.

Leave a review

file force file load after template

More
10 years 7 months ago #2810 by rodiusd
force file load after template was created by rodiusd
Hello,

trying out your template. However have a question and seems not to find an answer.

Is there a way to instruct the load of JS&CSS files after these of the template?

Please Log in or Create an account to join the conversation.

More
10 years 7 months ago #2812 by admin
Replied by admin on topic Re: force file load after template
Hello,
you can do this by moving the code
<jdoc:include type="head" />
that is just after the <head> tag to just before the end tag </head> of the index.php file.

Olivier.

Please Log in or Create an account to join the conversation.

More
10 years 7 months ago #2814 by rodiusd
Replied by rodiusd on topic Re: force file load after template
Tryed this but had a strange effect. When you moved and a blank lin is in front then it put everything just fater the <body> tag.
Solved this by leaving no blank line before it and then it put the template in correct order.
Thanks for the tip.

Please Log in or Create an account to join the conversation.

More
10 years 7 months ago #2816 by admin
Replied by admin on topic Re: force file load after template
That is a strange behavior indeed.
There may be a problem with the jdoc tag.
I will investigate the matter. There may be a note of this in the Joomla forums.
Glad I was able to help.

Olivier.

Please Log in or Create an account to join the conversation.