jDownloadsownloads.com

Advertisement
Advertisement:

Author Topic: Show Category Description  (Read 133 times)

0 Members and 1 Guest are viewing this topic.

Offline seadas

  • Newbie
  • *
  • Posts: 11
Show Category Description
« on: 30.10.2017 11:00:38 »
Hi everybody.
I'm Using Layout for category "Standard Category Layout v3.2"
with this custom that I 've got here about one years ago
{cat_info_begin}
<div class="jd_cats_2col_wrapper" style="">
    <div class="jd_2col_inner_wrapper" style="">
        <div class="jd_inline" style="">
            <div class= "jd_cats_2col" style="font-weight: bold;">{cat_title1}</div>
            <div class= "jd_cats_2col" style="">{sum_subcats1}&#160;</div>
            <div class= "jd_cats_2col" style="">{sum_files_cat1}&#160;</div>
        </div>
                <div class= "jd_cats_2col jd_cats_2col_left"  style="">{cat_pic1}</div>
        <div class= "jd_cats_2col"  style="width:100%;">{cat_description1}&#160;</div>
    </div>
    <div class="jd_2col_inner_wrapper_right" style="float:right;">
        <div class="jd_inline" style="">
            <div class= "jd_cats_2col"  style="font-weight: bold;">{cat_title2}</div>
            <div class= "jd_cats_2col"  style="">{sum_subcats2}&#160;</div>
            <div class= "jd_cats_2col"  style="">{sum_files_cat2}&#160;</div>
        </div>
        <div class= "jd_cats_2col jd_cats_2col_left"  style="">{cat_pic2}</div>
        <div class= "jd_cats_2col" style="width:100%;">{cat_description2}&#160;</div>
    </div>
 </div>
<div class="jd_clear"></div>
{cat_info_end}


Actually I would show category description. What I've to edit ?
Thanks

Offline ColinM

  • Moderator
  • *
  • Posts: 3.115
Re: Show Category Description
« Reply #1 on: 31.10.2017 03:21:30 »
Hi
The Layout already has the placeholder in it to display the category descriptions. These are the lines
Code: [Select]
<div class= "jd_cats_2col"  style="width:100%;">{cat_description1} </div>and
Code: [Select]
<div class= "jd_cats_2col" style="width:100%;">{cat_description2} </div>So I am a little confused as why they are not showing on your site.

Did you actually enter the description in  the relevant categories?  Perhaps I am misunderstanding your querry.
Colin
EDIT have added a description, including a picture in the text, in backend to Category Top B. Some Cats already had a description so this shows before and after.
« Last Edit: 31.10.2017 08:53:27 by ColinM »

Offline seadas

  • Newbie
  • *
  • Posts: 11
Re: Show Category Description
« Reply #2 on: 31.10.2017 09:53:10 »
Hi.
First Thing Thanks for answer ColinM.
Problem is that when I open category, I see only files inside but not category description.
When this category is listed with other category I see description.
My question is just this: it's possible see description category even start to see files inside it?
Thanks!! :)

Offline ColinM

  • Moderator
  • *
  • Posts: 3.115
Re: Show Category Description
« Reply #3 on: 01.11.2017 20:32:28 »
Hi
Sorry but the present layout code does not allow for a category description where you would like. You could include this as a suggestion/enhancement.

There is likely to be a new major release early next year so now is a good time for user inputs!

The descriptions work OK in the sub categories of the present Category being shown.  Our reasoning was that as a user has just seen the a description in either a top level cat or the preceding subcat ththen no need to reproduce the description again

Colin

 

Advertisement