|
Página 3 de 8 Agora exiba no seu Dreamweaver somente o código HTML e delete tudo que estiver entre as tags HEAD E /HEAD. e substitua por: <HEAD> <TITLE><?php echo $mosConfig_sitename; ?></TITLE> <meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" /> <?php if ($my->id) { include ("editor/editor.php"); initEditor(); } ?> <?php include ("includes/metadata.php"); ?> <script language="JavaScript" type="text/javascript"> <!-- function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); //--> </script> <link href="<?php echo $mosConfig_live_site;?>/templates/NOME_DO_SEU_TEMA/css/template_css.css" rel="stylesheet" type="text/css" /> <link rel="shortcut icon" href="images/favicon.ico" /> <?php // Custom MainMenu extension... $database->setQuery("SELECT * FROM meubr7_menu WHERE menutype = 'mainmenu' AND published ='1' AND parent = '0' ORDER BY ordering"); $mymenu_rows = $database->loadObjectList(); $mymenu_content = ""; foreach($mymenu_rows as $mymenu_row) { // print_r($mymenu_rows); $mymenulink = $mymenu_row->link; if ($mymenu_row->type != "url") { $mymenulink .= "&Itemid=$mymenu_row->id"; } if ($mymenu_row->type != "separator") { $mymenu_content .= "<a href="".sefRelToAbs($mymenulink)."" class="bar">$mymenu_row->name</a><font color="#D3F5D0"> | </font>"; } } $mymenu_content = substr($mymenu_content,0,strlen($mymenu_content)-2); ?> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> </HEAD> Fim do código ------- Procure no código acima a seguinte linha: <link href="<?php echo $mosConfig_live_site;?>/templates/NOME_DO_SEU_TEMA/css/template_css.css" rel="stylesheet" type="text/css" /> e substitua "NOME_DO_SEU_TEMA" pelo nome do tema que você criou. ------- Ainda exibindo o código procure no Dreamweaver a opção "localizar e Substituir" "Todos" Localize /images por /templates/Nome_do_Tema/images

|