Hello, I have to insert some tags in the head section of a specific page (viewtopic.php)
the tags are
<meta http-equiv="imagetoolbar" content="no">
for the disabling of the internet exploder image toolbar
and some external js and ccs sheets
it's this possible or I have to change overall_header.tpl??
thanks
Insert Code In The <head> For A Specific Page
Subject: Re: Insert Code In The <head> For A Specific Page
only use the fuction header() in this way:
just set the command without the <>
mimoson999 wrote: [View Post]
only use the fuction header() in this way:
just set the command without the <>
Subject: Re: Insert Code In The <head> For A Specific Page
but this code is for sending HTTP headers, I want to inser code in the <head>...</head> section of the page
Subject: Re: Insert Code In The <head> For A Specific Page
and why not to try this code in the file:
Subject: Re: Insert Code In The <head> For A Specific Page
You can do it in page_header.php
You can create a new var in viewtopic before page_header is called, so you can dynamically assign META fields.
$phpbb_meta = '<meta name="title" content="' . $page_title . '" />' . "n";
$phpbb_meta .= '<meta name="author" content="' . $lang['Default_META_Author'] . '" />' . "n";
$phpbb_meta .= '<meta name="author" content="' . $lang['Default_META_Author'] . '" />' . "n";
You can create a new var in viewtopic before page_header is called, so you can dynamically assign META fields.
Page 1 of 1
You cannot post new topicsYou cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events
This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by Icy Phoenix based on phpBB
Generation Time: 0.1451s (PHP: 13% SQL: 87%)
SQL queries: 13 - Debug Off - GZIP Enabled