Customisation, error 550?
hypostasis 0
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: Customisation, error 550?
hypostasis
OP
0
From: -
From: -
Customisation, error 550?
Ah, okay, in my case i just put the whole thing in a variable using the same method you use in your templetes.
Also, im having a problem editing pages, when i go to create a new page, i press send and nothing happens. i get a blank page, and it doesnt show up anywhere..
This isnt any real big really, but I'd quite like to be able to write pages in the CMS rather than having to hard code them all since thats the idea of it
Ah, okay, in my case i just put the whole thing in a variable using the same method you use in your templetes.
Also, im having a problem editing pages, when i go to create a new page, i press send and nothing happens. i get a blank page, and it doesnt show up anywhere..
This isnt any real big really, but I'd quite like to be able to write pages in the CMS rather than having to hard code them all since thats the idea of it
1 Re: Customisation, error 550?
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
Customisation, error 550?
Here an example:
To include this script into a template, the output of echo needs to be written into a variable:
Here the site_header template modification:
$output will be replaced with the output of the script (This is an example output)
Let me know if you need help with the adaptation
Originally posted by hypostasis
how can i do an include in a templete? the problem is i want to add a shoutbox to the header file (as you do) but unforuntatley <?php inlcude("shoutbox.php") ?> doesnt work (presumabley since its part of some PHP code...) What can i do to work around this?
Here an example:
<?php
echo "This is an ";
echo "example output";
?>
To include this script into a template, the output of echo needs to be written into a variable:
<?php
$output = "This is an ";
$output .= "example output";
?>
Here the site_header template modification:
<?php
global $insert;
// Including the output example script
include("output.php");
$EST_TEMPLATE = <<<TEMPLATE
<!-- Template site_header -->
$output
$output will be replaced with the output of the script (This is an example output)
Let me know if you need help with the adaptation
1 Re: Customisation, error 550?
hypostasis
OP
0
From: -
From: -
Customisation, error 550?
okay, new problem (i worked around the first one)
how can i do an include in a templete? the problem is i want to add a shoutbox to the header file (as you do) but unforuntatley <?php inlcude("shoutbox.php") ?> doesnt work (presumabley since its part of some PHP code...) What can i do to work around this?
okay, new problem (i worked around the first one)
how can i do an include in a templete? the problem is i want to add a shoutbox to the header file (as you do) but unforuntatley <?php inlcude("shoutbox.php") ?> doesnt work (presumabley since its part of some PHP code...) What can i do to work around this?
Okay, so i want to edit the site header file in the templetes directory, but when i go to update it, it gives me a FTP 550 error, saying im not allowed to overwrite the file? Ive tried chmod and all that to try and make it let me overwrite it, but i cant for some reason?
The files arnt locked during installation or somthing, are they?