-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
baseUrl for public resources. #2
Comments
Hi! This is a good idea. I will refactor the code to your solution as soon Thanks so much! Michael Am 18.01.2012 16:02, schrieb Bill Yildirim:
Michael Romer Liviato.de - Wir machen Bücher kurz + klein! |
Thanks for the reply. You can use baseUrl for internal links as well. -----Original Message----- Hi! This is a good idea. I will refactor the code to your solution as soon as I Thanks so much! Michael Am 18.01.2012 16:02, schrieb Bill Yildirim:
Michael Romer Liviato.de - Wir machen Bücher kurz + klein! Reply to this email directly or view it on GitHub: |
This is good to know. I wasn't aware of the baseUrl trick yet, but it Thanks! Am 18.01.2012 22:51, schrieb Bill Yildirim:
Michael Romer Liviato.de - Wir machen Bücher kurz + klein! |
Hi, It could be used on the form too, setting the correct action. For example in the AddQuote form $this->setAction($this->getView()->baseUrl('/index/add-custom')); I got not found page for the first time since I develop in subfolders (http://localhost/projectName) Anyway your project is great ! I liked it |
Hi,
Great work! I'll be using this for my next project.
I was wondering why you didn't use $this->baseUrl() for the css/js/image files in the layout file?If you extract this to a sub folder, they won't be reachable. (e.g. http://localhost/zf-boilerplate/public/).
So placed css lines with
now it will work where ever you move your project.
The text was updated successfully, but these errors were encountered: