|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
bimal Smarty Elite
Joined: 19 Apr 2007 Posts: 423
|
Posted: Thu Dec 02, 2010 4:47 am Post subject: Fun with compiler plugin {c_url} |
|
|
I really enjoyed the the compiler plugin {c_url} with a bit of reasons.
The download link is here:
http://smarty-framework.googlecode.com/svn/trunk/library/services/framework.sanjaal.com/plugins/compiler.c_url.php
Code: | <link href="{c_url}/css/management.css" rel="stylesheet" type="text/css" /> |
I intended: the compile time writing of full URL name while loading the CSS.
Okay, this is normal, till now.
But the trick was to:
* Do not pass any parameters to {c_url}.
* Create a directory named: "{c_url}", which is valid under Windows.
* Use a physical clone of management.css under the real location {c_url}/css/management.css.
This helped me to keep Dreamweaver load the css and render the display correctly, even though {c_url} is a Smarty compile time plugin/
Impressive! |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|