Pagina 1 van 1
Meta tags aanpassen
Geplaatst: 12 jun 2007, 15:07
door DaannO
daanno.com
Ik wil graag de meta tags van mijn index aanpassen, maar ik zie nergens hoe en waar dat moet. Iemand enig idee?
Re: Meta tags aanpassen
Geplaatst: 12 jun 2007, 15:11
door ElbertF
De meta-tags staan in overall_header.tpl in je template map.
Re: Meta tags aanpassen
Geplaatst: 12 jun 2007, 15:56
door DaannO
Ik zie wel de content maar ik zie nergens waar ik de tags zelf kan aanpassen?
Re: Meta tags aanpassen
Geplaatst: 12 jun 2007, 16:23
door ElbertF
In het <head>
gedeelte staan meta-tags, evt. kun je er zelf een aantal bijzetten.
Re: Meta tags aanpassen
Geplaatst: 12 jun 2007, 16:40
door DaannO
Jepz, maar ze aanpassen heeft geen resultaat.
Code: Selecteer alles
<?php
global $userdata;
$path_parts2 = pathinfo($_SERVER['PHP_SELF']);
$query = $_SERVER['QUERY_STRING'];
if ($path_parts2['basename'] != PORTAL_MG && $path_parts2['basename'] != VIEWTOPIC_MG && $path_parts2['basename'] != 'album_showpage.php' && (!preg_match("/article/", $query)) && (!preg_match("/edit/", $query)) && (!preg_match("/add/", $query)) && (!preg_match("/results/", $query)) && $path_parts2['basename'] != 'posting.php' ){?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php }
if (preg_match("/news=categories/", $query)){
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php }
?>
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="Content-Style-Type" content="text/css" />
{META}
{META_TAG}
{NAV_LINKS}
<!--
<meta name="author" content="Danijel/DaannO for DaannO.com" />
<meta name="description" content="Dè telecom site voor gevorde gebruikers!">
<meta name="keywords" content="telecom,daanno,DaannO,telecom daanno,telecom daan,daan,telefoons,gsm,telecom nieuws,telecom news, telcom telecom, telecom ervaring, telecom forum, telecom gebruikers, telecom hulp">
<meta name="robots" content="index,follow">
-->
<title>{PAGE_TITLE}</title>
<link rel="shortcut icon" href="./images/favicon.ico">
<link rel="stylesheet" href="templates/ca_aphrodite/style_{TPL_COLOR}.css" type="text/css" />
<script language="JavaScript" type="text/javascript" src="language/{L_BBCB_MG_LANG}/bbcb_mg.js"></script>
<script language="javascript" type="text/javascript" src="templates/ca_aphrodite/js/scripts.js"></script>
<script language="JavaScript" type="text/javascript" src="includes/toggle_display.js"></script>
<!-- LightBOX Start -->
<!-- BEGIN switch_lightbox -->
<link rel="stylesheet" href="templates/ca_aphrodite/js/lightbox.css" type="text/css" />
<script language="JavaScript" type="text/javascript" src="templates/ca_aphrodite/js/prototype.js"></script>
<script language="JavaScript" type="text/javascript" src="templates/ca_aphrodite/js/scriptaculous.js?load=effects"></script>
<script language="JavaScript" type="text/javascript" src="templates/ca_aphrodite/js/lightbox.js"></script>
<!-- END switch_lightbox -->
<!-- LightBOX Finish -->
<!--[if gte IE 5.5000]>
<script type="text/javascript" src="includes/pngfix.js"></script>
<![endif]-->
<!-- BEGIN mg_switch_xmas_fx -->
<script type="text/javascript" language="javascript1.2">
<!--
//Edit the next few lines to suit your page. Recommended values are:
//numFlakes = 10; downSpeed = 0.01; lrFlakes = 10;
var pictureSrc = 'images/xmas/snfl_01.gif'; //the location of the snowflakes
var pictureWidth = 10; //the width of the snowflakes
var pictureHeight = 12; //the height of the snowflakes
var numFlakes = 20; //the number of snowflakes
var downSpeed = 0.01; //the falling speed of snowflakes (portion of screen per 100 ms)
var lrFlakes = 10; //the speed that the snowflakes should swing from side to side
//relative to distance fallen (swing increases with fewer
//snowflakes to fill available space)
//--></script>
<script type="text/javascript" src="includes/snow_fx.js" language="javascript1.2"></script>
<!-- END mg_switch_xmas_fx -->
{CA_INLINE_CSS}
<!-- IE conditional comments: http://msdn.microsoft.com/workshop/author/dhtml/overview/ccomment_ovw.asp -->
<!--[if IE]>
<style type="text/css">
/* IE hack to emulate the :hover & :focus pseudo-classes
Add the selectors below that required the extra attributes */
.row1h, .row1h-new { behavior: url("templates/ca_aphrodite/pseudo-hover.htc"); }
</style>
<![endif]-->
<script language="JavaScript" type="text/javascript" src="includes/image_popup.js"></script>
<!-- [BEGIN] XS Dropdown & OnClick Menus -->
<!-- BEGIN switch_dropdown_on -->
<script type="text/javascript">
/***********************************************
* AnyLink Drop Down Menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
//Contents for menu 1
var menu1 = new Array();
menu1[0] = '<br /><center> <form action="{U_SEARCH}" method="get"><input name="search_keywords" type="text" class="post" style="width: 150px;" /> <input type="submit" class="mainoption" value="{L_SEARCH}" /> <br /></form></center>';
menu1[1] = ' <a href="{U_SEARCH}" title="{L_SEARCH_EXPLAIN}">{L_ADV_SEARCH}</a>';
//Contents for menu 2
var menu2 = new Array();
menu2[0] = '<a href="{U_SEARCH_NEW}" title="{L_SEARCH_NEW}">{L_SEARCH_NEW2}</a>';
menu2[1] = '{L_DISPLAY_UNREAD}';
menu2[2] = '{L_DISPLAY_MARKED}';
menu2[3] = '{L_DISPLAY_PERMANENT}';
var menuwidth='180px'; //default menu width
var menubgcolor='#F8F8F8'; //menu bgcolor
var disappeardelay=250; //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="no"; //hide menu when user clicks within menu?
/////No further editing needed
var ie4=document.all;
var ns6=document.getElementById&&!document.all;
if (ie4||ns6)
{
document.write('<div id="dropmenudiv" class="row1" style="visibility:hidden;width:'+menuwidth+';" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>');
}
function getposOffset(what, offsettype)
{
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null)
{
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}
function showhide_alt(obj, e, visible, hidden, menuwidth)
{
if (ie4||ns6)
{
dropmenuobj.style.left=dropmenuobj.style.top=-500;
}
if (menuwidth!="")
{
dropmenuobj.widthobj=dropmenuobj.style;
dropmenuobj.widthobj.width=menuwidth;
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
{
obj.visibility=visible;
}
else if (e.type=="click")
{
obj.visibility=hidden;
}
}
function iecompattest()
{
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body;
}
function clearbrowseredge(obj, whichedge)
{
var edgeoffset=0;
if (whichedge=="rightedge")
{
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth;
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
{
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth;
}
}
else
{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset;
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18;
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight;
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure)
{ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight;
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure)
{//up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge;
}
}
}
return edgeoffset;
}
function populatemenu(what)
{
if (ie4||ns6)
{
dropmenuobj.innerHTML=what.join("");
}
}
function dropdownmenu(obj, e, menucontents, menuwidth)
{
if (window.event)
{
event.cancelBubble=true;
}
else if (e.stopPropagation)
{
e.stopPropagation();
}
clearhidemenu();
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv;
populatemenu(menucontents);
if (ie4||ns6)
{
showhide_alt(dropmenuobj.style, e, "visible", "hidden", menuwidth);
dropmenuobj.x=getposOffset(obj, "left");
dropmenuobj.y=getposOffset(obj, "top");
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px";
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px";
}
return clickreturnvalue();
}
function clickreturnvalue()
{
if (ie4||ns6)
{
return false;
}
else
{
return true;
}
}
function contains_ns6(a, b)
{
while (b.parentNode)
{
if ((b = b.parentNode) == a)
{
return true;
}
}
return false;
}
function dynamichide(e)
{
if (ie4&&!dropmenuobj.contains(e.toElement))
{
delayhidemenu();
}
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
{
delayhidemenu();
}
}
function hidemenu(e)
{
if (typeof dropmenuobj!="undefined")
{
if (ie4||ns6)
{
dropmenuobj.style.visibility="hidden";
}
}
}
function delayhidemenu()
{
if (ie4||ns6)
{
delayhide=setTimeout("hidemenu()",disappeardelay);
}
}
function clearhidemenu()
{
if (typeof delayhide!="undefined")
{
clearTimeout(delayhide);
}
}
if (hidemenu_onclick=="yes")
{
document.onclick=hidemenu;
}
</script>
<!-- END switch_dropdown_on -->
<!-- [END] XS Dropdown & OnClick Menus -->
<script language="JavaScript" type="text/javascript">
<!--
function rss_news_help()
{
window.open("rss_news_help.php?", '_rss_news_help', 'height=550,width=700,resizable=no,scrollbars=yes');
}
//-->
</script>
{UPI2DB_FIRST_USE}
</head>
<body onload="PreloadFlag = true;">
<a name="top"></a>
<table cellspacing="0" width="100%" id="forum">
<tr>
<td class="forum-header" align="left" valign="top" height="64">
<a href="{U_PORTAL}" title="{L_HOME}"><img src="templates/ca_aphrodite/images/{TPL_COLOR}/logo_xs.gif" alt="{L_HOME}" title="{L_HOME}"/></a>
</td>
<td class="forum-header" align="center" valign="middle" style="padding-top: 2px;">
<center>
<!-- BEGIN switch_header_banner -->
{HEADER_BANNER_CODE}
<!-- END switch_header_banner -->
</center>
</td>
<!-- BEGIN switch_user_logged_out -->
<td class="forum-header" align="right" valign="top" >
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="200" height="64" id="swf_login">
<param name="movie" value="templates/ca_aphrodite/images/{TPL_COLOR}/login.swf?sid={S_SID}&action={U_LOGIN_LOGOUT}" />
<param name="quality" value="high" />
<param name="bgcolor" value="#F8F8F8" />
<embed src="templates/ca_aphrodite/images/{TPL_COLOR}/login.swf?sid={S_SID}&action={U_LOGIN_LOGOUT}" quality="high" bgcolor="#F8F8F8" width="200" height="64" name="swf_login" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</embed>
</object>
</td>
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
<td class="forum-header header-search" align="right" valign="bottom">
<form action="{U_SEARCH}" method="get">
<input name="search_keywords" type="text" class="post" style="width: 130px;" />
<input type="submit" class="liteoption" value="{L_SEARCH}" />
</form>
</td>
<!-- END switch_user_logged_in -->
</tr>
<!-- TOP LINKS -->
<tr>
<td class="forum-buttons" colspan="12">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td><img src="{SPACER}" alt="" height="16" align="middle" /></td>
<td style="text-align: center; font-size: 11px; color: #FF1010;" width="100%">
<!-- BEGIN mg_switch_user_is_admin -->
<b>{ADMIN_LINK}</b> •
<!-- END mg_switch_user_is_admin -->
<a href="{U_PORTAL}">{L_HOME}</a> •
<a href="{U_INDEX}">{L_INDEX}</a> •
<a href="{U_BOARDRULES}">{L_BOARDRULES}</a> •
<!-- BEGIN switch_user_logged_out -->
<a href="{U_REGISTER}"><b>{L_REGISTER}</b></a> •
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
<a href="{U_PROFILE}">{L_CPL_NAV}</a> •
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_dd_off_logged_in -->
<a href="{U_SEARCH_NEW}">{L_NEW2}</a> •
<!-- END switch_dd_off_logged_in -->
<!-- BEGIN switch_dd_on_logged_in -->
<a href="#" onMouseover="dropdownmenu(this, event, menu2, '180px')" onMouseout="delayhidemenu()">{L_POSTS}:</a><a href="{U_SEARCH_NEW}" title="{L_SEARCH_NEW}">{L_NEW}</a>
<!-- END switch_dd_on_logged_in -->
<!-- BEGIN switch_upi2db_on -->
{L_DISPLAY_U} {L_DISPLAY_M} {L_DISPLAY_P} •
<!-- END switch_upi2db_on -->
{PROFILE_VIEW}
<!-- Start add - Birthday MOD -->
{GREETING_POPUP}
<!-- End add - Birthday MOD -->
<!-- BEGIN switch_dropdown_on -->
<a href="{U_SEARCH}" onMouseover="dropdownmenu(this, event, menu1, '250px')" onMouseout="delayhidemenu()">{L_SEARCH}</a> •
<!-- END switch_dropdown_on -->
<!-- BEGIN switch_dropdown_off -->
<a href="{U_SEARCH}">{L_SEARCH}</a> •
<!-- END switch_dropdown_off -->
<a href="{U_FAQ}">{L_FAQ}</a> •
<a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a>
</td>
<td><img src="{SPACER}" alt="" height="16" align="bottom" /></td>
</tr>
</table>
</td>
</tr>
<!-- BEGIN switch_header_table -->
<tr>
<td width="100%" colspan="3">
<div style="padding-left: 5pt; padding-right: 5pt;">
<table cellspacing="0" cellpadding="0" width="100%" class="forumline">
<tr>
<td class="row-header"><span>{L_STAFF_MESSAGE}</span></td>
</tr>
<tr>
<td class="row-post"><div class="post-text">
<br /><span class="post-text">{switch_header_table.HEADER_TEXT}</span><br /><br /></div>
</td>
</tr>
</table>
</div>
</td>
</tr>
<!-- END switch_header_table -->
<tr>
<td colspan="3" id="content" <!-- IF S_TPL_FILENAME == 'index' --> style="padding-left: 0; padding-right: 0;"<!-- ENDIF -->>
<!-- BEGIN switch_user_logged_in -->
<div class="popup{PRIVMSG_IMG}"><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a></div>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_admin_disable_board -->
<table width="100%" cellspacing="0" cellpadding="10" border="0" align="center"<!-- IF S_TPL_FILENAME == 'index' --> style="padding-left: 5pt; padding-right: 5pt;"<!-- ENDIF -->>
<tr>
<td align="center" class="forumline-no"><span class="gen"><font color="#ff1010"><b>{L_BOARD_DISABLE}</b></span></td>
</tr>
</table>
<!-- END switch_admin_disable_board -->
Re: Meta tags aanpassen
Geplaatst: 12 jun 2007, 17:04
door ElbertF
Code: Selecteer alles
<!--
<meta name="author" content="Danijel/DaannO for DaannO.com" />
<meta name="description" content="Dè telecom site voor gevorde gebruikers!">
<meta name="keywords" content="telecom,daanno,DaannO,telecom daanno,telecom daan,daan,telefoons,gsm,telecom nieuws,telecom news, telcom telecom, telecom ervaring, telecom forum, telecom gebruikers, telecom hulp">
<meta name="robots" content="index,follow">
-->
Is dit wat je er zelf bij hebt gezet? Ik zou de commentaar-tags (<!-- -->) even verwijderen, anders heeft het idd geen effect.
Re: Meta tags aanpassen
Geplaatst: 12 jun 2007, 17:15
door DaannO
nee, ik heb het niet zelf gedaan, maar phpbb XS wel. Ik ga is even kijken.

Re: Meta tags aanpassen
Geplaatst: 12 jun 2007, 18:05
door Salomon
Mwah voor support over XS kan je nog altijd beter op
http://www.phpbbxs.nl zijn...