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
Is there a plugin similar to multiblock to insert blocks into the content?
|
2022-10-24, 23:02:34
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.
2022-10-24, 23:18:45
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.
2022-10-25, 01:53:08
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-25, 17:25:16
(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.
2022-10-25, 18:38:00
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.
2022-10-26, 04:24: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. |
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)