[ bolepks @ 24.01.2014. 19:09 ] @
Pratio sam tutorijal http://programiranje.org/post541.html#p541 za pravljnje temlejta i sve odradio kako treba xml stranica kod Code: <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE install PUBLIC "-//Joomla! 2.5//DTD template 1.0//EN" "http://www.joomla.org/xml/dtd/1.6/template-install.dtd"> <extension version="2.5" type="template" client="site"> <name>ProgramiranjeOrgJoomlaTemplate</name> <creationDate>August 2012</creationDate> <author>HepeK</author> <copyright>GPL</copyright> <authorEmail>[email protected]</authorEmail> <authorUrl>www.programiranje.org</authorUrl> <version>1.0</version> <description>Pokazna verzija template-a za joomla 1.5</description> <files> <filename>index.php</filename> <filename>templateDetails.xml</filename> <folder>images</folder> <folder>css</folder> </files> <positions> <position>gore</position> <position>dole</position> <position>lijevo</position> <position>desno</position> <position>footer</position> <position>menu</position> <position>header</position> </positions> </extension> index.php Code: <?php defined( '_JEXEC' ) or die( 'Restricted access' );?> <!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; ?>" > <head> <jdoc:include type="head" /> <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;?>/css/template.css" type="text/css" /> <link href="css/template.css" rel="stylesheet" type="text/css" /> </head> <body> <div class="kontejner"> <div class="header"></div> <div class="meni"><jdoc:include type="modules" name="menu" /> </div> <div class="wrapper"> <div class="boxLijevo"><jdoc:include type="modules" name="lijevo" /> </div> <div class="boxCentar"><jdoc:include type="component" /></div> <div class="boxDesno"><jdoc:include type="modules" name="desno" /> </div> <div style="clear: both;"></div> </div> <div class="footer"><jdoc:include type="modules" name="footer" /> </div> </div> </body> </html> css Code: @charset "utf-8"; /* CSS Document */ body{ background: silver; margin: 0; padding: 0; } .kontejner{ width: 960px; margin: 0 auto 0 auto; } .header{ width: 100%; height: 150px; background: green; } .meni{ width: 100%; height: 35px; background: yellow; } .wrapper{ width: 100%; } .boxLijevo{ width: 200px; float: left; background: #8080FF; } .boxCentar{ width: 560px; float: left; background: #FF8040; } .boxDesno{ width: 200px; float: left; background: #8080FF; } .footer{ width: 100%; background: maroon; } Kad pokušam da prebacim preko FTP u folder templates vidi se u folderu ali u panelu ne kao da nije ativna , ali kada zazipujem i preko Joomle javlja grešku Ka pokušam da zazipujem folder pa preko Joomle panela javlja grešku JInstaller: :Install: File does not exist /home/vol15_5/byethost24.com/b24_14248879/htdocs/joomla/tmp/install_52e2b7c15f9ee/tutorial_template/images |