Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Saito tilte

Parašė gintulis· 2010 Kov. 4 23:03:55
#1

Noriu pasiklausti kaip pasikeisti saito tilte
Dabar yra pvž kai ieini į naujieną:
Filmai online, laidos, serialiai - Naujienos - Nario aprašymas: Prekybos centro kietuolis / Paul Blart: Mall Cop

Ir kaip padaryti, kad būtu taip:
Prekybos centro kietuolis / Paul Blart: Mall Cop - Filmai online, laidos, serialiai

Bent jau jei žinote tai kokiame faile?
Naudoju v7

Parašė Impossibru· 2010 Kov. 8 22:03:19
#2

themes/templates/header.php

Parašė gintulis· 2010 Kov. 9 01:03:12
#3

Na aciverčiau failą, bet nelabai numanau ka čia ir kur reikia keisti tai gal aciras koks nors geradaris kuris galėtu padėti?

<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: header.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }

require_once INCLUDES."output_handling_include.php";
require_once INCLUDES."header_includes.php";
require_once THEME."theme.php";

if ($settings['maintenance'] == "1" && !iADMIN) { redirect(BASEDIR."maintenance.php"); }
if (iMEMBER) { $result = dbquery("UPDATE ".DB_USERS." SET user_lastvisit='".time()."', user_ip='".USER_IP."' WHERE user_id='".$userdata['user_id']."'"); }

echo "<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>\n";
echo "<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='".$locale['xml_lang']."' lang='".$locale['xml_lang']."'>\n";
echo "<head>\n<title>".$settings['sitename']."</title>\n";
echo "<meta http-equiv='Content-Type' content='text/html; charset=".$locale['charset']."' />\n";
echo "<meta name='description' content='".$settings['description']."' />\n";
echo "<meta name='keywords' content='".$settings['keywords']."' />\n";
echo "<link rel='stylesheet' href='".THEME."styles.css' type='text/css' media='screen' />\n";
if (file_exists(IMAGES."favicon.ico")) { echo "<link rel='shortcut icon' href='".IMAGES."favicon.ico' type='image/x-icon' />\n"; }
if (function_exists("get_head_tags")) { echo get_head_tags(); }
echo "<script type='text/javascript' src='".INCLUDES."jscript.js'></script>\n";
echo "<script type='text/javascript' src='".INCLUDES."jquery.js'></script>\n";
echo "</head>\n<body>\n";

require_once THEMES."templates/panels.php";
ob_start();
?>



Reikia pašalinti Naujienos - Nario aprašymas: ir apkeisti vietomis tinklapio pavadinimą ir naujienos pavadinimą

Redagavo gintulis· 2010 Kov. 9 01:03:03

Parašė Impossibru· 2010 Kov. 9 14:03:18
#4

Apsirikau biški, redaguokis includes/output_handling_include.php failą.

Parašė gintulis· 2010 Kov. 9 15:03:23
#5

Na net neisivaizduoju ka čia reikia keist vietom ir ka pašalint, būkit žmonės padėkit kas moka.

<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: output_handling_include.php
| Author: Max Toball (Matonor)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
$fusion_page_replacements = "";
$fusion_output_handlers = "";
$fusion_page_title = $settings['sitename'];
$fusion_page_meta = array("description" => $settings['description'], "keywords" => $settings['keywords']);
$fusion_page_head_tags = "";

function set_title($title=""){
   global $fusion_page_title;
   
   $fusion_page_title = $title;
}

function add_to_title($addition=""){
   global $fusion_page_title;
   
   $fusion_page_title .= $addition;
}

function set_meta($name, $content=""){
   global $fusion_page_meta;
   $fusion_page_meta[$name] = $content;
}

function add_to_meta($name, $addition=""){
   global $fusion_page_meta;
   if(isset($fusion_page_meta[$name])){
      $fusion_page_meta[$name] .= $addition;
   }
}

function add_to_head($tag=""){
   global $fusion_page_head_tags;
   
   if(!stristr($fusion_page_head_tags, $tag)){
      $fusion_page_head_tags .= $tag."\n";
   }
}

function replace_in_output($target, $replace, $modifiers=""){
   global $fusion_page_replacements;
   
   $fusion_page_replacements .= "\$output = preg_replace('^$target^$modifiers', '$replace', \$output);";
}

function add_handler($name){
   global $fusion_output_handlers;
   if(!empty($name)){
      $fusion_output_handlers .= "\$output = $name(\$output);";
   }
}

function handle_output($output){
   global $fusion_page_head_tags, $fusion_page_title, $fusion_page_meta, $fusion_page_replacements, $fusion_output_handlers, $settings;

   if(!empty($fusion_page_head_tags)){
      $output = preg_replace("#</head>#", $fusion_page_head_tags."</head>", $output, 1);
   }
   if($fusion_page_title != $settings['sitename']){
      $output = preg_replace("#<title>.*</title>#i", "<title>".$fusion_page_title."</title>", $output, 1);
   }
   if(!empty($fusion_page_meta)){
      foreach($fusion_page_meta as $name => $content){
         $output = preg_replace("#<meta (http-equiv|name)='$name' content='.*' />#i", "<meta \\1='".$name."' content='".$content."' />", $output, 1);
      }
   }
   if(!empty($fusion_page_replacements)){
      eval($fusion_page_replacements);
   }
   if(!empty($fusion_output_handlers)){
      eval($fusion_output_handlers);
   }
   
   return $output;
}

?>



Redagavo gintulis· 2010 Kov. 9 15:03:37

Parašė Styrius· 2010 Kov. 9 22:03:11
#6

<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: header.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }

require_once INCLUDES."output_handling_include.php";
require_once INCLUDES."header_includes.php";
require_once THEME."theme.php";

if ($settings['maintenance'] == "1" && !iADMIN) { redirect(BASEDIR."maintenance.php"); }
if (iMEMBER) { $result = dbquery("UPDATE ".DB_USERS." SET user_lastvisit='".time()."', user_ip='".USER_IP."' WHERE user_id='".$userdata['user_id']."'"); }

echo "<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>\n";
echo "<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='".$locale['xml_lang']."' lang='".$locale['xml_lang']."'>\n";
echo "<head>\n<title>".$settings['sitename']."</title>\n";
echo "<meta http-equiv='Content-Type' content='text/html; charset=".$locale['charset']."' />\n";
echo "<meta name='keywords' content='".$settings['keywords']."' />\n";
echo "<meta name='description' content='".$settings['description']."' />\n";
echo "<link rel='stylesheet' href='".THEME."styles.css' type='text/css' media='screen' />\n";
if (file_exists(IMAGES."favicon.ico")) { echo "<link rel='shortcut icon' href='".IMAGES."favicon.ico' type='image/x-icon' />\n"; }
if (function_exists("get_head_tags")) { echo get_head_tags(); }
echo "<script type='text/javascript' src='".INCLUDES."jscript.js'></script>\n";
echo "<script type='text/javascript' src='".INCLUDES."jquery.js'></script>\n";
echo "</head>\n<body>\n";

require_once THEMES."templates/panels.php";
ob_start();
?>



Mėgink gal taip

Redagavo Impossibru· 2010 Kov. 10 13:03:03

Parašė gintulis· 2010 Kov. 9 23:03:00
#7

Išjunk smailus .

Parašė gintulis· 2010 Kov. 15 22:03:56
#8

Vis dėl to nepadėjo ar tikrai niekas nežinote kaip tai pdaryti nejaugi toks sunkus klausimas?
Reikėtu kaip yra šiame saite prima eina pavadinimas ir tada tinklapio pavadinimas.

Redagavo gintulis· 2010 Kov. 15 22:03:29