The Joomla! Forum ™






Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Mon Aug 06, 2012 5:15 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Jul 03, 2012 12:37 pm
Posts: 2
I run Joomla 2.5.5.
In extras template manager I selected beez_20 and saved it under beez_20_4_hgv.

Implicitely the directory beez_20 has been copied to a new directory and a few reasonable adaptions were made.
So far no problem. However when I choose the newly saved template and make it the default template some unexpected things happen:

==== # see update below # The main menu previously in the left column now is found in the right column
==== # see another update below # The graphics for the buttons bigger/reset/smaller etc. are replaced by some text e.g. TPL_BEEZ2_BIGGER
==== # see update below # The title bar graphic (We are volunteers) is no longer seen - only a background colour is shown

What is wrong, what else has to be done?
Any help greatly appreciated!

Update 09.08.2012: Apparently the advanced options are not saved under the new name and are not part of the files copied.
By resetting option TPL_BEEZ2_OPTION_PERSONAL / Template Colour to personal the graphic (We are volunteers) comes back.
By resetting option TPL_BEEZ2_OPTION_BEFORE_CONTENT / Navigation position the menus return to the left column
Would be nice to know where the advanced options are stored.

Still unresolved: The texts TPL_BEEZ2_BIGGER, ... are not translated to Bigger. Such translation is found in ./language/en-GB/en-GB.tpl_Beez_20_4_HGV.ini but is not done.

another update 09.08.2012:
I found a solution in post " Issues with creating new version of beez_20": I had to rename two files that were misnamed (capital letters!) by the original save under function:
hhlux2:/srv/www/htdocs/Joomla_hh/templates/beez_20_4_hgv/language/en-GB # mv en-GB.tpl_Beez_20_4_HGV.ini en-GB.tpl_beez_20_4_hgv.ini
hhlux2:/srv/www/htdocs/Joomla_hh/templates/beez_20_4_hgv/language/en-GB # mv en-GB.tpl_Beez_20_4_HGV.sys.ini en-GB.tpl_beez_20_4_hgv.sys.ini
hhlux2:/srv/www/htdocs/Joomla_hh/templates/beez_20_4_hgv/language/en-GB # ls
en-GB.tpl_beez_20_4_hgv.ini en-GB.tpl_beez_20_4_hgv.sys.ini index.html

============ my issue is solved ============ :)
the function "Save under" for a template definitely is a little bit faulty/incomplete. :'(

===================================================== Details:
I partially verified what joomla had done:
hhlux2:/srv/www/htdocs/Joomla_hh/templates # diff -r beez_20 beez_20_4_hgv
Only in beez_20_4_hgv/language/en-GB: en-GB.tpl_Beez_20_4_HGV.ini
Only in beez_20_4_hgv/language/en-GB: en-GB.tpl_Beez_20_4_HGV.sys.ini
Only in beez_20/language/en-GB: en-GB.tpl_beez_20.ini
Only in beez_20/language/en-GB: en-GB.tpl_beez_20.sys.ini
diff -r beez_20/templateDetails.xml beez_20_4_hgv/templateDetails.xml
4c4
< <name>beez_20</name>
---
> <name>Beez_20_4_HGV</name>
53,54c53,54
< <language tag="en-GB">en-GB/en-GB.tpl_beez_20.ini</language>
< <language tag="en-GB">en-GB/en-GB.tpl_beez_20.sys.ini</language>
---
> <language tag="en-GB">en-GB/en-GB.tpl_Beez_20_4_HGV.ini</language>
> <language tag="en-GB">en-GB/en-GB.tpl_Beez_20_4_HGV.sys.ini</language>
hhlux2:/srv/www/htdocs/Joomla_hh/templates # diff beez_20_4_hgv/language/en-GB/en-GB.tpl_Beez_20_4_HGV.sys.ini beez_20/language/en-GB/en-GB.tpl_beez_20.sys.ini
hhlux2:/srv/www/htdocs/Joomla_hh/templates # diff beez_20_4_hgv/language/en-GB/en-GB.tpl_Beez_20_4_HGV.ini beez_20/language/en-GB/en-GB.tpl_beez_20.ini
hhlux2:/srv/www/htdocs/Joomla_hh/templates #

Searching for unusual image references doesn't yield a hint. The line in ./beez_20_4_hgv/html/modules.php is not properly modified but this does not explain the different display.

hhlux2:/srv/www/htdocs/Joomla_hh/templates # grep -r -e 'images' ./beez_20_4_hgv | grep -v -e 'url(../images'
./beez_20_4_hgv/index.php: var bildauf='<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/images/plus.png';
./beez_20_4_hgv/index.php: var bildzu='<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/images/minus.png';
./beez_20_4_hgv/css/layout.css: background:url("../images/content_bg.gif") repeat-x scroll 0 0 #FFFFFF;
./beez_20_4_hgv/css/nature.css:/* ++++++++++++++ images ++++++++++++++ */
./beez_20_4_hgv/css/personal.css_ori2.5.5: background: #0c1a3e URL(../images/personal/personal2.png) no-repeat bottom right ;
./beez_20_4_hgv/css/personal.css_ori2.5.5:/* ++++++++++++++ images ++++++++++++++ */
./beez_20_4_hgv/css/personal.css: background: #0c1a3e URL(../images/personal/personal2.png) no-repeat bottom right ;
./beez_20_4_hgv/css/personal.css:/* ++++++++++++++ images ++++++++++++++ */
./beez_20_4_hgv/css/black.css: background: #171818 URL(../images/personal/personal2.png) no-repeat top
./beez_20_4_hgv/css/black.css:/* ++++++++++++++ images ++++++++++++++ */
./beez_20_4_hgv/css/template_rtl.css: background-image:url("../images/system/notice-note_rtl.png")!important;
./beez_20_4_hgv/html/modules.php: class="no"><img src="templates/beez_20/images/plus.png"
./beez_20_4_hgv/templateDetails.xml: <folder>images</folder>
hhlux2:/srv/www/htdocs/Joomla_hh/templates #


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 



Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group