Damian Hupfeld
|
| Posted: 01/20/2005, 8:18 PM |
|
I am building a directory for a customer. There are three levels of
directory listings:
full listing (paid)
multiline listing (paid)
basic listing (free)
I have created a search page that lists all businesses that match the search
criteria and lists them in order of
FULL
MULTILINE
FREE
so that those businesses who are paying shoudl get seen more easily.
Additionally the search results just displays the business name.
You click on the business name and are taken to more info.
The Free Listings should only display name and phone number
The Multiline will also contain address, email, web etc
The Full Listings can also contain logos, description and services offered.
All businesses can input all this information but it will only display the
extra info if you pay.
On the details page how should I check the business advertiser_level before
displaying the info, and then only displaying the right info.
Damian
|
|
|
 |
Martin K.
|
| Posted: 01/23/2005, 2:52 AM |
|
Hello.
If you want that
full listing (paid)
multiline listing (paid)
only shown to paid(login) User you have an GroupID from the login User.
In the Detail Page you can hide Values like:
if(CCGetGroupID() <> 2)
$form->field->SetValue("");
OR
if(CCGetGroupID() < 1)
$form->field->Visible = false;
greets martin
|
|
|
 |
Martin K.
|
| Posted: 01/23/2005, 2:53 AM |
|
Hello.
If you want that
full listing (paid)
multiline listing (paid)
only shown to paid(login) User you have an GroupID from the login User.
In the Detail Page you can hide Values like:
if(CCGetGroupID() <> 2)
$form->field->SetValue("");
OR
if(CCGetGroupID() < 1)
$form->field->Visible = false;
greets martin
|
|
|
 |
|