| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
make tpl files in admin open with toggle editor unchecked | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I want to know how to make the .tpl files open up with the "toggle editor" checkbox at the bottom unchecked. The reason is that when I open up the main.css file in content/edit templates, it takes forever and freezes my browser until it is finished opening.
I am doing this in version 4.6.0 I have narrowed the .tpl file I need to edit down to /common_files/admin/main/edit_file.tpl and I believe it is in this line Code:
I thought it would be just changing the Code:
Can anyone help?
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3 mods: reCaptcha running on UNIX www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2 mods: reCaptcha cdseo pro running on UNIX |
|||||||
#2
|
|||||||||
|
|||||||||
![]() In /common_files/admin/main/edit_file.tpl
Change line: 26 {if $use_edit_area} to {if !$use_edit_area}
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#3
|
|||||||
|
|||||||
![]() Hi Steve, That was close but not quite what what I was looking for. That removed the toggle editor checkbox completely. I would rather have the checkbox there but unchecked by default. That way I can activate the editor if I need it. Do you know how to do that?
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3 mods: reCaptcha running on UNIX www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2 mods: reCaptcha cdseo pro running on UNIX |
|||||||
|
|||
X-Cart forums © 2001-2020
|