Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

ZT2 question about handling most recent post

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

I would like to use ZT2 to set up something akin to the way some category blogs work (because J category blog layouts totally suck). Specifically, show the first post one way, and the others a different way.

To do this, I imagine I can deploy two modules, probably with most recent item first. Is it possible to exclude the most recent post in the second module, so as to avoid a duplicate?
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
The administrator has disabled public write access.
Hi

Yep you can do this but it all depends on the sort order

So for the single item you'd need the most recently created displayed

and the second module you'd need the offset enabled so it ignored the most recently created
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
for the second module


2017-07-10_18h37_13.png


with the offset
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
This is what I ended up when I tried offsetting the first article

2017-07-10_18h38_02.png
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The following user(s) said Thank You: blueshift
Gonna give it a go. will report back with a sandbox link.
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
The administrator has disabled public write access.
I am using the one category as the content source to chose from - if using multiple categories you may want to use a parent category in the category structure

But I'd try and stick with one category
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Bes of luck with it

Cheers
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
I'm getting the offset OK - but the 'count' is being ignored. I set it to three with an offset of one, but getting only a single item (as desired, though, the second one.)

sandbox link (with a whole lotta zt2 magic going on) .

Working on the 'Aktualnosci' section
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
Last Edit: 6 years 9 months ago by blueshift.
The administrator has disabled public write access.
headsmack! had set it to single instead of grid. :pinch:
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
The administrator has disabled public write access.
It should work - what layout are you using?
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
ah sorry didn't refresh the screen

Is it all working now?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Perfectly.
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
The administrator has disabled public write access.
Cool :)
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers