Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
Jamroom Developers:
creating a link with tpl files
jamesd116



Joined: 05 Jun 2006
Posts: 1559
Location: Rochester Pa

Posted: 11/04/09 18:05 
Ok I think i have the correct way of doing this maybe I may be wrong but if you can tell me how to set up the link i think this is the better way to do it after careful consideration
I created a tpl that has all of the information needed like i have set up on the front page if you see on the frontpage of http://www.submittv.com/4sldemo the info is displayed so i created a more complete version of that tpl file so I want to click on the title in the classified ad and have it go to that ad display i am thinking something like this
'{$JAMROOM_URL}/index.php?t=ad_display')then i know somewhere after it has to have the $AD_ID and then the >$AD_TITLE </a>
how would i set this up I been through some of the files and not understanding the throry behind setting this up
thanks James

PS I also would like to have this pull up in the pop up window so that it doesnt pull up a whole page and the user doesnt have to leave the page


_________________
One day the court system will learn that a childs mother is not the only option...... Question is will it be too late by that time...
Back to top
Brian
Jamroom Team


Joined: 09 Jul 2003
Posts: 37583
Location: Seattle, WA

Posted: 11/05/09 15:35 
You would do something like:

{$JAMROOM_URL}/index.php?t=ad_display&ad_id=5

and then use $ad_id in your template.

Hope this helps!

- Brian


_________________
Make sure and check out:
* The Jamroom FAQ
* The Jamroom Documentation
Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
Jamroom Developers

 
Solutions
• Social Media Platform
• Social Networking Software
• Musician Website Manager
• Community Builder
Products
• Jamroom Core
• Jamroom Addons
• Jamroom Modules
• Jamroom Marketplace
Support
• Support Forum
• Documentation
• Support Center
• Contact Support
Community
• Community Forum
• Member Sites
• Developers
Company
• About Us
• Contact Us
• Privacy Policy
©2003 - 2010 Talldude Networks, LLC.