Elxis CMS Forum
Extensions => Bots and plugins => Topic started by: solutionx on January 01, 2013, 21:06:14
-
ks-AddPhp calls php file but not the css of the file!!!!!
-
you must include the path of the css file in the php file, something like that
<?php echo "<link rel=\"stylesheet\" href=\"http://www.mysite.com/folder/file.css\" type=\"text/css\"/>" ; ?>
-
the css is included in the php file.......
where should i put the line?
in the bot?
-
of course not in the bot.....i thought you have 2 different files one file.php and one file.css, why dont you separate the css from the php file ? in your case maybe you have something wrong in your php file
be sure that in your content item you have write the right code
{addphp file=/folder_with_php_file/file.php}