Haven't registered yet? Do it here now!
|
beldvd
Joined: 17 Nov 2007 Posts: 3
|
|
|
|
|
|
|
Posted: Sat Nov 17, 2007 6:53 am Post subject: How I can insert SO templates links in Heredoc format? |
|
|
|
|
|
|
|
|
|
|
Hello!
My CMS use format of content files:
<?php
......
$content=<<<EOF>
and these files are inserted in main CMS template (where placed header, footer, left and right columns etc...):
<?php
$content=<<<EOF
<html>
.....
<body>
......
<div>$content </div>
......
......
How correct to insert SO template code - Regular and CURL codes?
Thanks advance! |
|
|
|
|
|
|
|
kaktus Owner
Joined: 22 May 2004 Posts: 1576 Location: CheapestAdultScripts.com
|
|
|
|
|
|
|
Posted: Sat Nov 17, 2007 1:13 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
well, i am not familiar with your CMS system, and can't say for sure how to do it.
the SO code is 1 line of php include statement. so as you insert any other php code inside your template at your CMS same should be and with the SO code.
if doesn't work maybe would be best to ask the support of the CMS how exactly to put php includes in the templates. _________________
|
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|
|