Quote:
Originally Posted by EquinoxWorld
 You are correct my friend!!
Thank goodness! Thanks for the help everyone. Glad we got this resolved. For future references everyone knows now, clear your cache when in doubt.  I should add some small footnote for that option to suggest the user to refresh their cache after changing this option. (just in case you know). Thanks for your time everyone.
Best Regards,
Nox.
P.S.:Would there be a way to force a cache clear of the user changing this option?? Would be better to force this upon the user submitting the change, would make it more idiot-proof  . Whatever the case placing a footnote I think should do the trick too.
|
Problem is not resolve yet mate..
Try changing the value of that option and tell me if there is effect of that change ? (it will not i think)
Solution:
Create New Plugin
Plugin Hook:
parse_templates
Code:
Code:
$templater = vB_Template::create('templatename');
$template_hook['headinclude_css'] .= $templater->render();
Create a new Template called
templatename
Code:
Code:
<style type ="text/css">
//Your css code
</style>
It was interesting and i was also confused. But when i saw
css.php file, i got my answer.
Code:
header('Cache-control: max-age=31536000');
header('Expires: ' . gmdate("D, d M Y H:i:s", TIMENOW + 31536000) . ' GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s', $style['dateline']) . ' GMT');