EzPortal - Portal Software for Forums
EzPortal Forums => How To Section => Topic started by: DenDen66 on June 30, 2016, 11:55:59 am
-
Hi, Is there a way to include a:
- CSS styles or a
- CSS stlye sheet
in a php block?
If so, how should I include it?
My php block starts like this:
if(isset($_POST['language']) && $_POST['language'] == 'french-utf8' || $_SESSION['language'] == 'french-utf8'){
echo '
Thanks
-
Any one can help me out on this? :-(
-
You can just includethe html and echo it out with code to show it
examples
http://www.w3schools.com/css/css_howto.asp
-
Thanks for your response. I already do this. However it is a long text with a lot of formatting so using this approach is very time consuming. Since I have a lot of text that varies depending on the language used, I want to find a way to include some styling.
-
Could I use Page Manager to create a PHP page that would show the text depending on the language, like I did with the PHP block, and include somehow a CSS style sheet?