Loading...
 
Skip to main content

PluginLayout enhancement request

Status
Open
Subject
PluginLayout enhancement request
Version
19.x
Category
  • Feature request
Feature
Admin Interface (UI)
Resolution status
New
Submitted by
Gary Cunningham-Lee
Lastmod by
Gary Cunningham-Lee
Rating
(0)
Description

PluginLayout assumes there will be one content area in the foreground and one full-width background area behind the content. To create a full-width area for the page background image, PluginLayout changes div class="container" to div class="container-fluid".

But for some page content layouts, the page backgrounds, etc. are full-width, but the text content is limited to the normal container width (1270px or whatever) in (vertically) alternating sections of the page, like on http://demo.zukathemes.com/Happy+ScrollQuestion.

The layout on that page starts out with a full-width page to get the wide backgrounds behind the headings. Then div.container is used in the sections with columns of text. But with the plugin currently, every instance of container gets changed by the plugin to container-fluid.

Setting the "contentwidth" parameter to 80% or whatever doesn't help because this also limits the width of the section background images.

It would be good if only the outermost instances of div class="container" were changed by the plugin (not the nested or child instances), so any instances of div class="container" in the wiki text wouldn't be touched by the plugin - they would remain div class="container". This would enable alternating sections of full-width backgrounds and container-limited content on the page.

(Of course I'm open to other ways of achieving the same result with this plugin, if there's a better/easier way.)

Importance
7
Priority
35
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6968
Created
Wednesday 05 December, 2018 08:50:46 UTC
by Gary Cunningham-Lee
LastModif
Wednesday 05 December, 2018 08:50:46 UTC


Show PHP error messages