by Harm10 » Mon Dec 09, 2013 8:59 pm
This should be fairly simple if you pack the block in its own div like this:
- Code: Select all
<div class="[[ cycleshow ]]">
[[ subweblog name="members" category="members" amount=10 order="random" ]][[ literal ]]
<div class="cycleentry">
<h2 class="sidebar-title">Member: [[ title ]]</h2>
<h2 class="title">Member since [[subtitle]]</h2>
[[ if $entry.extrafields.image!="" ]]
<img src="[[pivotx_url]]includes/timthumb.php?src=[[$entry.extrafields.image]]&w=125&h=125" alt="[[$entry.extrafields.description]]" class="extraimage" />
[[ /if ]]
[[ introduction ]]
</div>
[[ /literal ]][[ /subweblog ]]
</div>
Also notice the fact that you shouldn't code amount=1. This means you will only get one entry and cycleshow does not show anything when only 1 block is encountered. PivotX does not cycle entries in a subweblog. Cycleshow does that by, in this case, showing the first entry and then the second and so on.
Quality is in the detail of things............
Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!