[Pro] CSS Menu glitch

Hi

My CSS menu has gone a bit weird. See linked page below - the menu at the top has a weird little checkbox and is not sitting across the top of the page as it should. If you click the “previous page” link in the menu, you will see how it’s supposed to look. Quite randomly, it works correctly on some of these product pages but not on others. I don’t understand since all these product pages are based on the same master and they used to work fine.

I’m not a developer by any means but I looked at the source code and used the debugger thing in Safari and it highlighted an error along the lines that some (CSS) files were not allowed to be accessed from local drive (or something). Again, don’t understand since all the pages were created from the same master, so why do some pages work and others not?

Only thing I’ve done recently is apply Walter’s HTTPS Helper - ActionsForge to all the pages on the site by applying it to the two master pages I use. That action itself works like a charm for the Mal’s Cart https issue - thanks Walt.

Prior to that, the site hadn’t been updated for a few months (I think)

Any help would be greatly appreciated.

Regards

Diane

https://bodycomm.com.au/Products/resilio.html


freewaytalk mailing list
email@hidden
Update your subscriptions at:

Try deleting all files in your local Site Folder (defined in the File / Document Setup dialog) on your Mac. This will force Freeway to make a new copy of each file in your site, which should sort this out. The Action should not have caused anything like this to happen, because all it does is a string replacement from http: to https: in the page’s link, script, form, and a tags. Internal links (like the one to the stylesheet) are not prefixed with a protocol like http. They are “relative” URLs instead, showing a path – how to get “there” from “here”, rather than a complete URL with scheme, host, port, and path.

Walter

On Nov 9, 2018, at 9:38 AM, Diane Low email@hidden wrote:

Hi

My CSS menu has gone a bit weird. See linked page below - the menu at the top has a weird little checkbox and is not sitting across the top of the page as it should. If you click the “previous page” link in the menu, you will see how it’s supposed to look. Quite randomly, it works correctly on some of these product pages but not on others. I don’t understand since all these product pages are based on the same master and they used to work fine.

I’m not a developer by any means but I looked at the source code and used the debugger thing in Safari and it highlighted an error along the lines that some (CSS) files were not allowed to be accessed from local drive (or something). Again, don’t understand since all the pages were created from the same master, so why do some pages work and others not?

Only thing I’ve done recently is apply Walter’s HTTPS Helper - ActionsForge to all the pages on the site by applying it to the two master pages I use. That action itself works like a charm for the Mal’s Cart https issue - thanks Walt.

Prior to that, the site hadn’t been updated for a few months (I think)

Any help would be greatly appreciated.

Regards

Diane

Resilio


freewaytalk mailing list
email@hidden
Update your subscriptions at:
Information for existing FreewayTalk / Groups.io users - Site Feedback - Softpress Talk


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Thanks Walt. I did what you suggested re: deleting the contents of the site folder (I had actually done it before the original post but I did it again) and the issue is still there. Curiously, I disabled the https-helper action on some of the pages that were having the issue, just by unchecking the box in the action, and now the menus on those pages are fine. The pages that I did not disable the https-helper on and that had the issue with the menu, still have the issue. Any thoughts?


freewaytalk mailing list
email@hidden
Update your subscriptions at:

No, the only thing this Action does is rewrite links to external resources, not internal. No idea how the two could conflict. Have you tried locating the file in your Site Folder on your Mac? Where does it actually end up? If you can find it in a spot where your page doesn’t expect it, try using an FTP application like CyberDuck (free) to move it on your server into the place where your page is looking for it. See if that works as a patch, then also check that another page isn’t looking for it in the place where it was. I’m not discounting your debugging here, just trying to understand how it is even possible that it does this. I can’t spend any time on this right this second, as I’m on my way out the door, but later I could add a guard to the code so it only rewrites the link if the origin is truly remote. That might make a difference, but I can’t tell from here.

If you can create a single page document that duplicates this problem, please send it to me off-list. (I don’t want your entire site, just one page that shows the problem. I have a greedy reason for requesting this – often times, trying to duplicate the problem in a new document is impossible, which tells us that the problem is elsewhere, despite the fact that just disabling the Action makes it go away.)

My address is in my profile if you are viewing this on the Web. If you’re using the mail interface to the list, then you already know it.

Walter

On Nov 11, 2018, at 8:13 AM, Diane Low email@hidden wrote:

Thanks Walt. I did what you suggested re: deleting the contents of the site folder (I had actually done it before the original post but I did it again) and the issue is still there. Curiously, I disabled the https-helper action on some of the pages that were having the issue, just by unchecking the box in the action, and now the menus on those pages are fine. The pages that I did not disable the https-helper on and that had the issue with the menu, still have the issue. Any thoughts?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
Information for existing FreewayTalk / Groups.io users - Site Feedback - Softpress Talk


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

I’ve uploaded a new version of HTTPS Helper that adds another test to the code to avoid modifying any links or scripts that are internal. Please give that a try, and see if your issue with the CSS Menus is resolved. CSS Menus is another “encrypted” Action that I cannot access for debugging or testing, which makes it extremely difficult for me to figure out why an innocent rewrite of protocol would affect its inner workings.

Walter

On Nov 11, 2018, at 12:25 PM, Walter Lee Davis email@hidden wrote:

No, the only thing this Action does is rewrite links to external resources, not internal. No idea how the two could conflict. Have you tried locating the file in your Site Folder on your Mac? Where does it actually end up? If you can find it in a spot where your page doesn’t expect it, try using an FTP application like CyberDuck (free) to move it on your server into the place where your page is looking for it. See if that works as a patch, then also check that another page isn’t looking for it in the place where it was. I’m not discounting your debugging here, just trying to understand how it is even possible that it does this. I can’t spend any time on this right this second, as I’m on my way out the door, but later I could add a guard to the code so it only rewrites the link if the origin is truly remote. That might make a difference, but I can’t tell from here.

If you can create a single page document that duplicates this problem, please send it to me off-list. (I don’t want your entire site, just one page that shows the problem. I have a greedy reason for requesting this – often times, trying to duplicate the problem in a new document is impossible, which tells us that the problem is elsewhere, despite the fact that just disabling the Action makes it go away.)

My address is in my profile if you are viewing this on the Web. If you’re using the mail interface to the list, then you already know it.

Walter

On Nov 11, 2018, at 8:13 AM, Diane Low email@hidden wrote:

Thanks Walt. I did what you suggested re: deleting the contents of the site folder (I had actually done it before the original post but I did it again) and the issue is still there. Curiously, I disabled the https-helper action on some of the pages that were having the issue, just by unchecking the box in the action, and now the menus on those pages are fine. The pages that I did not disable the https-helper on and that had the issue with the menu, still have the issue. Any thoughts?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
Information for existing FreewayTalk / Groups.io users - Site Feedback - Softpress Talk


freewaytalk mailing list
email@hidden
Update your subscriptions at:
Information for existing FreewayTalk / Groups.io users - Site Feedback - Softpress Talk


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options