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 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 861 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
Add More Pages
#8
rfuller Wrote:Thanks for the sugguestion I may have to give it a try if I don't come up with another solution. Only reason I have not tried the I18N Plugin is I thought I remembered reading somewhere in the forum that it did not work with the Exec-PHP plugin well and that plugin is a must.

I only found a post regarding an incompatibility with I18N Gallery with no specifics, however, a short test did not show any problems.
(of course Exec-PHP crashes on my homepage because the pages describe how to use my plugins and thus include <?php ... ?> as text :-(

Anyway, an alternative to Exec-PHP is the DynPages plugin, where you add your php code in a component and then include the component on the page (here calling a component, which includes the first two paragraphs of page my-page):
Code:
And here we have the first two paragraphs of another page:
{% includepage my-page 2 %}
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply


Messages In This Thread
Add More Pages - by rfuller - 2011-09-16, 06:11:04
Add More Pages - by Connie - 2011-09-16, 07:58:23
Add More Pages - by rfuller - 2011-09-16, 08:07:02
Add More Pages - by ccagle8 - 2011-09-16, 11:24:29
Add More Pages - by mvlcek - 2011-09-16, 15:44:24
Add More Pages - by rfuller - 2011-09-16, 21:21:11
Add More Pages - by cumbe - 2011-09-16, 22:23:31
Add More Pages - by mvlcek - 2011-09-16, 23:37:08
Add More Pages - by rfuller - 2011-09-17, 02:06:53



Users browsing this thread: 1 Guest(s)