Include files based on category ID - will this work? - eSyndiCat User Forums
eSyndiCat User Forums esyndicat directory software esyndicat support

Go Back   eSyndiCat User Forums > eSyndiCat Directory Software [FREE] > User interface

User interface Discuss eSyndiCat templates here. All the questions regarding eSyndiCat [FREE] Front end

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 05-30-2006   #1
90210
 
Join Date: May 2006
Posts: 96
90210 has disabled reputation
Default Include files based on category ID - will this work?

What I'm trying to do is to include file for each category so it would look like this:
for
cat_id = 2
{include file="add/{$category.id}.php"} (thus include add/2.php)
cat_id = 3
{include file="add/{$category.id}.php"} (thus include add/3.php)

and so on...
right now I get : Warning: Smarty error: unable to read resource: "{Array.id" in /home/sites/domain.com/smarty/Smarty.class.php on line 1095
.php"}

what am I doing wrong?
90210 is offline   Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I include files in the template? echopulse User interface 6 12-13-2005 07:20 AM
Just a curiosity based Question John01 General Chat 1 01-01-1970 01:56 AM
smarty based blog to use with esyndicat Vasily B. Common Questions 9 01-01-1970 01:04 AM
Category dont work seniOr Common Questions 6 01-01-1970 01:02 AM
Does Locked Category include subcategories? Peter Leenders Common Questions 3 01-01-1970 12:43 AM


All times are GMT. The time now is 01:44 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Testimonials | Articles | Support | Documentation | Privacy Policy | License | Affiliates | Contact Us | SEO Resources