Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2017-09-08 13:11:59

sacripant
Plugin Author
From: Rhône — France
Registered: 2008-06-01
Posts: 478
Website

Re: tom_image_grid : Grid UI for images tab

Right. Steph has open a issue on github.
Update soon.

Offline

#32 2017-09-08 13:19:03

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 743
Website

Re: tom_image_grid : Grid UI for images tab

Yes, I know … but the ‘problem’ has become much ‘bigger’.

Last edited by RedFox (2017-09-08 13:21:14)

Offline

#33 2017-09-11 16:58:04

sacripant
Plugin Author
From: Rhône — France
Registered: 2008-06-01
Posts: 478
Website

Re: tom_image_grid : Grid UI for images tab

I’m currently working on an update of this plugin.
A better cohabitation with smd_thumbnail 0.4beta.

if I understand the previous messages :
smd_thumbnail and tom_image_grid use the same pluggable-ui point.
I played with load order prefs.

  • If the 2 plugins have the same value. Only tom_ig is loaded. Because Txp load plugins by alphabetic order ?
  • If tom_ig has a highter value than smd_thumb, only tom_ig is loaded.
  • if tom_ig has a lower value than smd_thumb, the two plugins are loaded. Why in this order it’s ok and not in other way/direction ?

Can I have to change something in my plugin to make things more logical?

Last edited by sacripant (2017-09-11 16:59:29)

Offline

#34 2017-09-12 10:34:34

etc
Developer
Registered: 2010-11-11
Posts: 3,273
Website

Re: tom_image_grid : Grid UI for images tab

Not sure, but try to replace

function tom_image_grid_markup()
{
    $out = ...
    echo $out;
}

with

function tom_image_grid_markup($event, $step, $default)
{
    $out = ...
    echo $default.$out;
}

etc_[ query | search | pagination | date | tree | cache ]

Offline

#35 2017-09-18 13:13:02

sacripant
Plugin Author
From: Rhône — France
Registered: 2008-06-01
Posts: 478
Website

Re: tom_image_grid : Grid UI for images tab

Yeh! Bingo.
I upgrade and publish. Thx Oleg.

Offline

#36 2017-09-18 14:13:00

sacripant
Plugin Author
From: Rhône — France
Registered: 2008-06-01
Posts: 478
Website

Re: tom_image_grid : Grid UI for images tab

0.4.2 is out

  • Compatibility with smd_thumbnail. Thanks to Bloke and etc.
  • Some CSS and SVG optimisations

Download and Sources

Website

Offline

#37 2017-09-18 18:11:45

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 743
Website

Re: tom_image_grid : Grid UI for images tab

Yes … thanks all … :)

Offline

Board footer

Powered by FluxBB