Support Forums

Short Descriptions Don't Appear

This is a discussion on Short Descriptions Don't Appear within the TemplateCodes forums, part of the Third Party Support category; When an ad displays, we only see: Title Price Long Description Thumbs It was turned on by default in the ...


Go Back   68 Classifieds Forums > Third Party Support > TemplateCodes

This topic is closed.

This topic is closed to new replies.

 
Thread Tools Display Modes
Old 04-21-2011, 04:16 AM   #1
Junior Member
 
Join Date: Apr 2011
Posts: 27
Rep Power: 3
TStuff is on a distinguished road
Default Short Descriptions Don't Appear

When an ad displays, we only see:

Title
Price
Long Description
Thumbs

It was turned on by default in the settings, but is turned off now until we know what might cause it not to appear

Any advice please?
TStuff is offline  
Old 04-21-2011, 08:58 AM   #2
curmudgeon
 
Join Date: Mar 2006
Posts: 5,416
Rep Power: 139
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Did you try searching the forum, this has been covered a lot...

Short Description not showing

There is also some info about the field in the documentation...

Search Settings - 68 Classifieds[]=short&s[]=description
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline  
Old 04-21-2011, 09:43 AM   #3
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,431
Rep Power: 87
seymourjames is a jewel in the rough
Default

There is no TC template for showlistings2.tpl or viewlistings2.tpl. You will need to use the default template which displays the short description. Alternatively, code, a new template for showlistings2.tpl in the TC style or simply code it into your existing Sigma template for showlistings.tpl. Its the addition of one small piece of code {$entry.shortDescription} wherever you wish it to display.

Don't forget to empty your templates_c folder and clear cookies/cache in the borwser.

Again - wrong forum - thread being moved to TC.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules

Last edited by seymourjames; 04-21-2011 at 09:57 AM.
seymourjames is offline  
Old 04-21-2011, 10:04 AM   #4
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,431
Rep Power: 87
seymourjames is a jewel in the rough
Default

As an update - {$entry.shortDescription} will be added to the TC templates by default. Seems like a reasonable thing to add in although it is only one small pice of code to add if wanted.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
seymourjames is offline  
Old 04-21-2011, 10:48 AM   #5
Junior Member
 
Join Date: Apr 2011
Posts: 27
Rep Power: 3
TStuff is on a distinguished road
Default

Quote:
Originally Posted by seymourjames
There is no TC template for showlistings2.tpl or viewlistings2.tpl. You will need to use the default template which displays the short description. Alternatively, code, a new template for showlistings2.tpl in the TC style or simply code it into your existing Sigma template for showlistings.tpl. Its the addition of one small piece of code {$entry.shortDescription} wherever you wish it to display.

Don't forget to empty your templates_c folder and clear cookies/cache in the borwser.

Again - wrong forum - thread being moved to TC.

I thought this would be in the package I bought

can you tell me what pages to edit, and where this addition goes ?

How do I code a new template ?
TStuff is offline  
Old 04-21-2011, 10:50 AM   #6
Junior Member
 
Join Date: Apr 2011
Posts: 27
Rep Power: 3
TStuff is on a distinguished road
Default

Quote:
Originally Posted by Lhotch
Did you try searching the forum, this has been covered a lot...

Short Description not showing

There is also some info about the field in the documentation...

Search Settings - 68 Classifieds[]=short&s[]=description

yes I checked that out but it's not appearing whether turned on - or turned off

It's turned off at the moment because it's unprofessional to ask for a short description and then lose it

TStuff is offline  
Old 04-21-2011, 11:17 AM   #7
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,375
Rep Power: 72
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

You just need to simply copy the showlistings2.tpl from the default template folder into the template folder that you are using REPLACING the one that is there.

Then style the template however you want to as you would would with any other template file.
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and 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  
Old 04-21-2011, 11:35 AM   #8
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,431
Rep Power: 87
seymourjames is a jewel in the rough
Default

What rubbish - I thought this would be the package I bought. It does not show short descriptions on the TC demo and neither does it show it on the 68C demo - this means it is your NEW requirement.


Why do you not read the online documentation that 68C and TC spent hours putting together so that you can understand the system and how it works?


Code it into your existing Sigma template for showlistings.tpl. Its the addition of one small piece of code {$entry.shortDescription} wherever you wish it to display. For example, open showlistings.tpl in your template folder and place that piece of code. I think that is pretty clear on what to do and actually helpful e.g.


<td{if $entry.class<>""} class="{$entry.class}"{/if}><a href="{$entry.link}" title="{$entry.title}">{$entry.title}</a><br /><em>{$entry.shortDescription}</em></td>

OR you could do nothing and just use the default template for showlistings2. It happens automatically In other words, read the online documentation. Search settings (select template - short description display), checkout settings (short description required Y).

I think you really should invest time in reading the online documentation about 68C and how the admin control panel works.


The TC demo system and TC downloads have never showed short descriptions by default. You need to select that in your admin control panel (this is standard 68C - select template in search settings, set short description in checkoutsettings). It behaved as 68C behaves.

So in conclusion you have choices - use the default template or make a minor modification to the Sigma showlistings.tpl file. Read about templates - if a template file in the template folder is not found (does not exist) it automatically goes to the default template to find it.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules

Last edited by seymourjames; 04-21-2011 at 11:37 AM.
seymourjames is offline  
Old 04-21-2011, 02:16 PM   #9
Junior Member
 
Join Date: Apr 2011
Posts: 27
Rep Power: 3
TStuff is on a distinguished road
Default

How demeaning is 'what rubbish' ?



I came here because I seek help to get a product working.

It's not a new requirement. It's in the User's Create A New Ad panel.

Where it says, on purchase, enter Visa details, it DOES NOT SAY are you a html, php, mysql, asp programmer ?

I bought a product, I don't expect to have to decode and reconstruct it. I am happy to post a request on behalf of my web designer, but I don't need your disdain.

If a simple request for help can't be found here, what forum should I go to?
TStuff is offline  
Old 04-21-2011, 02:22 PM   #10
curmudgeon
 
Join Date: Mar 2006
Posts: 5,416
Rep Power: 139
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Quote:
Originally Posted by TStuff
How demeaning is 'what rubbish' ?



I came here because I seek help to get a product working.

It's not a new requirement. It's in the User's Create A New Ad panel.

Where it says, on purchase, enter Visa details, it DOES NOT SAY are you a html, php, mysql, asp programmer ?

I bought a product, I don't expect to have to decode and reconstruct it. I am happy to post a request on behalf of my web designer, but I don't need your disdain.

If a simple request for help can't be found here, what forum should I go to?
Why dont you deactivate the template codes product and try and get the desired behavior with the default 68C template and see what happens.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Truncating RSS feed descriptions Madstoffa Technical Support 1 08-22-2010 09:13 PM
Get rid of short descriptions cwp Modules / Plugins / Modifications 0 05-14-2008 04:40 AM


All times are GMT -4. The time now is 08:40 AM.


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