Bugs In Album Plugin »  Show posts from    to     

Icy Phoenix


General Support - Bugs In Album Plugin



mort [ Sat 25 Jun, 2016 09:52 ]
Post subject: Bugs In Album Plugin
Bugs in -> album/adm/*.php

Number 1:

Here -> http://www.icyphoenix.com/viewtopic.php?p=60550#p60550

Number 2:

Template->make_filename(): Error - template file not found: album_nuffimage_box.tpl

Line: 45 - album_nuffimage_box.php

There's a problem with this path and I can't see where the VARS are to modify it

Code: [Hide] [Select]
$template->set_filenames(array('nuffimage_box' => 'album_nuffimage_box.tpl'));


It works with this but it's hardly a fix!

Code: [Hide] [Select]
$template->set_filenames(array('nuffimage_box' => '../../plugins/album/templates/default/album_nuffimage_box.tpl'));


Number 3:

On edit / Submit the path Click Here to return to the Admin Index is wrong and looks for the Admin-Index in the Album directory.

capture_1


Informpro [ Sun 26 Jun, 2016 15:26 ]
Post subject: Re: [Bugs] In Album Plugin
Oh, that's my bad. We have a constant for the templates I think...


mort [ Mon 27 Jun, 2016 02:08 ]
Post subject: Re: [Bugs] In Album Plugin
And a lot of these problems were posted and patched when AndyGpy had these same problems - And it's disappointing that these errors were not fixed then. Although some of the paths have been re-written differently again!

http://www.icyphoenix.com/viewtopic.php?p=60270#p60270

http://www.icyphoenix.com/viewtopic.php?p=60274#p60274

Anyway, I've fixed my copy with the exception of the path to album_nuffimage_box.tpl because it appears that the CONSTANTS for that path are not being parsed in album_nuffimage_box.php and needs to be added.


Mighty Gorgon [ Sat 30 Jul, 2016 22:40 ]
Post subject: Re: [Bugs] In Album Plugin
Thanks for your fixes, I'm going to update GIT and the album plugin in download.

Just for your records, the proper fix for getting tpl file is:
Code: [Hide] [Select]
$class_plugins->get_tpl_file(ALBUM_TPL_PATH, 'album_nuffimage_box.tpl')




Powered by Icy Phoenix