Try this UDT:
http://wiki.cmsmadesimple.org/index.php ... ps_.5B1.5D
Hope that helps.
How to display page from content
Re: How to display page from content
Hi,
I use the following UDT:
http://forum.cmsmadesimple.org/index.ph ... 186.0.html
How to use this UDT - create UDT and name it "include_content" and then include the following code in your page:
{include_content page_alias='ALIASAS_TO_YOUR_PAGE'}
Vilkis
I use the following UDT:
http://forum.cmsmadesimple.org/index.ph ... 186.0.html
How to use this UDT - create UDT and name it "include_content" and then include the following code in your page:
{include_content page_alias='ALIASAS_TO_YOUR_PAGE'}
Vilkis
Re: How to display page from content
CGSimplesmarty has a parameter "get_page_content".
Is that what you could use?
Ronny
Is that what you could use?
Ronny
Re: How to display page from content
SchPeter:
I think there is no solution for your task unless somebody write a code for you. But this is not CMSMS related thing because it is not a multi-site system.
RonnyK:
I have several notes regard get_page_content of CGSimplesmarty:
a) to call a function get_page_content one has to use the following form: {$cgsimple->get_page_content(alias)} - as you know a WYSIWYG editor is not friendly for symbols "->" - it could be trouble to use it in content.
b) It does not process smarty tags of content to be included.
Vilkis
I think there is no solution for your task unless somebody write a code for you. But this is not CMSMS related thing because it is not a multi-site system.
RonnyK:
I have several notes regard get_page_content of CGSimplesmarty:
a) to call a function get_page_content one has to use the following form: {$cgsimple->get_page_content(alias)} - as you know a WYSIWYG editor is not friendly for symbols "->" - it could be trouble to use it in content.
b) It does not process smarty tags of content to be included.
Vilkis
Last edited by vilkis on Sun Mar 01, 2009 10:01 pm, edited 1 time in total.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: How to display page from content
come on guys... this is simple.
Code: Select all
{fetch file="http://some_other_cms_site.com/page=blah&showtemplate=false"}
Last edited by calguy1000 on Sun Mar 01, 2009 10:59 pm, edited 1 time in total.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: How to display page from content
It was a misspelling in the code above. Use this:
And if you put it in content, turn off WYSIWYG editor.
Vilkis
Code: Select all
{fetch file="http://some_other_cms_site.com/page=blah&showtemplate=false"}
Vilkis
Re: How to display page from content
And thanks calguy1000 for the hint how to include a content from other CMSMS site.
Vilkis
Vilkis
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: How to display page from content
it's not a hint.
it's not even a trick.
It's just the fact that I've read the appropriate smarty documentation, and know (and have also posted about) how to extract page content from another CMS site before.
I posted nothing new.... just repeated information that was publicly available for the people with the energy to look it up, rather than to ask others.
it's not even a trick.
It's just the fact that I've read the appropriate smarty documentation, and know (and have also posted about) how to extract page content from another CMS site before.
I posted nothing new.... just repeated information that was publicly available for the people with the energy to look it up, rather than to ask others.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.