GetSimple Support Forum

Full Version: Page content without template
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi everybody!

Can i get a page conent in php without the whole template?

in example:

if i create a page like:

<h1>links</h1>
page text

if i want to insert that page in the template
is there a function to load that page everytime?

something like:
<?php load_page("links"); ?>

thanks to all!
Ok i've created a plugin for doing that Wink
I uploaded the plugin here is the link
http://get-simple.info/extend/plugin/sim...content/87
That is a very clever Plugin and I like it very much.

So it is easy to add texts to Info-Boxes somewhere on the page without the need to edit the templates just to change the content.

Thanks for that!
If you use the I18N plugin this functionality is already included, e.g.:

Code:
<?php get_i18n_content('links'); ?>

And it will get the correct language if there are multiple versions of the page.
just wanted to say: thanks for sharing this plugin, its just what i needed.
Hello,

this is a great Plugin Thank you!

Is there also a possibility to output the Page Title ?

I've created a website with a Java Script Accordion for the Content.

I created a Page for each Button and get the content with <?php get_i18n_content('accordion'); ?>
Is there a possibility to get the Pagetitle for the Buttontitle like <?php get_i18n_page_title('accordion'); ?>

Normaly i just get the active Title with <?php get_i18n_page_title(); ?> but that do not work out because i have individual Pages on one site.

Would be great if somebody knows how to do this.

Thanks! P.
Ok i found something in another Topic:

http://get-simple.info/forum/post/17624/#p17624

I'll try this one, hope this works for the title to!

THX P.