PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > General Forums > General Discussion

General Discussion General use discussion forum for PhotoPost products.

Reply
 
Thread Tools Rate Thread Display Modes
Old February 8th, 2005, 08:19 AM   #1
criscokid
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
Has anyone sucessfully created a 'services' type of template?

Has anyone sucessfully created a 'services' type of template? ie: templates based on the for sale ads with 3 photos but with the 'for sale' stuff like condition, sale price, etc removed?

I've managed to so far to copy all of the neceaasry files and rename them but when it comes to editing the showcatx.php file I'me having problems removing the 'condition' and 'price' columns.
criscokid is offline   Reply With Quote
Old February 10th, 2005, 09:04 PM   #2
nexia
Member
 
Join Date: May 2004
Posts: 83
you just have to edit the showcatx.tmpl you create for each type of entries you wish, ... never edit the showcat.php for that..

Last edited by nexia; February 10th, 2005 at 09:08 PM.
nexia is offline   Reply With Quote
Old February 11th, 2005, 04:30 AM   #3
criscokid
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
Quote:
Originally Posted by nexia
you just have to edit the showcatx.tmpl you create for each type of entries you wish, ... never edit the showcat.php for that..
I realise that bit. I'm having problems removing the 'condition' and 'price' columns and need some help with that.
criscokid is offline   Reply With Quote
Old February 18th, 2005, 11:03 AM   #4
criscokid
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
Quote:
Originally Posted by criscokid
I'm having problems removing the 'condition' and 'price' columns.
Anyone able to offer any assistance?
criscokid is offline   Reply With Quote
Old February 18th, 2005, 11:25 AM   #5
Chuck S
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 75,255
Simple template edit just remove the code in the templates you wish to remove it from. Beauty of templates you can alter them to your needs.

Just find the html and remove it for those items
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 18th, 2005, 12:02 PM   #6
criscokid
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
Quote:
Originally Posted by omegatron
Just find the html and remove it for those items
It's fine if you know what you're looking for or good at HTML and stuff. I've tried but haven't had any sucess.
criscokid is offline   Reply With Quote
Old February 18th, 2005, 12:43 PM   #7
Chuck S
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 75,255
They are right next to each other in the template. this should be one without condition and price

Quote:
<?php

include( "{$Globals['PP_PATH']}/templates/cathead.tmpl" );
include( "{$Globals['PP_PATH']}/templates/categories.tmpl" );

echo<<<PPPRINT
$ppopen
<tr>
<td class="{$Style['menubar']}" align="center" width="50%" colspan="2">
<span class="{$Style['medium']}"><b>{$Globals['pp_lang']['products']}</b></span>
</td>
<td class="{$Style['menubar']}" align="center" nowrap="nowrap">
<span class="{$Style['medium']}"><b>&nbsp;{$Globals['pp_lang']['views']}&nbsp;</b></span>
</td>
PPPRINT;

if ( $Globals['zipcode'] == "yes" ) {
echo<<<PPPRINT
<td class="{$Style['menubar']}" align="center">
<font class="{$Style['medium']}"><b>{$Globals['pp_lang']['distance']}</b></font>
</td>
PPPRINT;
}

echo<<<PPPRINT
<td class="{$Style['menubar']}" align="center" nowrap="nowrap">
<span class="{$Style['medium']}"><b>{$Globals['pp_lang']['date']}</b></span>
</td>
</tr>
PPPRINT;

for( $x=0; $x < $count; $x++ ) {

echo<<<PPPRINT
<tr>
<td class="{$gallery['rowcolor'][$x]}" width="15" align="center">
PPPRINT;

$mthumb = $gallery['hasimage'][$x];
include( "{$Globals['PP_PATH']}/templates/thumbnail.tmpl" );

echo<<<PPPRINT
</td>
<td class="{$gallery['rowcolor'][$x]}" align="left" width="60%">
<span class="{$Style['medium']}"><!--PhotoPost Classifieds, Copyright All Enthusiast, Inc.-->
{$gallery['tagopen'][$x]}{$gallery['prodlink'][$x]}</span><br />
<span class="small">posted by {$gallery['username'][$x]}<br />{$gallery['desc'][$x]}{$gallery['tagclose'][$x]}</span>
</td>
<td class="{$gallery['rowcolor'][$x]}" align="center">
<span class="{$Style['small']}">{$gallery['tagopen'][$x]}{$gallery['views'][$x]}{$gallery['tagclose'][$x]}</span>
</td>
PPPRINT;

if ( $Globals['zipcode'] == "yes" ) {
echo<<<PPPRINT
<td class="{$gallery['rowcolor'][$x]}" align="center">
<font class="{$Style['small']}">{$gallery['tagopen'][$x]}{$gallery['distance'][$x]}{$gallery['tagclose'][$x]}</font>
</td>
PPPRINT;
}

echo<<<PPPRINT
<td class="{$gallery['rowcolor'][$x]}" align="center" nowrap="nowrap">
<span class="{$Style['small']}">{$gallery['tagopen'][$x]}{$gallery['ppdate'][$x]}{$gallery['timeleft'][$x]}{$gallery['tagclose'][$x]}</span>
</td>
</tr>
PPPRINT;

}

echo<<<PPPRINT
</tr>
<tr>
<td class="{$Style['menubar']}" colspan="7" align="center">
$posternav$noresults<br />
</td>
</tr>
$ppclose
</form><br />
PPPRINT;

?>
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 18th, 2005, 01:08 PM   #8
criscokid
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
One of the problems I had was removing the column and also the header. I assume the above code takes care of that?
criscokid is offline   Reply With Quote
Old February 18th, 2005, 01:16 PM   #9
Chuck S
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 75,255
oh course
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Classifieds Category Template Type kraftworkz Before You Buy 1 October 8th, 2004 01:18 PM


All times are GMT -5. The time now is 01:17 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.