|
|
#1 |
|
Member
Join Date: Aug 2008
Posts: 68
Rep Power: 5 ![]() |
Hi,
I want to display the First Name and Last Name within the category.php file. Currently I am displaying the username, but ideally would want to replace this: Home Tutoring, Home Tutors, Personal Tutoring Website, Online Tutors TutorHeaven.com Art & Craft Graphic Design Within my Showlistings.tpl file I have tried replacing the following line: <td{if $entry.class<>""} class="{$entry.class}"{/if}><a href="{$entry.link}">{$entry.username}</a></td> With this line: <td{if $entry.class<>""} class="{$entry.class}"{/if}><a href="{$entry.link}">{$entry.firstname}</a></td> But nothing gets displayed. Can you let me know how to display the First Name and Last Name? Thanks in advance...
__________________
Many Thanks, Nagrap2 Developer Version 4.1 |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,390
Rep Power: 41 ![]() ![]() |
Why not simply mark the sellers name as viewable within the "User Groups" that you would like to allow?
-Mike
__________________
Mike-N-Tosh v3.1.10 Developer IndianaPC.org - A community website Sandbox v4.0.9, 4.1 Templates, Mods & Docs for sale | My blog with much content for 68 Classifieds. Web Hosting | Web Design & Development | 68 Classifieds Customizations I am not a 68C employee, just a user and try to help out |
|
|
|
|
|
#3 |
|
Member
Join Date: Aug 2008
Posts: 68
Rep Power: 5 ![]() |
Mike,
I have enabled the Show Seller Name option, but I still don't see the name appearing. Maybe it displays the username with this option?
__________________
Many Thanks, Nagrap2 Developer Version 4.1 |
|
|
|
|
|
#4 |
|
Moderator
Join Date: Mar 2006
Posts: 4,225
Rep Power: 103 ![]() ![]() |
You need to make sure that the user group is also set up to display a sellers name as well as in settings -> user view settings.
__________________
Larry. (Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free) Set your site apart from the competition with one of my modules...... Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| images counter in viewlistings.php | frommarcq | v3.1 Questions & Support | 2 | 02-25-2008 12:21 PM |
| viewlistings and custom fields | summer | v3.1 Modules & Modifications | 16 | 10-04-2006 03:44 AM |
| Column Sort Script Broken? (Viewlistings) | bgordon | v3.1 Questions & Support | 11 | 09-19-2006 02:44 PM |
| Changing viewlistings.tpl layout | GSP | v3.1 Modules & Modifications | 0 | 05-16-2006 03:12 PM |
| viewlistings problem | 7standing7 | v3.0 Questions & Support | 5 | 04-01-2006 10:23 AM |