Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
Can anyone help me with some tpl code ?
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: Previous  1, 2
Welcome to RCF - WHF Forum Index -> Talk PC Add To Bookmarks
Re: Can anyone help me with some tpl code ?
PostPosted: 05/01/2010 2:29 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 5:52 PM
Location: St Pete, FL
peace.gif
What does the home.php file look like?  That is the file listed in the path for your category and subcategory code...

dontknow
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Can anyone help me with some tpl code ?
PostPosted: 05/01/2010 2:36 AM Reply with quote
Dove
circleofatlantis
Dove
Posts 79
Word Cnt. 6,418
BDay N/A
Sign N/A
Sex Sex:Male
Joined: Jun 11, 2007
Local time: 7:52 AM
Location: Normally off the planet.
australC_1xa.gif
I put it in the zip and reuploaded.
Back to Top
View user's profile Find all posts by circleofatlantis Send private message [ Hidden ]
Re: Can anyone help me with some tpl code ?
PostPosted: 05/01/2010 2:46 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 5:52 PM
Location: St Pete, FL
peace.gif
What does the products.php file look like?  When you click on the category or subcategory link, this is the code that is called in the home.php file:

Code:
if (!empty($cat))
   include "./products.php";

The products.php file is probably where all the work is done...

Why would you want to hardcode these links rather than just use the code as it is designed?  Wouldn't it be easier to put your links in your database rather than modify the code???

dontknow
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Can anyone help me with some tpl code ?
PostPosted: 05/01/2010 3:02 AM Reply with quote
Dove
circleofatlantis
Dove
Posts 79
Word Cnt. 6,418
BDay N/A
Sign N/A
Sex Sex:Male
Joined: Jun 11, 2007
Local time: 7:52 AM
Location: Normally off the planet.
australC_1xa.gif
No, because that means adding a database table, and then a whole new admin screen to enter the information. That what the people who wrote this wanted to do initially and charge me a lot to do it.

It doesnt need to be fancy, just work. And since its custom for one specific site, it doesnt have to be easily changeable.

Essentially, I dont need anything as complex as stuff added into the database. I just want to hardcode some links into a box that looks like it belongs there.

Its actually subverting the original process, to get outside webpages displaying within the shopping cart structure.

For example, the result would allow you to run this forum from within a shopping cart structure and have donation buttons and stuff in the shopping cart showing after the forum box ends, and in the most purchased box.

I do this off my existing site, using the provider feature, but to clone my site for the project I'm on now is too expensive, so I want to "hotwire" the same effect into the cheaper product. The existing site was heavily modified for a different purpose than the one I'm trying to do now. It also had a substantially bigger budget. I was planning to use a clone of the existing site, but the license fee is too big for the budget. Sad
Back to Top
View user's profile Find all posts by circleofatlantis Send private message [ Hidden ]
Re: Can anyone help me with some tpl code ?
PostPosted: 05/01/2010 2:13 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 5:52 PM
Location: St Pete, FL
peace.gif
I will still need to see the products.php file.  I can tell you how to strip the functionality that populates the categories and subcategories and hardcode your own links.  But you would probably lose the dynamics of the page without understanding how it works.  Hopefully the answer in how this code functions is in the products.php file...

I imagine that you could change the logic to use javascript too.  I am not a javascript expert though so it may be a challenge figuring out how to get the javascript code to work the way it does now...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Can anyone help me with some tpl code ?
PostPosted: 05/01/2010 5:59 PM Reply with quote
Dove
circleofatlantis
Dove
Posts 79
Word Cnt. 6,418
BDay N/A
Sign N/A
Sex Sex:Male
Joined: Jun 11, 2007
Local time: 7:52 AM
Location: Normally off the planet.
australC_1xa.gif
Updated the zip. Re download.
Back to Top
View user's profile Find all posts by circleofatlantis Send private message [ Hidden ]
Re: Can anyone help me with some tpl code ?
PostPosted: 05/01/2010 8:58 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 5:52 PM
Location: St Pete, FL
peace.gif
How big is the entire program?  Could you provide an archive of all of the program files?  The next file I need to look at is the search.php file and who knows where that will lead.  So if I had all the code, I wouldn't have to keep requesting files from you...

This program includes something called Smarty, which is included in another program that I've looked at recently.  I never did figure out how to follow the Smarty code...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Talk PC

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
All times are GMT - 5 Hours
Goto page: Previous  1, 2
Page 2 of 2


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.0544s (PHP: 69% - SQL: 31%) - SQL queries: 48 - GZIP disabled - Debug on