pluck
pluck 4.7 out now, download it today!

pluck support forums

for all your questions about the easiest CMS on the planet

You are not logged in.

Announcement

New registrations are disabled for some spam problems. New registrations will be avaliable soon. If you want to help to keep forum away from spam - contact us.
Please post your bug reports on Launchpad.

#1 20-05-2010 08:56:37

ramones79
Member
Registered: 20-05-2010
Posts: 2

Blog module - post preview/full view and pagination

Hello,

I use the blog module of Pluck for news on a web site.

I read some old posts, that some people were able to make and add pagination to the blog and blog post stripping to a given lenght. But, unfortunately, I didn't find actual code how to do that, and there were several links given, but they are obsolete /404/ sad

What I want to do is :

1. Display news on a page (currently accomplished - see here http://www.emilpetrov.com/news )
2. Some stripping on the news - i.e. to a limited number of lines or characters, something like that
3. 'Read more' link (currently accomplished)
4. When visitor clicks on an item he gets the full story (full specific news view) - currently it looks the same to me - i.e. the news stories are shown full and there is no matter if you click on the read more link as you get the same text)
5. Strip large pictures to be available only in full news view. As you can see even big pictures show now in the list with news, which is very unpleasant. If thumbnails can be used somehow it would be great, if not - I would like only to show pictures, when a visitor reads the full story (blog post)
6. Separate the news into pages, i.e. 10 or 20 news per page

I would greatly appreciate any help. I know some people already did some or all of the features above, I hope they still read this forum smile

Offline

#2 20-05-2010 09:56:59

ramones79
Member
Registered: 20-05-2010
Posts: 2

Re: Blog module - post preview/full view and pagination

Now one of my articles in news says there is a hacking attempt and does not load sad

http://www.emilpetrov.com/news/?module= … k=kop1.php

Offline

#3 16-06-2010 18:48:29

a_bach
developer/module guru
From: Poland
Registered: 24-11-2008
Posts: 439
Website

Re: Blog module - post preview/full view and pagination

Becouse many people ask on this forum about blog module - pagination and more, i have modified module to do so...

http://www.pluck.ekyo.pl/downloads/blogs.tar.gz

http://en.pluck.ekyo.pl/5.Modules.php

Pagination, configuration, short messages...

Code dont look as good as should but its working.

I also added bloglinks module to this pack.

A_Bach

Offline

Board footer

Powered by FluxBB