Discussions and requests related to new CMSimple features, plugins, templates etc. and how to develop.
Please don't ask for support at this forums!
-
svasti
- Posts: 1659
- Joined: Wed Dec 17, 2008 5:08 pm
Post
by svasti » Mon May 04, 2015 3:50 pm
Hi all,
I just received a request, which I guess belongs here:
Buchholz wrote:Name: Buchholz
Telefon-Nr.:
Hahho Herr Ziesing,
da Sie wohl an der Entwicklung von Cmsimple beteiligt sind möchte ich einen Vorschlag machen : In Wordpress gibt es die Shortcode-Api, die auf Github auch für Getsimple angepasst wurde.
https://codex.wordpress.org/Shortcode_API (bzw.
http://generatewp.com/shortcodes/)
Dort liegen hunderte von diesbezüglichen Plugins für Shortcuts. Man könnte die obige Shortcode-Api in Cmspimle Integrieren (notfalls auch nur per Plugin). Damit lassen sich auch Buttons und Menüs etc erstellen(
http://shortcodes.themeblvd.com/generator/) usw.
Grüsse manfred Buchholz
Anybody any opinion on this subject?
-
cmb
- Posts: 14225
- Joined: Tue Jun 21, 2011 11:04 am
- Location: Bingen, RLP, DE
-
Contact:
Post
by cmb » Mon May 04, 2015 5:41 pm
Hm, actually that doesn't seem to make much sense for CMSimple_XH as it already has the plugin call. Consider the example from the Shortcode API page:
In CMSimple_XH 1.6.6 one would write instead:
Okay, shortcodes allow named parameters, but the actual plugin calls would have to be adapted for this to work.
-
svasti
- Posts: 1659
- Joined: Wed Dec 17, 2008 5:08 pm
Post
by svasti » Mon May 04, 2015 7:52 pm
I also thought that it was rather complicated compared to the CMSimple_XH style, e.g. writing a small addon for the userfuncs.php.