CMS MADE SIMPLE FORGE

Gallery

 

[#9670] Variable naming conflicts with News module

avatar
Created By: Robin (Cerulean)
Date Submitted: Thu Nov 14 17:22:36 -0500 2013

Assigned To: Jos (josvd)
Version: 1.6.1
CMSMS Version: 1.11.9
Severity: None
Resolution: Won't Fix
State: Open
Summary:
Variable naming conflicts with News module
Detailed Description:
Gallery and News both use variables named "nextpage" and "prevpage". When
Gallery is used together with News (embedding a gallery in a News article, for
instance), the $nextpage and $prevpage variables for News are overwritten by
Gallery causing the News pagination to break.

Please change the variable naming in Gallery to
$gallery_nextpage/$gallery_prevpage or something unique.


History

Comments
avatar
Date: 2016-03-15 17:42
Posted By: Jos (josvd)

It's easy to change, but the change will break a lot of Gallery templates for a
lot of users. So I guess this is a "Won't fix soon" issue
      
Updates

Updated: 2016-03-15 17:42
resolution_id: => 8
assigned_to_id: 100 => 11752