If this is your first visit, check our documentation. To post, register or login.
Forums / Code Matters / Bug Reports / [Not a bug] Module:ezpages_bar_header.php

[Not a bug] Module:ezpages_bar_header.php

Started by cadyman on 24 Feb 2011, 9:03 AM · Views: 820

Results 1 to 2 of 2
24 Feb 2011, 9:03 AM
#1
cadyman avatar

cadyman

New Zenner

Join Date:
Oct 2010
Posts:
27
Plugin Contributions:
0

Post #1 by cadyman

On line 21 you have a query. I dont know if this is a mistake or is like that but the condition **header_sort_order > 0** should by **header_sort_order > -1** because some times user ( like me ) dont set the sort an it leave 0 and in this case the link will not be visible in the header.

The same thing is in the ezpages_bar_footer.php

24 Feb 2011, 9:09 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #2 by drbyte

That is by design.
If you want it to appear, you need to set a non-zero value for the sort order.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.