Support Forums


Go Back   68 Classifieds Forums > Help & Support > v4 Questions & Support

Notices

 
LinkBack Thread Tools Display Modes
Old 01-16-2009, 11:59 AM   #1
Member
 
Join Date: Aug 2008
Posts: 68
Rep Power: 5
nagrap2 is on a distinguished road
Default Display First Name and Last Name in Viewlistings

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
nagrap2 is offline   Reply With Quote
Old 01-16-2009, 12:02 PM   #2
Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,390
Rep Power: 41
Mike-N-Tosh is just really niceMike-N-Tosh is just really nice
Default

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
Mike-N-Tosh is offline   Reply With Quote
Old 01-16-2009, 12:19 PM   #3
Member
 
Join Date: Aug 2008
Posts: 68
Rep Power: 5
nagrap2 is on a distinguished road
Default

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
nagrap2 is offline   Reply With Quote
Old 01-16-2009, 01:11 PM   #4
Moderator
 
 
Join Date: Mar 2006
Posts: 4,225
Rep Power: 103
Lhotch is just really niceLhotch is just really nice
Default

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
Lhotch is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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


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


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