Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

HTML 5 theme on fusion

Asked Modified Viewed 4,459 times
P
ProPE
P
ProPE 10
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
asked
Newbie

Is somebody who has made html5 for Fusion ? I have beatifull html5 teplates but I cannot put it into fusion because of structure and other tags generated .

Any suggestions ?
0 replies

6 posts

P
PolarFox
P
  • Veteran Member, joined since
  • Contributed 1,633 posts on the community forums.
  • Started 29 threads in the forums
answered
Veteran Member

Why not, you can create your own HTML5 theme, don't you?
0 replies
N
NetriX
N
NetriX 10
Need help? Having trouble?
» View our Documentation for guides, functions and more - including the Getting Started section!
» Attach Log Files and Screenshots when reporting issues
» My support days are usually Mon-Thurs. Send me a PM if urgent.
  • Senior Member, joined since
  • Contributed 566 posts on the community forums.
  • Started 93 threads in the forums
answered
Senior Member

I think he's referring to our doctype, along with the current w3 standards we use dating back to 1999.. lol..

You can do a replace in output functions that alters the information making it more html5 friendly.

Or edit the header.php file directly altering the output.

Replace:

<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>


with

<!DOCTYPE html>


What’s nice about this new DOCTYPE, especially, is that all current browsers (IE, FF, Opera, Safari) will look at it and switch the content into standards mode – even though they don’t implement HTML5. This means that you could start writing your web pages using HTML5 today and have them last for a very, very, long time. I'll pass this suggestion among the development team for 8.
0 replies
P
PolarFox
P
  • Veteran Member, joined since
  • Contributed 1,633 posts on the community forums.
  • Started 29 threads in the forums
answered
Veteran Member

wow hardcoded...
0 replies
C
Chan
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,842 posts on the community forums.
  • Started 232 threads in the forums
  • Answered 6 questions
answered
Super Admin

Oh really, i didnt know HTML is markup text ! This bot is damn advanced!
0 replies
K
KasteR
K
KasteR 10
  • Senior Member, joined since
  • Contributed 290 posts on the community forums.
  • Started 1 thread in the forums
answered
Senior Member

Quote

PolarFox wrote:

wow hardcoded...

Actually this can be done without hardcoded modifications. BSF theme created by Pattyland shows this method.

You can either include this in your theme.php file, or create a panel and enable on selected pages. This way will avoid any hardcoded changes.

[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]function fix_doctype($output) {
$search = array(
"<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>",
"&raquo;",
"iso-8859-1",);

$replace = array(
'<!DOCTYPE html>',
'/',
'windows-1252',
);
$output = str_replace($search, $replace, $output);
return $output;
}
add_handler("fix_doctype"wink;[/syntaxhighlighter]
0 replies
C
Centralsoft
C
Php-Fusion 7.02.07
php - 5.02 - 5.03 - 5.04
mysql - 5.5
Apache - 2.2

http://www.flayfm.tk/ http://www.flayfm.es/
  • Junior Member, joined since
  • Contributed 14 posts on the community forums.
  • Started 6 threads in the forums
answered
Junior Member

Error on print post, clic on icon print a error ocurred
Centralsoft attached the following file:
errorprint.png [No information available / 57 Downloads]
0 replies

Category Forum

Themes Support

Labels

None yet

Statistics

  • Views 0 views
  • Posts 6 posts
  • Votes 0 votes
  • Topic users 6 members

6 participants

N
N
NetriX 10
Need help? Having trouble?
» View our Documentation for guides, functions and more - including the Getting Started section!
» Attach Log Files and Screenshots when reporting issues
» My support days are usually Mon-Thurs. Send me a PM if urgent.
  • Senior Member, joined since
  • Contributed 566 posts on the community forums.
  • Started 93 threads in the forums
C
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,842 posts on the community forums.
  • Started 232 threads in the forums
  • Answered 6 questions
C
C
Php-Fusion 7.02.07
php - 5.02 - 5.03 - 5.04
mysql - 5.5
Apache - 2.2

http://www.flayfm.tk/ http://www.flayfm.es/
  • Junior Member, joined since
  • Contributed 14 posts on the community forums.
  • Started 6 threads in the forums
P
P
  • Veteran Member, joined since
  • Contributed 1,633 posts on the community forums.
  • Started 29 threads in the forums
K
K
KasteR 10
  • Senior Member, joined since
  • Contributed 290 posts on the community forums.
  • Started 1 thread in the forums
P
P
ProPE 10
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet