|
|
#1 |
|
Member
Join Date: Dec 2008
Posts: 56
Rep Power: 4 ![]() |
In the showlistings.tpl i'm wondering if this:
Code:
{if $sDisState == "Y"}
<td{if $entry.class<>""} class="{$entry.class}"{/if}>{$entry.state}</td>
{/if}
I know the data is already stored, just don't know the "name". Thanks.
__________________
v4.0.9 Designer |
|
|
|
|
|
#2 |
|
Coder
Join Date: Mar 2006
Posts: 4,442
Rep Power: 108 ![]() ![]() |
Not sure I understand wht you are asking.
Are you saying you want to display the whole state name and not the abbreviation? Since you have the designer edition you cant do anything at the code level so whats probably easiest would be for you to log into your sites admin, goto settings and "edit states", then edit each state and in the abbreviation field just put in the states full name. |
|
|
|
|
|
#3 |
|
68 Evangelist & Developer
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,558
Rep Power: 45 ![]() ![]() |
Yes, the database table has both the full name and the abbreviation. The abbreviation field is called "abbrev" which is in the {$PREFIX}_state table.
The bigger question would be is the abbrev field available to the template? It seems that the listings are from the users table which does not store the abbreviation only the full name. So to be able to do what you want you would have to modify several things in order have that available and display in that template. None of which can be done with the Designer version as Larry states. -Mike
__________________
Mike-N-Tosh IndianaPC.org - A community website (v3.1.10 Developer - heavily modified) Sandbox (v3.1.10, v4.0.9, 4.1.3) Visit My blog for tips, tricks, tutorials, reviews for 68 Classifieds as well as 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 Last edited by Mike-N-Tosh; 01-08-2009 at 11:30 AM. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Filter on state | wesse249 | v4 Questions & Support | 5 | 04-07-2008 10:19 AM |
| State: NONE | CB | v3.1 Questions & Support | 1 | 04-19-2007 12:34 PM |
| State (Non AU) | Chaslie | v3.1 Questions & Support | 2 | 05-26-2006 08:49 AM |
| Ads Listed By State | garysmith | v3.0 Questions & Support | 10 | 04-25-2006 05:50 PM |
| State field | quickbiz | v3.0 Questions & Support | 6 | 04-25-2006 12:03 PM |