EzPortal - Portal Software for Forums

EzPortal Forums => How To Section => Topic started by: DenDen66 on June 30, 2016, 11:55:59 am

Title: PHP BLock - include style
Post by: DenDen66 on June 30, 2016, 11:55:59 am
Hi, Is there a way to include a:

in a php block?

If so, how should I include it?

My php block starts like this:

Code: [Select]
if(isset($_POST['language']) && $_POST['language'] == 'french-utf8' || $_SESSION['language'] == 'french-utf8'){
echo '

Thanks

Title: Re: PHP BLock - include style
Post by: DenDen66 on July 03, 2016, 07:43:18 am
Any one can help me out on this? :-(
Title: Re: PHP BLock - include style
Post by: EzPortal on July 03, 2016, 08:14:50 am
You can just includethe html and echo it out with code to show it
examples
http://www.w3schools.com/css/css_howto.asp
Title: Re: PHP BLock - include style
Post by: DenDen66 on July 03, 2016, 10:26:06 am
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.

Title: Re: PHP BLock - include style
Post by: DenDen66 on July 03, 2016, 12:01:02 pm
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?