-
AuthorPosts
-
April 29, 2016 at 3:41 pm #924538
Hello, I’m trying to edit the width of positions 1, 2 and 3 in a particular template. But when I do the changes I make to that particular template are occurring in ALL my templates.
For example, in the template titled "Interior_Page_Template_3" I pulled out positions 1, 2 and 3 so that they extended the width of the screen. I saved my changes. When I went to view the site, the homepage which uses template "LaurieTest_2" was showing positions 1, 2 and 3 altered as I did in the "Interior_Page_Template_3".
Can you explain to me what is happening and how I can edit specific templates without affecting the other templates in use?
Thank you,
Lauriepavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
April 29, 2016 at 5:38 pm #924560Hi
You are using a very old template release ( 1.1.3 ) and T3 Framework release ( 2.5.2 )
After you taked a whole website backup ( database and folders ) update both extensions
After updated you can do in this way , instead to use a template copy you can duplicate the layout file and work with it
To have it done go to this folder /templates/ja_biz/tpls/ and copy and past the home.php file renaming it as you prefer ( newhome ) then when you edit your new template layout, changing positions width select the new file from layouts .
Regards
-
May 6, 2016 at 3:41 pm #927626
The updates have been performed.
I’m not clear on your explanation. Copy and paste to where?
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
May 6, 2016 at 3:58 pm #927632I’m not clear on your explanation. Copy and paste to where?
In the same folder /templates/ja_biz/tpls/
May 6, 2016 at 5:26 pm #927656I apologize, I’m not a developer and I don’t understand where you are telling me to paste the copied home.php text.
When I follow the file path you are suggesting and click on the tpls folder I am not given any area to paste into it just shows me a bunch of sub menus (see screenshot).
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
May 6, 2016 at 6:37 pm #927675Hi
I copied the new layout file in /tpls folder and named it new-home , then i assigned this new php layout file to your template style "Interior_Page_Template_3 " and changed positions width.
As you can see the changes are applied only to this layout style, your layout "LaurieTest_2" is still keeping it’s own settings
Regards
-
May 13, 2016 at 3:18 pm #930427
This isn’t something that I am able to do as I do not have access to the web server to access these folders. I was able to edit each template individually by going to templates/styles and then clicking the desired template within Joomla! to edit. I did not have any problems with my changes affecting other templates until recently. Is there a way other then the way you described above (since I don’t have the access to perform those steps) that it can be done in Joomla!? It seems ridiculous that the functionality is presented but doesn’t work properly.
Thank you.
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
May 13, 2016 at 3:51 pm #930433This isn’t something that I am able to do as I do not have access to the web server to access these folders.
Hi
This can be done also inside Joomla itself, it is not needed to access web server, also i already done it, so you do not have to do nothing else, but only to select the proper layout already created by me.
It seems ridiculous that the functionality is presented but doesn’t work properly.
It works fine, if you know how to do it, everything is already described into T3 Framework documentation HERE
June 22, 2016 at 7:47 pm #943003Can you explain step by step how you accomplished this? Your explanation is not clear to me. I have to do it again with another template file.
Thank you.
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
June 23, 2016 at 9:02 am #943234Can you explain step by step how you accomplished this? Your explanation is not clear to me. I have to do it again with another template file.
There is nothing much that i can add to what was already into the documentation
You should follow these steps : for example let’s say you want to duplicate and change default layout1) Copy default.php file in this folder /templates/ja_biz/tpls/default.php and rename it for example default-new.php
2) Duplicate a template theme for example ja_biz default and call it ja_biz default_new
3) in this new template assign into layout tab your newly created layout file (default_new)
4) Now you can change all settings in this new layout and if you want to add new positions or change positions order to it then you can edit your /templates/ja_biz/tpls/default_new.php
Hope my explanation is clear now.
June 23, 2016 at 12:51 pm #943300Thank you. You are telling "what" to do, I’m asking for instruction on "how" to do it. For example, in #1 above
1) Copy default.php file in this folder /templates/ja_biz/tpls/default.php and rename it for example default-new.php
How do I copy a default php file into a folder and rename it?
If you could please explain the how and not the what I would appreciate it. Thank you.
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
June 23, 2016 at 2:49 pm #943352If you do not have an ftp access to your folders then you can download and install THIS EXTENSION It is simulating an ftp client .
Or you can do also in this way
Go to Extensions -> Templates -> on the left sidebar you can find 2 menu items
1 – Styles
2 – TemplatesClick on Templates -> Now you can see a list of templates installed on your website
Click on Ja_biz Details and Files link
On the left sidebar you will see all folders contained into your /templates/ja_biz/ folder
To copy and rename a file first select it ( img-1)
click now on new file (img-2)
Add new file name in field copy file (img-3)
scroll down until you can find the folder in which you want to add your copied file (img-4)
scroll up to click on copy file button
Now you have your default.php duplicated in default_new.php ( img-5)
Best regards
- June 23, 2016 at 3:07 pm #943362
Excellent, thank you!
How about instructions for the following steps:
2) Duplicate a template theme for example ja_biz default and call it ja_biz default_new
3) in this new template assign into layout tab your newly created layout file (default_new)
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
June 23, 2016 at 3:16 pm #943368Go to templates
and follow instructions as per images below
- June 23, 2016 at 5:43 pm #943419
Ok, I followed all your steps and created a new template called "Pages that use positions 4 5 and 6 Template", I went in and turned OFF positions 4, 5 6 in the "large" view under layout. This change is STILL AFFECTING THE ENTIRE SITE. I want to be able to edit a template so that I can apply it to the home page and it not affect the rest of the site.
If you go to these two pages:
https://nysfda.org/index.php/resources/business-topics
https://nysfda.org/index.php/affiliates/nys-tribute-foundation
There is supposed to have modules in positions 4, 5 and 6. But since I made the edits to my new template "Pages that use positions 4 5 and 6 Template" they have disappeared from these pages.I need to be able to make changes to one template and not have it affect the rest of the site. Please help.
AuthorPostsThis topic contains 15 replies, has 2 voices, and was last updated by pavit 8 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum