Cotonti / Open Source PHP Content Management FrameworkContent Management Framework

Forums / Cotonti / Extensions / PageList

Very useful plugin with many with great potential

Uch
#1 2012-11-14 16:18


Members
Thanked: 3 times

Now i use one PageList instead of Recentitems, News and Calendar plugins all with many hacks made by myself. And i almost happy with PageList :)

It would be greate to get some additional opportunities like:

1) PAGE_ROW_OWNER_ tags

2) PAGE_ROW_COM_ tags.

Not only comments count, but com_date and com_author, for example, to make last comments list.

3) caching

SQL querys for lists making by PageList plugin and containing PAGE_ROW_OWNER_ tags and PAGE_ROW_COM_ tags are slow. So we need ability to turn on and turn off user and comments parts of lpugin.

Is it possible to realize my wishes (khotelky) :) ?

Trustmaster
#2 2012-11-14 16:53


Administrators
Thanked: 194 times

1) already implemented, download the latest version.

2) I doubt it's worth the effort. It is heavy on SQL and rarely really needed.

3) this is a good idea, you can add it to plugin issues directly on Github.

Thanks for feedback!

May the Source be with you!
Uch
#3 2012-11-14 18:00


Members
Thanked: 3 times

Do you plan to make something like PageList for Forums posts? May be PostsList?

Trustmaster
#4 2012-11-14 20:03


Administrators
Thanked: 194 times

Currently not.

May the Source be with you!
Uch
#5 2012-11-16 19:50


Members
Thanked: 3 times

Приделал кэш. Скорость загрузки индекса выросла почти в три раза!

Macik
#6 2012-11-16 21:32


Donator
Thanked: 41 times

Can you share this version with others?

https://github.com/macik
Uch
#7 2012-11-17 07:01


Members
Thanked: 3 times

It does not make sense, because i just want to see how it speeds up index page loading. And i have made a little improvement to use Cotonti chache system excluding possible pagination and cache cleaning (for page add and page edit events). So this is just an experiment.

I pass a unique name of the variable containing the cache to the function, along with other parameters from TPL file.

Now i have to make it sensitive to the pagination system. And i have to think how to clean the cache when new page is added or some page is deleted, given that cache variable has a unique name.

And i have a main reason not to do it. I'm waiting for the official version of the plugin, knowing that the developers will make it better than me.

 

Wadik
#8 2013-06-09 15:38


Members
Thanked: 1 time

А кеширование к этому чудному плагину так и не приделали?