T3 Community Discussion & Support

Let's build the best free Joomla template framework, together!
  1. Alan McLaren
  2. General Discussion
  3. Wednesday, 08 January 2014
  4.  Subscribe via email
Every update resets positions back to their original "Default" positions.
This means I need to remember to check positions on all updates to the "Template".
This changes the way my site looks.
How can I avoid this issue?
Image attached to see what I am encountering.
Attachments (1)
Comment
There are no comments made yet.
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Alan McLaren,

The layout config for template is store in \templates\[your template]\etc\layout folder.
You can backup those files in this folder then restore it after upgrade.
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
Create copies of blocks that will be used and placing a rename - p at the end of each block name :

check the template that will work and replace the names of origin putting you created.


<body>

    < ? php $ this - > loadBlock ( ' header' ) >
    
    < ? php $ this - > loadBlock ( ' mainnav ' ) >

    < ? php $ this - > loadBlock ( ' spotlight- 1 ' ) >

    < ? php $ this - > loadBlock ( ' mainbody ' ) >
    
    < ? php $ this - > loadBlock ( ' spotlight- 2 ' ) >
    
    < ? php $ this - > loadBlock ( ' navhelper ' ) >
    
    < ? php $ this - > loadBlock ( ' footer ' ) >
    
  < / body>


Replace p by placing a custom after the name of each block :

<body>

    < ? php $ this - > loadBlock ( ' header- p' ) >
    
    < ? php $ this - > loadBlock ( ' mainnav - p' ) >

    < ? php $ this - > loadBlock ( ' spotlight- 1 - p' ) >

    < ? php $ this - > loadBlock ( ' mainbody - p' ) >
    
    < ? php $ this - > loadBlock ( ' spotlight- 2 - p' ) >
    
    < ? php $ this - > loadBlock ( ' navhelper - p' ) >
    
    < ? php $ this - > loadBlock ( ' footer- p' ) >
    
  < / body>

Personalize and be happy . This week has been tested this style of work, and did the update , and it worked perfectly after the upgrade. I recommend if you go to customize your theme to replace all references to the piece that will customize to avoid problems . I had one problem that was corrected with a line of css .
Put background-color : # 2e8ece important , and set the custom color ! . But I did not refer to background-image , background and returned to the original color. realized new test replacing all references and this time included " background-image : none ; " and updated my theme perfectly , with no changes this time . then, in case of customization , do not skimp css lines . My slucionado problem was the inclusion of a single line. Even more , I hope I can contribute.
  Resende - Rio de Janeiro, Brazil
Visit 
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
Do not delete the original blocks, create copies and new names for their copies. In case of update, joomla, errors if the originals are not in folders occur, forgot to say. I also did this test.
  Resende - Rio de Janeiro, Brazil
Visit 
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 3
  • Page :
  • 1


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