263 | Posts |
20.8K | Downloads |
1 | Themes |
8 | Plugins |
Hello,
I can create a new section of type 'Section Wrapper' but once it's done, I cannot see any contextual menu for this section.
The html code is there:
<div class="GPAREA filetype-wrapper_section editable_area" data-gp-section="2" id="ExtraEditArea3" data-gp-attrs="{"class":""}"><div class="gpclear"></div></div>
The Chrome dev tool tells me that the div block is 720px wide and 15px high.
Any idea?
2K | Posts |
306K | Downloads |
16 | Themes |
18 | Plugins |
I cannot see any contextual menu for this section
Interesting. Yeah, section wrappers are a bit different: they don't actually have an editor the way the text content area does.
To modify the contents of a section wrapper, click on the "Manage Sections" link which will bring up the section manager. As you know, within this interface, you can add/remove/move sections around the page. And here's where the section wrappers come in handy. You can move text/image/other sections into section wrappers.
263 | Posts |
20.8K | Downloads |
1 | Themes |
8 | Plugins |
2K | Posts |
306K | Downloads |
16 | Themes |
18 | Plugins |
1.5K | Posts |
62.6K | Downloads |
16 | Plugins |
263 | Posts |
20.8K | Downloads |
1 | Themes |
8 | Plugins |
Hmm, maybe I'm not following you. The "Section Wrapper" type should be under the "Add" tab for all pages.
Sorry, I was not clear.
To express this differently, I'd like to have the possibility to copy a section wrapper non only in the same page but in any other pages.
The objective is to avoid the burden of having to re-create the same section wrappers in many different pages.
1.5K | Posts |
62.6K | Downloads |
16 | Plugins |
I'd like to have the possibility to copy a section wrapper non only in the same page but in any other pages.
I coded a "Template Manager" this summer which can do exactly what you describe. It's not finished yet and I'm uncertain if I will ever finish it.
It still has some bugs and the drag'n' drop positioning of the loaded template is still a mess.
I fear it will not work with gpEasy 4.6b but if you wish, give it a go with 4.5.
263 | Posts |
20.8K | Downloads |
1 | Themes |
8 | Plugins |
1.5K | Posts |
62.6K | Downloads |
16 | Plugins |
Just a few explanations what the above mentioned Template Manager does:
When logged-in, a Template Repository docker will show on the right edge of the browser window.
By default only the current page section structure including Wrapper Sections is displayed in form of an iconized tree.
Every icon has a callout when hovered which shows a "save template" icon (and an "edit" icon it it's an editable section)
When "save template" is clicked, a thumbnail of the section (including sub-sections in case of a wrapper) will be generated and this thumbnail will be attached to the Template Repository. The template, which contains the sections and their content, will be saved in JSON format into the newly created /data/_uploaded/templates directory. I chose to store them there so they can be managed via gpEasy's file manager "finder". (If templates will be uploaded via finder, Template Manager will automatically import them into the Template Repository docker, templated deleted via finder will automatically be removed)
In the Template Repository docker, stored templates can be sorted via drag'n'drop, deleted and re-labeled.
From the repository templates can also be loaded by clicking the "Load" button. Doing so will *append* the template to the current page and may be moved on the page to a different position using drag'n'drop. For this purpose, temporary "drop zones" are displayed that act as drop-targets. Once the loaded template is moved to it's designated position, clicking the check-mark-icon on the top-right of the loaded element confirms the completes the loading action. You may also click the cancel icon which will break the laoding process.
In fact, the drag'n'drop positioning does not work satisfying and I will not keep it in this form. Furthermore, the Template Repository docker does not provide the same functionality as the "Manage Sections" Editor pop-up does, thus it clutters the already a bit complicated section management UI. For this reasons I'm uncertain if I will continue work on this plugin. But it maybe comprises some elements worth to be considered for further work on section/page templates.
edit:/ use it with gpEasy 4.5 only and do not use in production, it's not quite mature! With gpdebug enabled Template Manager will be quite verbose about it's actions via message area.
A new release for Typesetter is in the works with a lot of improvements including the ... Read More
Typesetter 5.1Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More
More NewsFind out more about our Provider Spotlight
What CMS: Find out what CMS a site is using.
Who Hosts This: Find out who is hosting any web site
WordPress Theme Detect: Find out which theme a WordPress site is using