Author |
Message |
Topic: Multiple template directories and overriding templates |
Henkspenk
Replies: 19
Views: 32773
|
Forum: General Posted: Fri Dec 23, 2011 8:57 am Subject: Multiple template directories and overriding templates |
Have you updated you Smarty? can you show us some code where you are adding multiple template directions? |
Topic: Multiple template directories and overriding templates |
Henkspenk
Replies: 19
Views: 32773
|
Forum: General Posted: Wed Nov 16, 2011 2:56 pm Subject: Multiple template directories and overriding templates |
pffft. I am very sorry for bothering u guys with this.. The problem with include paths is indeed fixed in version 3.1.. Problem was that I had version 3.0.8. I updated my smarty, and it all works grea ... |
Topic: Multiple template directories and overriding templates |
Henkspenk
Replies: 19
Views: 32773
|
Forum: General Posted: Wed Nov 16, 2011 12:31 pm Subject: Multiple template directories and overriding templates |
Yeah, I tried that, but I am getting the following error:
Warning: file_exists(): open_basedir restriction in effect. File(/usr/local/lib/php/../templates/content/includes/polls ... |
Topic: Multiple template directories and overriding templates |
Henkspenk
Replies: 19
Views: 32773
|
Forum: General Posted: Wed Nov 16, 2011 12:19 pm Subject: Multiple template directories and overriding templates |
Really? I tried to add multiple template directories to template_dir, but it takes only the last inserted template direction. There by, with including for sure it takes the include_dir with ini_get('i ... |
Topic: Multiple template directories and overriding templates |
Henkspenk
Replies: 19
Views: 32773
|
Forum: General Posted: Wed Nov 16, 2011 11:32 am Subject: Multiple template directories - StreamWrapper |
It would require major modifications to the internals for implementation.
I think not. I was looking for this too, and came up with a working solution for myself. I made a simple function which c ... |
Topic: "Dot" syntax Variable resolution (eliminating '.' |
Henkspenk
Replies: 16
Views: 70446
|
Forum: Feature Requests Posted: Wed Oct 05, 2011 5:16 pm Subject: "Dot" syntax Variable resolution (eliminating '.' |
Hi
First of all, thanks for this great post. It helped me a lot with a project I was working on. For now I found only one problem with looping through arrays. That didn;t work, cause it was looping ... |
|