forum.coppermine-gallery.net

Support => cpg1.5 plugins => cpg1.5.x Support => cpg1.5 plugin contributions => Topic started by: Joe Carver on March 27, 2010, 01:47:07 am

Title: Album List - Change Page Layout (Album list link)
Post by: Joe Carver on March 27, 2010, 01:47:07 am
Use this to make the Album list page look different than the Home page
This plugin will allow changes to the Page layout settings for the main category list pages (Album list link). Make changes to the sequence of items such as topn, lastup, catlist, alblist. Active plugins etc that would normally be seen on the home page can also be removed. Pages that end with cat=0, cat=1, etc. will be changed by this plugin.

Visitorx will see the change when they click on "Album list" from the main page. You can also avoid having duplicate content on that page with the plugin.

      Install through plugin manager - run configuration to set up.
      Help page is in the package.

     DEMO LINK (http://photos-by.joe-carver.com/index.php)
Title: Re: Category List Page Layout Change (Album list link)
Post by: Joachim Müller on March 27, 2010, 02:38:38 pm
Thanks for your contribution, but you seem not to have understood the concept of the minimum requirement array (http://documentation.coppermine-gallery.net/en/dev_plugins.htm#plugin_writing_core_files_configuration_plugin_cpg_version):
Code: [Select]
$plugin_cpg_version = array('min' => '1.5');is wrong in this aspect. It needs to be
Code: [Select]
$plugin_cpg_version = array('min' => '1.5.4');, as the earliest package that this plugin can be used with will be cpg1.5.4 (which hasn't been released yet). I understand that you try to circumvent that by posting your warning about the minimum revision number, but do you really think that end users will know or care what revision they are using? That's not an option for a plugin contribution here on this board.
According to the naming conventions (http://documentation.coppermine-gallery.net/en/dev_plugins.htm#plugin_writing_naming_conventions_archives) the package name for the plugin needs to be cpg1.5.x_plugin_catlist-page-layout_v1.0.zip instead of cpg1.5.x_plugin_catlist_page_layout_v1.0.zip, but I'm not very fond of plugins that have a name that differs from the folder name, as they will be hard to track.
Title: Re: Category List Page Layout Change (Album list link)
Post by: Joe Carver on March 27, 2010, 03:12:56 pm
OK, I will make some edits later today!
Title: Re: Category List Page Layout Change (Album list link)
Post by: Joe Carver on March 29, 2010, 03:27:34 pm
Release of Version 1.1

Changelog

New version is attached. Files in package have only minimal info. in headers.