GetSimple Support Forum

Full Version: Is there a plugin similar to multiblock to insert blocks into the content?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I need to give the site editor the ability to use code blocks in page texts, like in cms typesetter. Inserting blocks into a template common to all pages is useless for me
I copied the trick to use code blocks some time ago from another cms system with flat file database. Have to go through my harddisks where I left it.
Is components not already doing what you need ?
http://get-simple.info/wiki/components

How about this plugin
http://get-simple.info/extend/plugin/multiblock/1322/
as far as I know, both components and multiblock work by embedding in a site template that is common to all pages.
I, as a developer, can use them with conditions, the site content editor needs a simpler tool.
If there are no options with WYSIWYG, the option with tags as in wordpress will do.
Mvlcek made lots of powerful plugins for the GS cms
One of them is the dynpages plugin
http://mvlcek.bplaced.net/get-simple/dynpages
Use it to embed anything you want with placeholders in pages, also your own blocks with your own php
(2022-10-24, 21:11:53)demon416 Wrote: [ -> ]I need to give the site editor the ability to use code blocks in page texts, like in cms typesetter. Inserting blocks into a template common to all pages is useless for me

Why you don't create seperate template file only for page where you can use multiblock? index.php - put multiblock option,  and rest subpage template.php without multiblock function.
Quote:Why you don't create seperate template file only for page where you can use multiblock? index.php - put multiblock option,  and rest subpage template.php without multiblock function.

Yes that is the solution. Now I remember I did that somewhere in one of my local GS websites. I just can't find it anymore have too many loose projects spreaded over my usb-sticks. I am sure this solution is somewhere in the forum where I must have found it. Thanks for posting this solution multicolor.
always you can use
if(get_page_slug() == 'slug what you want show multiblock'){
getMultiBlock('categorynamemultiblock');
}
Maybe next release i create some function for this.