 | Can anyone help me with some tpl code ? |  |
Posted: 04/24/2010 6:14 PM |
|
|
|
|
|
| Dove |
| Posts |
79 |
| Word Cnt. |
6,418 |
| BDay |
N/A |
| Sign |
N/A |
| Sex |
 |
|
|
|
Joined: Jun 11, 2007
Local time: 7:48 AM
Location: Normally off the planet.
|

|
|
|
|
 |
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 |
|
|
 | Re: Can anyone help me with some tpl code ? |  |
Posted: 04/24/2010 7:33 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 5:48 PM
Location: St Pete, FL
|

|
|
|
|
 |
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...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Can anyone help me with some tpl code ? |  |
Posted: 04/25/2010 8:22 AM |
|
|
|
|
|
| Citation |
| Posts |
4814 |
| Word Cnt. |
427,902 |
| BDay |
Oct 23 |
| Sign |
Scorpio |
| Sex |
 |
|
|
|
Joined: Feb 09, 2005
Local time: 5:48 AM
Location: Sterling IL
|

|
|
|
|
 |
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 |
|
|
 | Re: Can anyone help me with some tpl code ? |  |
Posted: 04/30/2010 1:59 AM |
|
|
|
|
|
| Dove |
| Posts |
79 |
| Word Cnt. |
6,418 |
| BDay |
N/A |
| Sign |
N/A |
| Sex |
 |
|
|
|
Joined: Jun 11, 2007
Local time: 7:48 AM
Location: Normally off the planet.
|

|
|
|
|
 |
| 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...
|
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 |
|
|
 | Re: Can anyone help me with some tpl code ? |  |
Posted: 04/30/2010 8:24 AM |
|
|
|
|
|
| Site Admin |
| Posts |
49593 |
| Word Cnt. |
2,756,445 |
| BDay |
Apr 22 |
| Sign |
Taurus |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 3:48 PM
Location: Texas
|

|
|
|
|
 |
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 |
|
|
 | Re: Can anyone help me with some tpl code ? |  |
Posted: 04/30/2010 3:46 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 5:48 PM
Location: St Pete, FL
|

|
|
|
|
 |
| 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...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Can anyone help me with some tpl code ? |  |
Posted: 04/30/2010 5:34 PM |
|
|
|
|
|
| Dove |
| Posts |
79 |
| Word Cnt. |
6,418 |
| BDay |
N/A |
| Sign |
N/A |
| Sex |
 |
|
|
|
Joined: Jun 11, 2007
Local time: 7:48 AM
Location: Normally off the planet.
|

|
|
|
|
 |
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 |
|
|
 | Re: Can anyone help me with some tpl code ? |  |
Posted: 04/30/2010 5:37 PM |
|
|
|
|
|
| Dove |
| Posts |
79 |
| Word Cnt. |
6,418 |
| BDay |
N/A |
| Sign |
N/A |
| Sex |
 |
|
|
|
Joined: Jun 11, 2007
Local time: 7:48 AM
Location: Normally off the planet.
|

|
|
|
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Can anyone help me with some tpl code ? |  |
Posted: 05/01/2010 12:18 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 5:48 PM
Location: St Pete, FL
|

|
|
|
|
 |
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???
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Can anyone help me with some tpl code ? |  |
Posted: 05/01/2010 12:49 AM |
|
|
|
|
|
| Dove |
| Posts |
79 |
| Word Cnt. |
6,418 |
| BDay |
N/A |
| Sign |
N/A |
| Sex |
 |
|
|
|
Joined: Jun 11, 2007
Local time: 7:48 AM
Location: Normally off the planet.
|

|
|
|
|
 |
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 |
|
|
 | 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
|
|
|
|
|