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: 1, 2  Next
Welcome to RCF - WHF Forum Index -> Talk PC Add To Bookmarks
Can anyone help me with some tpl code ?
PostPosted: 04/24/2010 6:14 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:48 AM
Location: Normally off the planet.
australC_1xa.gif
I'm running an xcart shopping cart system and want to add an extra feature to it.

It should be fairly simple, but the xcart people want to charge a lot for it.

If I have an example of the code I need, I can do it myself.

The cart page is divided into left, center and right areas. The left area holds boxes of links. The center holds the main displays. I'm not using the right.

In the left, I want to hardcode a bit of text with a link embedded, that when clicked, displays an external webpage in the center section. I have some code for doing the actual display, but I dont know how to get it listed on the left side so it will click activate.

It is tpl pages, called from php. I dont need any php, just the code I need to add into the tpl. This will include some code for the tpl file that holds the layout, and a new tpl file that describes the hardcode on the left, and a new file to display the webpage in the center. At least, thats how I understand it works.

Can anyone help with this ? In theory, it should be pretty basic stuff. But I'm only part way there understanding it. I can modify or copy, but cant write anything new.

Any help appreciated.
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: 04/24/2010 7:33 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:48 PM
Location: St Pete, FL
peace.gif
I really don't enjoy working on a lot of third party apps because so many of them are written badly and are almost impossible to understand and decipher.  I would be happy to look at what you have.  I won't guarantee anything though...

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: 04/25/2010 8:22 AM Reply with quote
Citation
fishead
Citation
Posts 4814
Word Cnt. 427,902
BDay Oct 23
Sign Scorpio
Sex Sex:Male
Joined: Feb 09, 2005
Local time: 5:48 AM
Location: Sterling IL
usaCa.gif
If you want free you could use paypal and just code it yourself (simple). Check out my store page, paypal gives you the code for buy and view shopping cart buttons and you can tweak it for each product by changing the price and name:

http://www.fisheadtackle.com/walleye_dvds.html
Back to Top
View all pictures posted by this userView user's profile Find all posts by fishead Send private message   Visit poster's website Phoogle Map Visit poster's Blog
Re: Can anyone help me with some tpl code ?
PostPosted: 04/30/2010 1:59 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:48 AM
Location: Normally off the planet.
australC_1xa.gif
Nightrider wrote:
I really don't enjoy working on a lot of third party apps because so many of them are written badly and are almost impossible to understand and decipher.  I would be happy to look at what you have.  I won't guarantee anything though...

munky2


Sorry for the delay, I dont seem to be getting email notifications and only just thought to check back.

Whats the best way of getting you the code ? Theres 3 different files that are applicable. Where it plugs in, one of the existing box creation files, and the one I know displays what I want, that needs the database references removed and hardcode instead.

What I need is sort a merging of several things. I had a good go at it yesterday but couldnt get more than a third of it to work.

I want to sort of merge these 2 bits of code somehow.

Code:
   <td  valign="top"><img src="{$ImagesDir}/category_bullet.gif" width="6" height="13" alt="" /></td>
   <td><a href="home.php?cat={$c.categoryid}" class="VertMenuItems"><font class="CategoriesList">{$c.category}</font></a></td>


Code:
<iframe src="{$iframe_content}" width="100%" height="600" scrolling="auto"></iframe>


The first part creates a listing inside a box based on stuff in the database.

The second part displays a database stored url within the existing site page.

What I want is to hardcode the second with an actual address, hard code the first with Text to display that activates the second when clicked.

If that makes any sense.

The makers want to charge me $231 for the code to do it. But it should be simple enough for anyone who knows how to code this stuff.

If you want the actual files, tell the best way to get them to you.
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: 04/30/2010 8:24 AM Reply with quote
Site Admin
rb2d2
Site Admin
Posts 49593
Word Cnt. 2,756,445
BDay Apr 22
Sign Taurus
Sex Sex:Female
Joined: Sep 25, 2004
Local time: 3:48 PM
Location: Texas
texasC.gif
circleofatlantis, Nightrider will be along later to help you but in the mean time maybe I can shed some light on why you aren't' getting email notifications.  Do you have "Notify me when a reply is posted" checked?  The feature is found under the posting box.




Back to Top
View all pictures posted by this userView user's profile Find all posts by rb2d2 Send private message   Visit poster's website Phoogle Map
Re: Can anyone help me with some tpl code ?
PostPosted: 04/30/2010 3:46 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:48 PM
Location: St Pete, FL
peace.gif
circleofatlantis wrote:
Whats the best way of getting you the code ? Theres 3 different files that are applicable. Where it plugs in, one of the existing box creation files, and the one I know displays what I want, that needs the database references removed and hardcode instead.

You could zip them up and upload the archive to your server.  Then you could provide a link to the zip file.  Or you could add the archive here as an attachment...

circleofatlantis wrote:
What I need is sort a merging of several things. I had a good go at it yesterday but couldnt get more than a third of it to work.

I want to sort of merge these 2 bits of code somehow.

Code:
   <td  valign="top"><img src="{$ImagesDir}/category_bullet.gif" width="6" height="13" alt="" /></td>
   <td><a href="home.php?cat={$c.categoryid}" class="VertMenuItems"><font class="CategoriesList">{$c.category}</font></a></td>


Code:
<iframe src="{$iframe_content}" width="100%" height="600" scrolling="auto"></iframe>


The first part creates a listing inside a box based on stuff in the database.

The second part displays a database stored url within the existing site page.

What I want is to hardcode the second with an actual address, hard code the first with Text to display that activates the second when clicked.

So you want the second bit of code disabled or hidden until you click on the first bit of code?  Are you trying to create an in page popup???

circleofatlantis wrote:
The makers want to charge me $231 for the code to do it. But it should be simple enough for anyone who knows how to code this stuff.

It sounds like the price it high because they don't really want to do it, so the price limits the number of requests that they receive...

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: 04/30/2010 5:34 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:48 AM
Location: Normally off the planet.
australC_1xa.gif
I'm not trying for an in page popup.

The example in the zip is how the category's are displayed.

I want to do the same thing, but hardcoded.

So inside the box, is a list of hardcoded names, with a embedded link.

When clicked, it displays the webpage of the link in the center section of the cart just like the category displays products.

The cart is here >>>  http://CircleofAtlantis.com/marketplace/home.php . Have a look at how it works.

If you go to the provider list down the left side, mouseover something, then click the show website link, that will show you what I want to happen. I just dont need the mouseover display, just a click name and it does it. (The links I want to do, dont have products associated with them, so the mouseover selection is not needed.)

Let me know if you need more of the code, I included the 4 files that seem relevant.
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: 04/30/2010 5:37 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:48 AM
Location: Normally off the planet.
australC_1xa.gif
Upload didnt work. Sad

http://CircleofAtlantis.com/pics/xcart-files.zip

btw, yes I have email notifications turned on. Got 1 this morning though, so something changed.
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 12:18 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:48 PM
Location: St Pete, FL
peace.gif
I really don't recognize the language that they are using in these files.  Are you planning to hardcode only one category and one subcategory but keep others that are not hardcoded???

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 12:49 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:48 AM
Location: Normally off the planet.
australC_1xa.gif
No, I want to duplicate how the category works and just hardcode that.

So the category box remains the same, but by copying the code, make a new box with hardcoded elements. There will be about 20 of them for starters. All I need is one hardcoded example and I can duplicate the rest.
Back to Top
View user's profile Find all posts by circleofatlantis Send private message [ Hidden ]
 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: 1, 2  Next
Page 1 of 2


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.0878s (PHP: 64% - SQL: 36%) - SQL queries: 57 - GZIP disabled - Debug on