The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Accessing and changing content when a page is saved
#1
Hi all, I'm new to GetSimple (I love it) and I'm curious: is there a way of intercepting the content when a user saves a page, without hacking changedata.php ?

I made a textile plugin that converts textile to HTML on the fly, but my first instinct was to try to do the conversion when the page is saved, as there's no reason in principle why it should be done when the page is requested.

I see the action changedata-save, but I can't see how to manipulate the content - maybe I haven't looked hard enough.
Reply


Messages In This Thread
Accessing and changing content when a page is saved - by jamalrob - 2010-06-07, 20:25:09



Users browsing this thread: 2 Guest(s)