Advanced search  

News:

cpg1.5.46 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter recently discovered vulnerabilities. It is important that all users who run version cpg1.5.44 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Album List - Change Page Layout (Album list link)  (Read 6360 times)

0 Members and 1 Guest are viewing this topic.

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1498
  • aka 'i-imagine'
    • Home Page
Album List - Change Page Layout (Album list link)
« 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
« Last Edit: June 26, 2010, 10:40:30 pm by Joe Carver »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Category List Page Layout Change (Album list link)
« Reply #1 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:
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 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.
« Last Edit: March 27, 2010, 02:47:45 pm by Joachim Müller »
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1498
  • aka 'i-imagine'
    • Home Page
Re: Category List Page Layout Change (Album list link)
« Reply #2 on: March 27, 2010, 03:12:56 pm »

OK, I will make some edits later today!

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1498
  • aka 'i-imagine'
    • Home Page
Re: Category List Page Layout Change (Album list link)
« Reply #3 on: March 29, 2010, 03:27:34 pm »

Release of Version 1.1

    Changelog
    • change minimum version requirement to cpg1.5.4 (configuration.php)
    • additional option to change layout of non-zero Category pages
    • rename .zip package

    New version is attached. Files in package have only minimal info. in headers.
    Pages: [1]   Go Up
     

    Page created in 0.015 seconds with 22 queries.