why oh why?

GK User
Wed Sep 28, 2011 6:42 am
I am in the middle of upgrading one of our sites that used this template from 1.5 to 1.7.

I think you could have been a little nicer and made it more compatible for people to upgrade. AS it is your CSS in 1.7 version is so different from that in 1.5 I am having to hand code the whole site again.

Why have you changed the names of all the divs? And split things away from main template CSS into other files with no reference to where they have gone?

The amount of times I have been shaking my head this past year... is it worth it?
User avatar
Junior Boarder

GK User
Wed Sep 28, 2011 7:26 pm
There's no way of setting header1 width in this template.

Is it supposed to be like that? Or is it an omission that I can fix?

Thanks
User avatar
Junior Boarder

GK User
Thu Sep 29, 2011 11:03 am
can't delete overrides once added!

Is this a great new feature?
User avatar
Junior Boarder

teitbite
Thu Sep 29, 2011 6:12 pm
Hi

To upgrade the template all You need to do is delete the old one and install a new one. Module positions are the same, so updated modules should display ok.

Try clear cache, or disable it at all during the update. The width of columns is set in template configuration, but if You want to override it in css than use !important at the end.
User avatar
Moderator

GK User
Thu Sep 29, 2011 6:58 pm
Thanks for the reply

When I decide to use a template, it is very rare that I leave it as is, I more often than not do lots and lots of customization in CSS and occasionally layouts. So when I update the template it would have been nice if the template.css from 1.5 could have been used in the 1.7 version. Unfortunately more than 80% (at a guess) of the divs have been renamed and I have to redo the whole template again.

The one thing I will say is that 1.7 template is a little simpler to customize than the old one but it's still 2-3 days work.

I cannot get overrides to work at all in the 1.7 template. What is the routine to creating say a new blog override?

Thanks
User avatar
Junior Boarder

teitbite
Fri Sep 30, 2011 9:17 am
Hi

Sorry but we cannot do much about it. 1.5 and 1.7 are using different frameworks so the names of layers are different :(
User avatar
Moderator

GK User
Fri Sep 30, 2011 1:05 pm
Thanks, any tips on doing overrides?? Really quite important
User avatar
Junior Boarder

teitbite
Mon Oct 03, 2011 5:56 pm
Hi

It's a different framework so please simply use a version for 1.7. It's gonna be really hard to upgrade couple of files only. So this is the easiest way.
User avatar
Moderator

GK User
Mon Oct 03, 2011 7:19 pm
Sorry I think you misunderstood(or was it me?)

I need to know how to do a layout override in joomla 1.7 using your template. It was easy in 1.5 but cannot get it to work in 1.7
User avatar
Junior Boarder

teitbite
Wed Oct 05, 2011 12:04 pm
Hi

I do not quite understand what is a layout override. I would simply go to layout/blocks and change what I need :)
User avatar
Moderator

GK User
Thu Oct 06, 2011 4:04 pm
Nevermind! I managed to figure it out.

This is the waY I do it, not sure if it's the best way, perhaps you can tell me different

Copy head.php from layout/blocks and rename (ie blog101.php).

Edit this line to reflect new css for layout

Code: Select all
$this->addCSS($this->URLtemplate() . '/css/style'.blog101'.css');


Copy Default.php from layout and rename (ie blog101.php).

Edit these lines

Code: Select all
<head>
    <jdoc:include type="head" />
    <?php $this->loadBlock('blog101'); ?>
</head>


so now I can set any menu item to use this new layout and do whatever I want in CSS etc.

Is there another or better way?
User avatar
Junior Boarder

teitbite
Sun Oct 09, 2011 11:33 am
Hi

Yes. We have already prepared override.css file for this kind of css changes.
User avatar
Moderator


cron