The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
|
Automatically loading page 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: Automatically loading page content? (/showthread.php?tid=2707) |
Automatically loading page content? - KBear - 2012-02-04 If a customer would mostly be creating new pages that always have for content a table with fields to be filled out, it would be nice if the common content loaded whenever a new page was created. Is it possible to have code load automatically in the page content field when a new page is created? Is there some other way to do this, so the customer would not have to copy the common content from an existing page, and paste it into the newly created page? Automatically loading page content? - Connie - 2012-02-04 yes, that is possible, half automatically you can add "templates" to the CKEditor and then create templates with these tables so when the client starts a new page, he clicks on the template icon and chooses which template he wants to use if that is a solution for your question, I will describe how to do it and add that to the WIKI Automatically loading page content? - KBear - 2012-02-05 Connie Wrote:you can add "templates" to the CKEditor Yes, that would work well. Thanks Automatically loading page content? - mikeh - 2012-02-05 KBear Wrote:Here is a plugin I just wrote to accomplish this for you.Connie Wrote:you can add "templates" to the CKEditor
Automatically loading page content? - chefbyte - 2012-02-05 Just installed this and it works a treat Automatically loading page content? - KBear - 2012-02-05 mikeh, thanks for the plugin. Tried it, and it did not seem to handle the table info so well. Or I could be missing something. Not sure you can copy table info from the wysiwyg editor, and paste it to the wysiwyg plugin text field. Need to view source code in the plugin's text field window, maybe. Not really sure what is going on. Also, when I added this to the plugin text field: 5'-2" 7'-3" I got this in the new created page: 5\'-2\" 7\'-3\" Appreciate the help Add: Seems the plugin field takes source code, but the code is being changed somehow when it is inserted into a new page. |