Is there a plugin similar to multiblock to insert blocks into the content? - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: Is there a plugin similar to multiblock to insert blocks into the content? (/showthread.php?tid=16823) |
Is there a plugin similar to multiblock to insert blocks into the content? - demon416 - 2022-10-24 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 RE: Is there a plugin similar to multiblock to insert blocks into the content? - Felix - 2022-10-24 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. RE: Is there a plugin similar to multiblock to insert blocks into the content? - Felix - 2022-10-24 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/ RE: Is there a plugin similar to multiblock to insert blocks into the content? - demon416 - 2022-10-24 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. RE: Is there a plugin similar to multiblock to insert blocks into the content? - Felix - 2022-10-25 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 RE: Is there a plugin similar to multiblock to insert blocks into the content? - multicolor - 2022-10-25 (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. RE: Is there a plugin similar to multiblock to insert blocks into the content? - Felix - 2022-10-25 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. RE: Is there a plugin similar to multiblock to insert blocks into the content? - multicolor - 2022-10-26 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. |