infazz / flexible-templates Goto Github PK
View Code? Open in Web Editor NEWAllows saving templates of the "Flexible Content" field, for easy and fast use of them on other pages.
Allows saving templates of the "Flexible Content" field, for easy and fast use of them on other pages.
Hi,
thanks for developed this plugin. It's really awesome and a great starting point.
I've created 2 flexible content fields, one for posts and another for pages and both have different row layouts.
The problem is that both loads the same templates. so if I save a template created with fc in posts it can be loaded in the fc of pages, but this is not correct for the fc in pages. the result is that, after page reload the fc result empty.
Is there a way to create templates related to a specific flexible content field?
Thanks in advance.
It would be more convenient to have templates for each blocks inside Flexible Content field.
In my case I have Flexible Content field having some useful blocks inside, for example:
I have a Flex field within a Flex field. After entering a template name and clicking "Save this template" I got the error "Please input template name." and the template is not saved.
I tried this also with a Flex field within a Repeater field. Here I can't save any template, too - but there's no error message.
Any ideas what's gong wrong.
Let me start by saying this plugin is amazing.
I found a weird behavior when editing in both the WYSIWYG editor and the raw HTML code editor of a WYSIWYG field.
If i edit in the WYSIWYG editor, then switch to the HTML editor, I cannot update the code—it overrides with what was there before I switched views about every second or so.
I have attached a quick screen recording (mp4) demoing this behavior.
Any feedback / help would be greatly appreciated.
sampleerror.mp4.zip
Hello,
Im testing out this plugin (which would be a total game change for us if it worked), and while it seems like I can save a template just fine, when I go to load a template on a page the flex content area stays empty/no blocks are added.
I am running the latest version of WP and ACF Pro (5.6.1)
I checked the database to make sure things are saving. It seems like it is saving SOMETHING... here is what it looks like:
SELECT * FROM wp_flexible_templates_acf
ID:
3
name:
Test 2
template:
%3Cdiv%20class%3D%22values%22%3E%0A%09%09%09%3Cul%20class%3D%22acf-bl%20list%22%3E%0A%09%09%09%09%09%09%3C/ul%3E%0A%09%09%3C/div%3E
Which decodes to:
<div class="values">
<ul class="acf-bl list">
</ul>
</div>
Which sure doesnt seem like what should be stored in that table. Help?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.