We moved to new unified forum!

Please post all new support queries in our New Forum.

T3 Community Discussion & Support

Let's build the best free Joomla template framework, together!
  1. Henrik Holm Nielsen
  2. General Discussion
  3. Thursday, 12 September 2013
  4.  Subscribe via email
Hi,

I am currently developing a new site, based on T3V3 1.4.1 and J2.5 which can accessed on http://design.qkom.dk/mejnerts.

I have created a custom layout based on T3 Blank, where I have created a few new positions and also removed a couple compared to the default layout. And this part have until now, been working fine.
But - all of a sudden, I find myself in a situation where the layout.ini file for my custom layout, is being reset each time a template style using the custom layout, is being saved in Template Manager.

I've checked http://t3-framework.org/discussions/template-positions-reset-after-saving-on-t3-blank.html but to no avail.

Does anybody have an idea on why this happens? Could this be due to a problem with my custom tpls layout file?

Cheers,
Henrik Holm Nielsen :)

EDIT: Wrong URL in original post....
Comment
There are no comments made yet.
Accepted Answer
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Henrik Holm Nielsen,

I have checked on your site.
You have add two more position and use a not correct way to specify the responsive for those modules.

Also, T3 Layout setting file (.ini) is a temporary file which use to store what you make change in the backend.
So, you need to construct the default value (via code) for those setting value. It means, if the layout (.ini) does not exist, the template still work as the default layout setting.

The layout (.ini) files are used to store what you make changes over the default layout.

I have make some change to your code t3_blank/tpls/blocks/mainbody-mejnerts.php

<?php if ($this->countModules('abovecontent-left')) : ?>
<div class="abovecontent-left <?php $this->_c($abovecontentleft, array('default' => 'span6', 'xtablet' => 'span9', 'tablet' => 'span12', 'mobile' => 'span12'))?>">
<jdoc:include type="modules" name="<?php $this->_p('abovecontent-left') ?>" style="raw" />
</div>
<?php endif ?>


You can specify the responsive value in _c function like above.

Regards
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # Permalink
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Hidde, it's fine to raise issue here. Please PM me your site, admin account and ftp, I'm gonna to check and help.

Gardner.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hello,

I have the same problem, when I save my template, the Layout.ini automatically changes to the default settings (and messing my layout up).

Do I have to change something in the .ini file or in the block file as above?

(p.s. I don't know if I have to open a new topic or just can use this old one?)

Greetings, Hidde
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you SO much for you help and explanation of the problem - you are my new hero!
I had some difficulties understanding the connection between the parameters and the templates - especially how the were used!
Everything works now, and I really appreciate you taking the time!

Cheers :)
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
For consistent, please use single variable or constant for you position value:
$abovecontentleft or 'abovecontent-left'

:)
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Super User,

Thanx for taking the time - really appreciate it!
PM has been sent!

Cheers :)
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Henrik Holm Nielsen,

It is weird.
Please pm your site information (admin/ftp) to me and tell me the step to reproduce the issue.
We will try to check to see what is wrong there.

Regards
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 6
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.