1 Attachment(s)
Layout Settings Not Allowing a HTML Space
I am trying to add spaces to my layout setting area (Categories SubCategories Indent and another field on this page). Obviously I should be able to add this to the field: or this for a double space: and save right? Pretty simple in the past.
These areas did haves the space entered as default but I removed them during some testing. Now I want them back. When I add this coding to this admin area and save it creates this:
Code:
  
and no spaces happen where they should.
It won't let me put the standard coding in the field it converts the & symbol to the html version. And it does not add the space if I put the cursor in the box and hit the space bar then save. It just stays blank. This seems like a bug to me. How can I enter the space coding and have it properly convert? Never had this before something is funny.
See attached image below please.
Attachment 16974
Re: Layout Settings Not Allowing a HTML Space
Try escaping the ampersand, like:
/ :/ :
or should it be
\ :\ (I often get these mussed up) :)
No promises that it'll work, but worth a shot.
Cheers
Rod
Re: Layout Settings Not Allowing a HTML Space
I tried your suggestion the issue still persist. It still converts the ampersand even with the escape.
Re: Layout Settings Not Allowing a HTML Space
Re: Layout Settings Not Allowing a HTML Space
Quote:
Originally Posted by
RodG
Try escaping the ampersand, like:
/ :/ :
or should it be
\ :\ (I often get these mussed up) :)
No promises that it'll work, but worth a shot.
Cheers
Rod
Although reported not to work, the backslash (on US keyboard typically above the enter key) is the escape key. I think though that gilby's suggestion is the more likely correction at least when dealing with a slightly older install of ZC 1.5.5 as sanitization rules went through some further development after release.
Re: Layout Settings Not Allowing a HTML Space
Thank you Gilby the solution you provided worked! I did perform a search before asking this question but for some reason just did not find the answer you provided. Anyway, I appreciate your help!
Re: Layout Settings Not Allowing a HTML Space
What version of Zen Cart 1.5.5 are you running? I had no issue setting the Breadcrumb Separator to :: in a ZC 1.5.5a admin. There were "sanitization" problems in the "un-suffixed" versions of 1.5.5, but that was corrected in 1.5.5a.
Re: Layout Settings Not Allowing a HTML Space
I am running version 1.5.5a fresh install (I am fairly sure of this). I didn't have to modify the third file, that says if you have v1.5.5a no need to modify. And the fix worked properly. So I don't know why it didn't work for my 1.5.5a but did for you. But it is a slightly older 1.5.5a install. I installed it on 5/28/2016.
When I download the Zen Cart program, I name the folder the version number of the download. So when I look at my original zen cart website files I can clearly see which version I started with. My folder says v1.5.5a.
Re: Layout Settings Not Allowing a HTML Space
Quote:
Originally Posted by
lat9
What version of Zen Cart 1.5.5 are you running? I had no issue setting the Breadcrumb Separator to :: in a ZC 1.5.5a admin. There were "sanitization" problems in the "un-suffixed" versions of 1.5.5, but that was corrected in 1.5.5a.
My original test version of 1.5.5a shows the problem. Might have been fixed in a later version of 1.5.5a
Re: Layout Settings Not Allowing a HTML Space
Quote:
Originally Posted by
gilby
My original test version of 1.5.5a shows the problem. Might have been fixed in a later version of 1.5.5a
Arggh, you're correct (of course). While 1.5.5a corrected many of the "over-sanitization" issues, the issue reported by @sports guy was corrected in v1.5.5c.