Support Forums

Username(Seller) in Category View

This is a discussion on Username(Seller) in Category View within the Modules / Plugins / Modifications forums, part of the Developer Forums category; Hi, First, i'm sorry for my English. I modify my script and have a big problem In the deepest Category, ...


Go Back   68 Classifieds Forums > Developer Forums > Modules / Plugins / Modifications

Reply
 
Thread Tools Display Modes
Old 05-12-2008, 04:28 PM   #1
Junior Member
 
Join Date: May 2008
Posts: 4
Rep Power: 0
syco is on a distinguished road
Default Username(Seller) in Category View

Hi,

First, i'm sorry for my English.

I modify my script and have a big problem

In the deepest Category, there i'm see all the product with pictures, shortDescription, Pices ,

->http://demo.68classifieds.com/catego...s-and-pets_1_1

i cant's show the seller name with a link to his site "viewmember.php"

The Problem: it give a $username variable in a other file but i can't use it in "showlistings2.tpl"

In "showlistings2.tpl" i will make follow:
<a href="{$userId}">{$username}</a>

but i dont understand how i can do it.

Can anyone help me?
syco is offline   Reply With Quote
Old 05-12-2008, 04:35 PM   #2
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,316
Rep Power: 125
Eric Barnes is a jewel in the rough
Default

Hi,

It appears the username is not pulled out for this page but you can use {$owner} which would be their unique id.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 05-12-2008, 04:54 PM   #3
Junior Member
 
Join Date: May 2008
Posts: 4
Rep Power: 0
syco is on a distinguished road
Default owner

Thank you for the fast reply!

How i can pull {$owner} out in the template?

shall i modify the categroy.php ?
syco is offline   Reply With Quote
Old 05-12-2008, 08:11 PM   #4
68 Evangelist & Developer
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,748
Rep Power: 51
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

Try this:
<a href="http://demo.68classifieds.com/viewmember.php?member={$entry.owner}">seller info</a>

-Mike
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified)
Sandbox (v3.1.10, v4.0.9, 4.1.5)
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
Mike-N-Tosh is offline   Reply With Quote
Old 05-13-2008, 01:34 AM   #5
Junior Member
 
Join Date: May 2008
Posts: 4
Rep Power: 0
syco is on a distinguished road
Smile it works

Thank you very much! It works perfect!

Thank you!
syco is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Everything in one category? bholdman Pre Sales Questions 1 05-08-2008 04:28 PM
Limit Listings to Category View [email protected] v3.1 Questions & Support 1 01-18-2008 11:28 AM
Hide a category on public pages? HotAir v3.1 Questions & Support 6 12-05-2007 11:17 AM
Branding each Category BABBSELA v3.1 Modules & Modifications 0 02-10-2007 02:17 PM


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


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