Trying to validate the page to see if there is something missing and there are so many errors being generated by the flash I can't tell what's what. I would guess that you have a mismatched<td> or <tr>
Trying to validate the page to see if there is something missing and there are so many errors being generated by the flash I can't tell what's what. I would guess that you have a mismatched<td> or <tr>
Please do not PM for support issues: a private solution doesn't benefit the community.
Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.
Kim, you must have been right. I deleted my content from the page, just left in some text, validated it and now the code
if ($this_is_home_page) {
$flag_disable_right = true;
$flag_disable_left = true;
}
works
Now if I can figure out how to get the darn css menu to appear where it's supposed to I'm good to go...
Well, I thought this was fixed but I was wrong. I can still only turn off one column, not both and I have even reinstalled the entire cart. Anyway, I can live with that if I have to but what I'm finding is that any page that acts as a "main" page has no left column, I only want the left column off on the actual home page of the store.
For instance, there is no left column on a category page. How can I fix this so that the left column is only off on the home page of the store?
(yes, I know I now have a bajillion validation errors that are mostly coming from the menu so I am working on that. I had this column error when the page validated also)
TIA
If your files are double spaced it is usually an indication you uploaded the files in Binary mode instead of ASCII.
// the following IF statement can be duplicated/modified as needed to set additional flags
if (in_array($current_page_base,explode(",",'index')) ) {
$flag_disable_left = true;
}
The above code will disable the left column on "every" page because every page uses "index" in the URL.
For the Home page you need to use:
if ($this_is_home_page) {
$flag_disable_right = true;
$flag_disable_left = true;
}
As to your many HTML errors, ditch your Navigation Menu until you can get the bugs worked. Using the above code and switching to the Classic template should verify that your HTML errors are causing problems for the PHP coding.
Thanks Rob. I have deleted the drop menu but now I've got bigger problems. I'll try what you said if I can ever get back into admin![]()
Believe it or not, on a brand new install with no changes to it at all, the code to turn off both columns didn't work for me. But - in case anyone else wants to do this is having a problem - this did: a combination of the original code to turn off the right column on all index pages & Rob's code to turn off left on home page only.
Unfortunately, I have to reinstall my cart because of this admin problem![]()
If the basic $this_is_home_page column-off code is not working, there is some problem with your site/host/installation... because those two flags will work as is for a normal installation.
I always install through Fantastico, but since you mention it, I've had feeling for awhile that there is something a little "off" with my hosting servers, or something to do with them. Just little things here and there that are odd, since they did this upgrade several months back.