Zen Follower
- Join Date:
- Oct 2010
- Location:
- Idaho
- Posts:
- 293
- Plugin Contributions:
- 0
PHP inside ezpages
hey Glenn, yeah, now I'm a little confused, but things work fine.
I did wonder why that 'new_products = false' code was in there when I first looked at this file to add the not-home-page code, but the new products centerbox was displaying fine everywhere before adding the not-home-page code, and now is displaying fine everywhere except the home page, which is what we wanted.
So, yeah, I have no idea why that 'false' code doesn't interfere .. but the 'true' test below it is maybe reversing it (when Admin >> Config setting does have have New Prods centerbox set to display). This is what you are calling the 'resetting' test? Maybe that 'false' code is there so that this file's code simply makes sure that New Prods centerbox is totally off before running the main part of the code, which then turns the centerbox on.