Support Forums

Code starting the orders_browse.tpl table

This is a discussion on Code starting the orders_browse.tpl table within the Technical Support forums, part of the Technical Support Forums category; Hello there, In orders_browse.tpl I don't understand the code between the first <tr> and </tr> starting with <th scope="col">< a ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

Reply
 
Thread Tools Display Modes
Old 06-03-2010, 06:24 PM   #1
Customer
 
Join Date: Apr 2009
Location: South of Spain
Posts: 157
Rep Power: 8
magicosta is on a distinguished road
Default Code starting the orders_browse.tpl table

Hello there,

In orders_browse.tpl I don't understand the code between the first <tr> and </tr> starting with
<th scope="col"><a href="userorders.php?{$querystring_oID}">{$smarty.cons t.LANG_ORDER_ID} {if $sqlsort=="oID"}<img src="images/sort{$oppositesort}.gif" border="0" alt="Sort" />{/if}</a></th> and so on.

I see in the differents <th></th> cells a link code as above but nothing is showing up in the template and I don't understand either the image code as no image is showing up either in the template.

Thank you in advance to help me to understand this part of code
__________________
Default Template - V 4.1.9 - Developper
magicosta is offline   Reply With Quote
Old 06-03-2010, 06:31 PM   #2
curmudgeon
 
Join Date: Mar 2006
Posts: 5,171
Rep Power: 127
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Thats not "code" in my book, its just plain html with smarty variables in it. That being saideverything within curly braces is a smarty variable, it represents some bit of data stored elsewhere and that bit of data is displayed in its place.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 06-03-2010, 07:07 PM   #3
Customer
 
Join Date: Apr 2009
Location: South of Spain
Posts: 157
Rep Power: 8
magicosta is on a distinguished road
Default

Thank you for your reply Larry.

Yes, I have supposed so as well but I would like to understand the use of the <a> and <img>.
__________________
Default Template - V 4.1.9 - Developper
magicosta is offline   Reply With Quote
Old 06-03-2010, 08:39 PM   #4
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,448
Rep Power: 129
Eric Barnes is just really nice Eric Barnes is just really nice
Default

The a tag does sorting and the img tag is the arrow either up or down..
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 06-03-2010, 09:29 PM   #5
68 Evangelist & Developer
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,903
Rep Power: 56
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

Quote:
Originally Posted by Lhotch
Thats not "code" in my book, its just plain html with smarty variables in it. That being saideverything within curly braces is a smarty variable, it represents some bit of data stored elsewhere and that bit of data is displayed in its place.
code |kōd|
noun
Computing program instructions.

HTML
Hypertext Markup Langauge

PHP
general-purpose scripting language

Hmmm... how is HTML processed? I thought it was only by a computer, just like php, asp, javascript, etc..
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 06-04-2010, 06:18 AM   #6
Customer
 
Join Date: Apr 2009
Location: South of Spain
Posts: 157
Rep Power: 8
magicosta is on a distinguished road
Default

Ok, thank you all
__________________
Default Template - V 4.1.9 - Developper
magicosta is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
orders_browse.tpl info order link damiun Templates, HTML, CSS, and Design Help 1 03-02-2010 06:45 AM
Edit a column in orders_browse.tpl? michael Technical Support 2 05-29-2009 01:27 PM
Control width of table columns in category table domino Templates, HTML, CSS, and Design Help 2 09-07-2008 08:37 AM


All times are GMT -4. The time now is 05:05 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0