10689 Posts in 2796 Topics by 1518 members
Jump to:If this is your first visit, you will need to register before you can post. However, you can browse all messages below.
| Page: 1 | go to end | Reply | |
| Author | Topic: Including external html/php file in content area | 262 views |

12 August 2008 at 2:25pm
Hi, I need to know if there is a way to include an external page in the content of an ss page. I need to include a selectable map (images / javascript) into the middle of the content of the page. I thought the best way would be to just include it .... but not sure of the best way to achieve this in ss. I found this in the forums http://www.silverstripe.com/site-builders-forum/flat/103626?start=8 , could be a way to do it....any ideas much appreciated.

12 August 2008 at 9:14pm
have alook at this page - http://doc.silverstripe.com/doku.php?id=recipes:customising-content-in-your-templates&s=paypal which shows an example of rendering a php function into the content area where you have a token (such as $Paypal in the content). You could slightly adapt that so that the Paypal() method outputs your map.
| 262 views | |||
| go to top | Reply |