[Plugin: NextGEN Gallery] Automatically attach a gallery to a album
-
Hey!
I want to hack the plugin and change that any new gallery will automatically attach to album.
I know that I need to change the ‘sortorder’ field in ‘ngg_album’ table but I don’t know how beacuse it insert a strange code to there.
when one gallery (id 1) attach to the album the ‘sortorder’ field look like that:
a:1:{i:0;s:1:"1";}
when two gallery (id 1 & id 2) attach to the album the ‘sortorder’ field look like that:
a:2:{i:0;s:1:"1";i:1;s:1:"2";}
when three gallery (id 1 & id 2 &id 3) attach to the album the ‘sortorder’ field look like that:
a:3:{i:0;s:1:"1";i:1;s:1:"2";i:2;s:1:"3";}
Any help here? 🙂Thanks in advanced!
- The topic ‘[Plugin: NextGEN Gallery] Automatically attach a gallery to a album’ is closed to new replies.