Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-10-29 16:49:47

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

php? show all category images regardless of section

I am trying to have a category list using upm_category_image. I have created that fine, its getting the images to link to the categories across section boundaries that I am having trouble.

Anybody have any suggestions:

Here is what I have in the about section page
(I could put it on the front page, but prefer not to)

<code>
<div id=“category-div”>
<txp:upm_category_image_list break=“li” wraptag=“ul” link_section=“yes” class=“category” show=“all” />
</div><!—end category—>

<div class=“thumb”>
<ul>
<txp:article form=“php_cat_thumbs_global” />
</ul>
</div><!— end thumb —>
</code>

form for “php_thumbs_global” =

<code><txp:php>
global $thisarticle;

echo article_custom(array( ‘category’ => $thisarticle[‘category1’], ‘form’ => ‘worklist’
));</txp:php>
</code>


Offline

Board footer

Powered by FluxBB