Results 1 to 3 of 3
Jan 27, 2008, 23:37 #1
Zend Framework :: Site URL, Path and Etc...
I've been looking for this for a while now but success is not even close . I've used Codeigniter before and they have this URL Helper which can retrieve the following things:
- site_url($var) - Generates a full site url like: http://domain.com/class/action
- base_url() - Generates the base URL like: http://domain.com
In one of my View files I am including .css file. This view like is being loaded in this call:
Now in HTML part of my view file I will need to include the .css file. But I can't find a way to generate a full URL to the .css file dynamically.
Jan 28, 2008, 00:04 #2
prefixing / starts it from the root.
so it acts like http://domain.com/ without itLogic without the fatal effects.
All code snippets are licensed under WTFPL.
Jan 28, 2008, 16:25 #3
wicked! Let me try it out.