1.8.1deprecatedStatic Section
Static Sections simplify the process of editing field collections that should only exist once (or a limited number) in Symphony.
Clone URLhttps://github.com/Solutions-Nitriques/static_section.git
Add as a submodulegit submodule add https://github.com/Solutions-Nitriques/static_section.git extensions/static_section --recursive
Compatibility
2.x.x | 2.1.x | 2.2.x | 2.3.x | 2.4.x | 2.5.x | 2.6.x | 2.7.0 | 2.7.1 | 2.7.2 | 2.7.3 | 2.7.4 | 2.7.5 | 2.7.6 | 2.7.7 | 2.7.8 | 2.7.9 | 2.7.10 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
No | 1.5 | No | 1.8.1 | No | No | No | No | No | No | No | No | No | No | No | No | No | No. Soon? |
Readme
Static Section
This extension is deprecated, and has been superseeded by limitsectionentries
Version 1.8.1
Static Sections simplify the process of editing field collections that should only exist once (or a limited number) in Symphony.
Installation
Upload the 'static_section' folder found in this archive to your Symphony 'extensions' folder.
Enable it by selecting the "Static Section" extension, choose Enable from the 'With Selected' dropdown menu, then click Apply.
Bluprints > Sections and edit some section that you'll "Make this section static (i.e a single entry section)".
(Optional) You can specify a different limit for you static section (i.e. limit the input to 4 entries)
Important Notes
When adding to a previously created section, please ensure that the section contains only one entry.
If added to a section that contains multiple entries, only the first entry in that section will be
available to edit until the "Static Section" flag is removed from the sectionThis extension does not modify the section data source output.
As such if there are additional entries (more than one) in the section, these additional entries
will still be output by Symphony when selecting the section as a data source.
Version history
Requires Symphony 2.3
- made redirectRules method public
- Added the getLimit method
Requires Symphony 2.3
- Update for Symphony 2.3
Symphony 2.0.6 to 2.1
- updates from Vlad and other bug fixes
- added a 'limit' setting
- refactored the install code, use the new Symphony::Database() pointer for queries
- when static section,
<h2>
element frompublish/edit
andpublish/new
page contains section name - refactored the code
- rewrite for Symphony 2.2.1 new delegates