Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

When duplicating a template style, i don't get a duplicate

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Just curious as to why, when I duplicate (or save as copy) a buildr template style, I don't actually get a duplicate or a copy, I just get a default 'Xero' configuration. Maybe I'm doing something...wrong?
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
Last Edit: 7 years 3 months ago by blueshift.
The administrator has disabled public write access.
hmm interesting

What template style are you duplucating? - so I can test it

Are you working locally or on a live server?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
live server. this has happened to me several times, not just on my http development server.
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
The administrator has disabled public write access.
Are you using the same template style e.g. backgrounder, koan etc?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
That's what I assume 'Duplicate' means... Buildr > Standard > all positions > my saved theme variations. What I get is default Xero....something. Basically, starting over from scratch, not with a duplicate.
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
Last Edit: 7 years 3 months ago by blueshift.
The administrator has disabled public write access.
hmm do you get the same if you open the template style and do "save as copy" ?
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Yes. The same result.
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
The administrator has disabled public write access.
Can you try this

Save a copy of a template theme - note its id

Also note the id of the template style you want to copy e.g. the template style with the good settings

Open up this path

\templates\buildr\settings\config

delete the json file for the latest style created (the copy)

Copy the json file with the settings you do want to copy and paste the file e.g. so you have a duplicate

Rename the file with id of the file you deleted


Make sure you have a backup in case you delete the original :)

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
why that almost makes the 'duplicate template style' button seem like work. :whistle:
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
Last Edit: 7 years 3 months ago by blueshift.
The administrator has disabled public write access.
I'll need to ask on this why the button doesn't work but I think trying what I suggested will work

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
If a blank white screen means it's working, then it's perfect. :pinch:
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
The administrator has disabled public write access.
hmm it did work for me

New template style

creating a copy of the json file you want

deleting the one you don't

renaming the json copy to match the name of the json file deleted
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
what color is your mouse?
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
The administrator has disabled public write access.
Black :)
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hmmm. Mine too. So that's not it.
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
The administrator has disabled public write access.
still a white screen?
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Cache was on... :pinch:
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
The administrator has disabled public write access.
ah it's a right pain when that happens
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
I will ask on this when people are back online after Christmas
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
to the transporter room.... :cheer:
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers