I'm preparing a new plugin that will load thumbnails on the index page using ajax as the user scrolls down the page. However it will not work, unless I make the following changes to the core theme
- move category description before thumbnails (it is after now)
- move the enclosing <ul></ul> from thumbnails.tpl to index.tpl
Are you ok with these 2 changes ?
Offline
This would be a great plugin. A "river". No more pagination on the album page and that's really cool!
- move category description before thumbnails (it is after now)
This change can't be done with a smarty prefilter?
Personally, I don't think it's a problem at all to have the album description on top, before thumbnails. I even really like the way gally themes are displaying the description : on the left. But maybe some users want nothing before their thumbnails, I don't know.
Offline
Prefilter could work but any child theme that redefines index.tpl and changes something that I could not match will fail...
I'll make the changes and then we'll see ...
Offline
rvelices wrote:
I'll make the changes and then we'll see ...
OK.
I have no idea of the impact of moving the <ul></ul> to index.tpl
Offline
plg wrote:
I have no idea of the impact of moving the <ul></ul> to index.tpl
Nothing except all child themes must do it ... But if they do it, the plugin will work with any theme ...
Offline
plg wrote:
I even really like the way gally themes are displaying the description : on the left.
On gally theme, desc can be :
- on the left
- on the top
- on the bottom
(all combination are possibles)
And think about [extension by Piwigo Team] Extended Description : it's possible to move desc on the top and/or on the bottom.
I'm not sure to understand why it's necessary to change the core, but if you think that making theses changes can be a good thing for piwigo, why not...
Offline
rvelices wrote:
check it out http://www.modusoptimus.com/pwg/index/tags/nightscape
The feature is great (goodbye pagination), but :
1) the loading icon is ugly :-/ => http://www.modusoptimus.com/pwg/plugins … loader.gif
what about this one or I've found them on http://ajaxload.info/
2) it doesn't work on iPhone (but it works on MacOs Safari on my MacBook and also on Android even if I don't see the loading icon)
Offline
plg wrote:
2) it doesn't work on iPhone (but it works on MacOs Safari on my MacBook and also on Android even if I don't see the loading icon)
Do you now if I cant test the IPhone online with some emulator?
Offline
plg wrote:
The feature is great (goodbye pagination)
In fact after N reloads, we fall back to the pagination mode - otherwise it is impossible to go to the end of 10000 pictures and your browser will have memory/performance issues.
plg wrote:
1) the loading icon is ugly :-/ => http://www.modusoptimus.com/pwg/plugins … loader.gif
what about this one http://le-gall.net/pierrick/images/ajax-loader-01.gif or http://le-gall.net/pierrick/images/ajax-loader-02.gif I've found them on http://ajaxload.info/
Great site ... I'll play with it
Offline
rvelices wrote:
plg wrote:
2) it doesn't work on iPhone (but it works on MacOs Safari on my MacBook and also on Android even if I don't see the loading icon)
Do you now if I cant test the IPhone online with some emulator?
No, I don't know. I notify P@t, he may have an idea.
Offline
rvelices wrote:
plg wrote:
2) it doesn't work on iPhone (but it works on MacOs Safari on my MacBook and also on Android even if I don't see the loading icon)
Do you now if I cant test the IPhone online with some emulator?
You can test on MAC OS with xCode and iPhone SDK.
Offline