Zen Cart Logo
Forums / General Questions / How Do I Add A Text Box At The Bottom Of The Index Page?

How Do I Add A Text Box At The Bottom Of The Index Page?

Views: 2,539

Results 21 to 28 of 28
16 Nov 2013, 12:12 AM
#21
scully avatar

scully

Zen Follower

Join Date:
Dec 2010
Posts:
257
Plugin Contributions:
0

How Do I Add A Text Box At The Bottom Of The Index Page?

I don't know where to look. The one thing I do know is that it was working...and the only change I made was to add the text box at the bottom of the page, using the Banner Manager. I don't remember seeing a problem occur after that; it just cropped up a few days ago.

Actually, I think it cropped up after I turned off the COWOA, because that's having a problem that no one can figure out, either. Could deactivating the COWOA have caused this? I know it wasn't supposed to...but could it have? Because that's the only change I've made to anything in the Admin panel.

16 Nov 2013, 12:14 AM
#22
scully avatar

scully

Zen Follower

Join Date:
Dec 2010
Posts:
257
Plugin Contributions:
0

Re: How Do I Add A Text Box At The Bottom Of The Index Page?

Hot damn, that was it! When I reactivated the COWOA, the right column went away! Now if I could just get the COWOA to work properly!

16 Nov 2013, 1:21 AM
#23
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: How Do I Add A Text Box At The Bottom Of The Index Page?

Looking closer, I see that the "if (!$this_is_home_page) {" test is inside the COWOA_SIDEBOX test scope, and thus can only operate if that is set to off. The flag didn't get set to false, it just never got set to true. Moving the homepage test outside the COWOA test will let it operate independently of that.

16 Nov 2013, 1:29 AM
#24
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: How Do I Add A Text Box At The Bottom Of The Index Page?

Does COWOA_SIDEBOX_OFF only get defined if COWOA is enabled? If so, that fully explains the behavior change.

16 Nov 2013, 1:32 AM
#25
scully avatar

scully

Zen Follower

Join Date:
Dec 2010
Posts:
257
Plugin Contributions:
0

Re: How Do I Add A Text Box At The Bottom Of The Index Page?

Being a php moron, I can't say that I have any idea how to do that. But if I can get the COWOA to work properly, then it won't matter too terribly much. Problem is, the gurus over in that thread have no idea why it times out sometimes...but not always...before the user can download their books. It's not something we've been able to pinpoint, either, as there doesn't seem to be any pattern to when it works properly and when it doesn't. But...if there's a problem with a software program...it's likely that I'll find it. LOL

Thanks for your patience as I worked through this!!

16 Nov 2013, 1:34 AM
#26
scully avatar

scully

Zen Follower

Join Date:
Dec 2010
Posts:
257
Plugin Contributions:
0

Re: How Do I Add A Text Box At The Bottom Of The Index Page?

gjh42:

Does COWOA_SIDEBOX_OFF only get defined if COWOA is enabled? If so, that fully explains the behavior change.

Turn Off Sideboxes During Checkout is set to True. I'm not sure where else to check for a COWOA command; there's nothing in the Layout Boxes Controller that mentions the COWOA.

16 Nov 2013, 1:37 AM
#27
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: How Do I Add A Text Box At The Bottom Of The Index Page?

The edit is extremely easy. Just move one } up a couple of lines, from this:```
heckout_process,shopping_cart,address_book_process')) ) {
$flag_disable_right = true;
$flag_disable_left = true;
}
if (!$this_is_home_page) {
$flag_disable_right = true; //turn off right column except on homepage
}
}

$header_template = 'tpl_header.php';

to this ```
heckout_process,shopping_cart,address_book_process')) ) {
$flag_disable_right = true;
$flag_disable_left = true;
}
}
if (!$this_is_home_page) {
$flag_disable_right = true; //turn off right column except on homepage
}

$header_template = 'tpl_header.php';
16 Nov 2013, 1:43 AM
#28
scully avatar

scully

Zen Follower

Join Date:
Dec 2010
Posts:
257
Plugin Contributions:
0

Re: How Do I Add A Text Box At The Bottom Of The Index Page?

Wow, even I can handle that one! :clap:

So now, having done this, if I decide to deactivate the COWOA again, my left-column-only format on all secondary pages should stay the same? Cool. Thanks!!