2011-09-16, 23:37:08
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 %}