Re: [PHPTAL] Paths to resources in templates

2011-11-04 Thread Levi Stanley
Roman: We try to leave everything we get from design as close as possible to the way they gave it to us. We laid down some ground rules for design, everything their html uses must be put in flash, images, css, js, and fonts directories. I have also gotten them into designing layouts and

Re: [PHPTAL] Paths to resources in templates

2011-11-04 Thread adobebi...@gmail.com
Hi, I have been thinking for months on this issue and tried several things, One is within codeigniter, creating an assetmanager controller class and use its action to navigate the design time url to runtime url ... The code is most bottom of this message. And note that I didn't like and use it,

Re: [PHPTAL] Paths to resources in templates

2011-11-04 Thread Levi Stanley
Hi You dream solution, is the solution that I implemented. However, I don't use phpquery, I used simple_html_dom (I like how it feels like jquery). As you mentioned css url's do not change, I am looking into a possible solution to this. Thank you for the phpquery reference, looks promising.

Re: [PHPTAL] Paths to resources in templates

2011-11-03 Thread Darrell Hamilton
Depending on your environment, you could simply symlink the directories you use for development to where the files will eventually be stored, or if you have control of the webserver configuration, (and you're using apache) there's always mod_rewrite. Darrell Hamilton, Software Developer, 4over,

Re: [PHPTAL] Paths to resources in templates

2011-11-03 Thread romtek
That is great! I've had this idea before and even read about symbolic links but didn't get it well enough, but after your reply I've reread about them and tried them out and gotten exactly what I needed. Thank you very much, Darrell! On Thu, Nov 3, 2011 at 11:23 AM, Darrell Hamilton