Author |
Message |
Topic: Including PHP fatal error |
GeXus
Replies: 1
Views: 3552
|
Forum: General Posted: Sat Apr 28, 2007 4:00 am Subject: Including PHP fatal error |
I'm including a php file (inside a template) that is displaying a template. I am using include_once and making sure that smarty is not set twice. But no matter what I keep getting
Fatal error: Cal ... |
Topic: Cacheing not working with dynamic content |
GeXus
Replies: 4
Views: 8103
|
Forum: General Posted: Sun Mar 25, 2007 9:18 pm Subject: Cacheing not working with dynamic content |
Thanks
I did notice that it does not seem to be faster, if all content is dynamic would that mean that chaching would be pointless? |
Topic: Cacheing not working with dynamic content |
GeXus
Replies: 4
Views: 8103
|
Forum: General Posted: Sun Mar 25, 2007 9:07 pm Subject: Cacheing not working with dynamic content |
I'm having problems using cacheing... I a page called site.php, that page accepts query paramaters that basically change each page, When I have cacheing enabled, every page is that of the first page s ... |
Topic: Including dynamic template in another template |
GeXus
Replies: 4
Views: 6649
|
Forum: General Posted: Sun Feb 04, 2007 3:16 pm Subject: Including dynamic template in another template |
Perfect, thank you! |
Topic: Including dynamic template in another template |
GeXus
Replies: 4
Views: 6649
|
Forum: General Posted: Sat Feb 03, 2007 6:31 pm Subject: Including dynamic template in another template |
Okay
This is what i'm doing.
I have categories.php -> displaying to -> categories.tpl
then i have main.php -> main.tpl
I want to include the output from categories.tpl inside t ... |
Topic: Including dynamic template in another template |
GeXus
Replies: 4
Views: 6649
|
Forum: General Posted: Sat Feb 03, 2007 4:10 am Subject: Including dynamic template in another template |
I have one template that is being displayed from a php file, i want to then include this into another template... but when I try to include the php file, it just doesnt seem to work.. |
Topic: How to loop this array with section tags |
GeXus
Replies: 5
Views: 22944
|
Forum: General Posted: Fri Feb 02, 2007 9:57 pm Subject: How to loop this array with section tags |
Got it to work, for the record this is what I did
{foreach from=$categories key='cat_name' item='category' name='cats'}
{if $smarty.foreach.cats.iteration % 3 == 1}
&l ... |
Topic: How to loop this array with section tags |
GeXus
Replies: 5
Views: 22944
|
Forum: General Posted: Wed Jan 31, 2007 10:16 pm Subject: How to loop this array with section tags |
Boots, I've looked at the thread but and I tried one option that seemed like it might work, where I had section tags within the first foreach, but it did not work and I was not using the iteration.. I ... |
Topic: How to loop this array with section tags |
GeXus
Replies: 5
Views: 22944
|
Forum: General Posted: Mon Jan 29, 2007 8:10 pm Subject: How to loop this array with section tags |
I want to display the data in 3x columns, I can't seem to figure out how I would do that with foreach. |
Topic: How to loop this array with section tags |
GeXus
Replies: 5
Views: 22944
|
Forum: General Posted: Mon Jan 29, 2007 5:32 am Subject: How to loop this array with section tags |
Array ( [Automotive] => Array ( [0] => Array ( [sub_id] => [cat_id] => 37 [sub_name] => ) ) [Business] => Arra ... |
Topic: using foreach to display rows/columns |
GeXus
Replies: 0
Views: 3119
|
Forum: General Posted: Mon Jan 29, 2007 4:42 am Subject: using foreach to display rows/columns |
Is it posible to use foreach instead of section tags for displaying data in a table... such as 4x columns. |
Topic: Multidementional arrays using section and sub loops |
GeXus
Replies: 1
Views: 4320
|
Forum: General Posted: Mon Jan 29, 2007 2:35 am Subject: Multidementional arrays using section and sub loops |
Still trying to figure this out if anyone has any ideas... thanks! |
Topic: Multidementional arrays using section and sub loops |
GeXus
Replies: 1
Views: 4320
|
Forum: General Posted: Sun Jan 28, 2007 7:18 pm Subject: Multidementional arrays using section and sub loops |
I'm trying to display categories and then the sub categories below it. I've tried everything! (i think).. I started using foreach and that worked, but I wanted to display everything in columns and co ... |
Topic: Two associated queries |
GeXus
Replies: 3
Views: 7545
|
Forum: General Posted: Sun Jan 14, 2007 9:58 pm Subject: Two associated queries |
Thanks! That worked.. however when I also wanted to get the category_id and sub_category_id, i didn't seem to work and i can't exactly figure out how to change it so it will... any help would be great ... |
Topic: Two associated queries |
GeXus
Replies: 3
Views: 7545
|
Forum: General Posted: Sun Jan 14, 2007 2:25 am Subject: Two associated queries |
I trying to loop through categories and their associated sub categories by basically doing the following example
$query = "select * from categories"
while ($row = $query)
... |
|