Forums / Templates, Stylesheets, Page Layout / Moving category description below cat images

Moving category description below cat images

Locked

Views: 1,371

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
28 Sep 2006, 7:52 PM
#1
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Moving category description below cat images

I'm upgrading a 1.2.6 cart to 1.3.5 and I need to place the Category description underneath the sub-categories images. (The effect I need is as here and - to avoid confusion - on that page the images at the bottom are within the category description.)

I've seen this thread, and indeed, had spent a large part of the day trying exactly what I've just found DrByte suggesting as the solution.

Now I don't know if I've missed something blatantly obvious, but wherever I move the code for the category description in tpl_index_categories.php ...

<?php

// categories_description

    if ($current_categories_description != '') {

?>

<div id="categoryDescription" class="catDescContent"><?php echo $current_categories_description;  ?></div>

<?php } // categories_description 
?>

I get the following error message

Parse error: syntax error, unexpected T_INCLUDE in ...includes/templates/ultrabubble_01/templates/tpl_index_categories.php on line 1

I'm not sure if what I want can be achieved by using CSS for positioning, but I'm sure it makes more sense to just move the block of code..but I just can't get it to work.

I'd appreciate any advice.

Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !

29 Sep 2006, 9:03 AM
#2
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: Moving category description below cat images

Well, I had someone else take a look, and I swear he did exactly what I did...and now it's working! :huh:

Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !