Jump to content

category description disappears in mobile skin


sean1688

Recommended Posts

It should also not have been visible in the prior version.

 

Here is the first few lines of code for CC5216, Kurouto template content.category.php:

<h2>{$category.cat_name}</h2>

{if isset($category.image)}
<div id="category_image"><img src="{$category.image}" alt="{$category.cat_name}" /></div>
{/if}

{$category.cat_desc}

{if isset($SUBCATS) && $SUBCATS}

Here is the same for the Mobile template:

<h2>{$category.cat_name}</h2>
{if isset($SUBCATS) && $SUBCATS}

By definition, the Mobile skin must be very selective on what it shows -- no category image and no category description.

 

But, the data is in the variable {$category.cat_desc}. You just need to add it to the Mobile skin template file where it suits you.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...