If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / Can not get Privacy or Conditions of Use to show on footer

Can not get Privacy or Conditions of Use to show on footer

Locked

Started by sawhorse on 21 Jan 2008, 3:44 AM · Views: 2,330

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
21 Jan 2008, 3:44 AM
#1
sawhorse avatar

sawhorse

Zen Follower

Join Date:
Oct 2007
Location:
Kentucky - USA
Posts:
425
Plugin Contributions:
0

Post #1 by sawhorse

I have search the Forum and was unable to find a good answer (that I could understand) for the following problem.

I would like to have both Privacy or Conditions of Use on the footer (I would also like Stores :: Contact Us but I have not done the pages for them yet)

I have done the following:
**Define page editor:

Define_conditions.php (entered appropriate text here)
Define_privacy.php (entered appropriate text here)

Regulations**
Both Conditions of Use and Privacy are FALSE (as of now do not want to force users to agree)

I am using SAGE Template with minor modification
I have not changed the Sage tpl_footer.php

DEFINE PAGE STATUS
All values for all the pages are set to 1 (except site map)

All right & Left layout COLUMN BOXES are off
If I turn them on I correctly get:

Shipping & Returns
Privacy Notice
Conditions of Use
Contact Us
Gift Certificate FAQ
Discount Coupons

But what I would rather like this in the footer:

Home :: Stores :: Contact Us :: Privacy :: Conditions of Use

Site (which is not even close to be done) is:
http://www.sawhorsejewelry.com

Thanks for any help with getting the footer to show correctly.

ZC 1.3.8a; Addons: Admin Profiles, Ty Package Tracker; Swap Images via MouseOver or Click, Smart Backgrounds; Printable Price List; CSS buttons; Contact Us - Add Subject; Template: Self Constructed; Site: http://sawhorsejewelry.com

21 Jan 2008, 6:46 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #2 by kobra

admin > tools > ezpages > insert > for each enter title and the internal link to the page > save

insure admin > config > EZ-Pages Settings > EZ-Pages Display Status - FooterBar > set to "1"

Zen-Venom Get Bitten

21 Jan 2008, 5:43 PM
#3
sawhorse avatar

sawhorse

Zen Follower

Join Date:
Oct 2007
Location:
Kentucky - USA
Posts:
425
Plugin Contributions:
0

Post #3 by sawhorse

Great solution. I have now read the FAQ on EZ-Pages and it seems quite straight forward. However, I do have a question about internal relative links.

From the FAQ I understand that a relative internal link URL is preferred. An example is given: index.php?main_page=index@cPath=21

OK, so (on my local computer which has a clone of my site) I looked at my sideboxes and found that the internal link to Private Notice is
index.php?main_page=private

I used EZ-Pages to put the link on my footer. No problem Private shows on my footer. However, I get "Page not found" when I use the link. The same link work fine on my sideboxes. Thus, I have two questions.

  1. Is my relative internal link to my Privacy Notice (which is located in define_privacy.php and not privacy.php) page correct on my EZ-page relative linked URL?
  2. How do you find a pages relative internal link URL?

Thanks for any help to my problem.

ZC 1.3.8a; Addons: Admin Profiles, Ty Package Tracker; Swap Images via MouseOver or Click, Smart Backgrounds; Printable Price List; CSS buttons; Contact Us - Add Subject; Template: Self Constructed; Site: http://sawhorsejewelry.com

21 Jan 2008, 8:02 PM
#4
sawhorse avatar

sawhorse

Zen Follower

Join Date:
Oct 2007
Location:
Kentucky - USA
Posts:
425
Plugin Contributions:
0

Post #4 by sawhorse

Oh, just to be sure that there were no problems with my clone I did the same procedure on my live web site. Same problem.

ZC 1.3.8a; Addons: Admin Profiles, Ty Package Tracker; Swap Images via MouseOver or Click, Smart Backgrounds; Printable Price List; CSS buttons; Contact Us - Add Subject; Template: Self Constructed; Site: http://sawhorsejewelry.com

22 Jan 2008, 5:20 AM
#5
sawhorse avatar

sawhorse

Zen Follower

Join Date:
Oct 2007
Location:
Kentucky - USA
Posts:
425
Plugin Contributions:
0

Post #5 by sawhorse

I am new here, but I do believe there maybe a bug in EZ-Pages.

For the life of me I though that my internal links were correct (i.e. index.php?main_page=contact_us) but all I was getting were 404 Page Not Found.

I found that my internal links were correct.

Using the straight forward FAQ EZ-page information I configured each page correctly. However, the “bug” is in “Open New Window” if you set it to YES you will get a 404 Page Not Found. However, If you set it to NO EZ-pages work as designed.

That bit of information took me several hours to understand. I hope I am not doing anything incorrectly. I hate to suggest there is a problem.

ZC 1.3.8a; Addons: Admin Profiles, Ty Package Tracker; Swap Images via MouseOver or Click, Smart Backgrounds; Printable Price List; CSS buttons; Contact Us - Add Subject; Template: Self Constructed; Site: http://sawhorsejewelry.com

22 Jan 2008, 5:25 AM
#6
sawhorse avatar

sawhorse

Zen Follower

Join Date:
Oct 2007
Location:
Kentucky - USA
Posts:
425
Plugin Contributions:
0

Post #6 by sawhorse

Sorry I did not state that I am using ZC 1.3.8a on a fresh install.

ZC 1.3.8a; Addons: Admin Profiles, Ty Package Tracker; Swap Images via MouseOver or Click, Smart Backgrounds; Printable Price List; CSS buttons; Contact Us - Add Subject; Template: Self Constructed; Site: http://sawhorsejewelry.com

22 Jan 2008, 5:51 AM
#7
drbyte avatar

drbyte

Sensei

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

Post #7 by drbyte

Sawhorse:

I am new here, but I do believe there maybe a bug in EZ-Pages.

For the life of me I though that my internal links were correct (i.e. index.php?main_page=contact_us) but all I was getting were 404 Page Not Found.

I found that my internal links were correct.

Using the straight forward FAQ EZ-page information I configured each page correctly. However, the “bug” is in “Open New Window” if you set it to YES you will get a 404 Page Not Found. However, If you set it to NO EZ-pages work as designed.

That bit of information took me several hours to understand. I hope I am not doing anything incorrectly. I hate to suggest there is a problem.

I can't seem to replicate this problem in 1.3.8a.

.
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.

22 Jan 2008, 6:13 AM
#8
sawhorse avatar

sawhorse

Zen Follower

Join Date:
Oct 2007
Location:
Kentucky - USA
Posts:
425
Plugin Contributions:
0

Post #8 by sawhorse

In a way I am happy that you can not. Then it is NOT a Bug - which is good. Thus, it may be that I must have been doing something incorrectly. But, what ever it was , it was happening in ZC 1.3.7.1 as well as in ZC 1.3.8a.

It might be that if you first start EZ-pages with the Open New Window set to YES, on the first entry it could prove to be the trigger. I just do not know. I do know that I had three entries in EZ-pages with the first one Open New Window set to YES and the others Open New Window set to NO. None of the EZ-pages worked. I then edited the 1st entry and changed the Open New Window to NO and recopied and did the paste to appropriate internal link field and updated. The links worked. I do not know what else to tell you.

I know when I did the same procedure on my live site (ZC 1.3.8a) it went from not working to working. If it is not a bug, good. I just thought that someone should know what had happened, just in case it was a bug.

Thanks for your attention to this.

ZC 1.3.8a; Addons: Admin Profiles, Ty Package Tracker; Swap Images via MouseOver or Click, Smart Backgrounds; Printable Price List; CSS buttons; Contact Us - Add Subject; Template: Self Constructed; Site: http://sawhorsejewelry.com

22 Jan 2008, 5:56 PM
#9
drbyte avatar

drbyte

Sensei

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

Post #9 by drbyte

When you get the 404 error, it's probably a result of an incorrect page URL in the link.
So the important piece of information is ... what is the URL that the bad link is pointing to?
ie: when the new browser window opens and the 404 error appears, what's the URL in the browser address bar? And how does that compare with the correct URL?

.
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.

23 Jan 2008, 12:13 AM
#10
sawhorse avatar

sawhorse

Zen Follower

Join Date:
Oct 2007
Location:
Kentucky - USA
Posts:
425
Plugin Contributions:
0

Post #10 by sawhorse

This is what I found on my local computer (zc 1.3.7.1)

OPEN NEW WINDOW OFF

Went to sidebox and clicked on shipping and everything fine.

http://www.example.com/store/index.php?main_page=shippinginfo

I went to ez-page on footer and clicked on shipping and everything fine
http://www.example.com/store/index.php?main_page=shippinginfo]

I went back to sidebox and clicked on shipping and everything fine
http://www.example.com/store/index.php?main_page=shippinginfo

OPEN NEW WINDOW ON

Went to sidebox and clicked on shipping and everything fine.

http://www.example.com/store/index.php?main_page=shippinginfo

I went to ez-page on footer and clicked on shipping and everything NOT fine
http://www.example.com/store/index.php?main_page=shippinginfo?target="_blank

I went back to sidebox and clicked on shipping and everything fine
http://www.example.com/store/index.php?main_page=shippinginfo

OPEN NEW WINDOW OFF

Went to sidebox and clicked on shipping and everything fine.

http://www.example.com/store/index.php?main_page=shippinginfo

I went to ez-page on footer and clicked on shipping and everything fine
http://www.example.com/store/index.php?main_page=shippinginfo

I went back to sidebox and clicked on shipping and everything fine
http://www.example.com/store/index.php?main_page=shippinginfo

I hope this is helpful.

ZC 1.3.8a; Addons: Admin Profiles, Ty Package Tracker; Swap Images via MouseOver or Click, Smart Backgrounds; Printable Price List; CSS buttons; Contact Us - Add Subject; Template: Self Constructed; Site: http://sawhorsejewelry.com

23 Jan 2008, 5:08 AM
#11
drbyte avatar

drbyte

Sensei

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

Post #11 by drbyte

Okay, yes those details help.

That was a bug in v1.3.7, which was fixed for v1.3.8.

The original bug was discussed in the following thread, although the real fix includes more files than what was mentioned in the discussion:
http://www.zen-cart.com/forum/showthread.php?t=56390

.
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.

23 Jan 2008, 6:46 AM
#12
sawhorse avatar

sawhorse

Zen Follower

Join Date:
Oct 2007
Location:
Kentucky - USA
Posts:
425
Plugin Contributions:
0

Post #12 by sawhorse

I will try to replicate same problem on 1.3.8a

I hope I did not just jump to a conclusion based on 1.3.7.1 about a similar issue in 1.3.8a. I could have just miss typed the link into 1.3.8a an assumed that the problem found in 1.3.7.1 was the reason that 1.3.8a did not function.

We will see.

ZC 1.3.8a; Addons: Admin Profiles, Ty Package Tracker; Swap Images via MouseOver or Click, Smart Backgrounds; Printable Price List; CSS buttons; Contact Us - Add Subject; Template: Self Constructed; Site: http://sawhorsejewelry.com

24 Jan 2008, 3:40 AM
#13
sawhorse avatar

sawhorse

Zen Follower

Join Date:
Oct 2007
Location:
Kentucky - USA
Posts:
425
Plugin Contributions:
0

Post #13 by sawhorse

I tired the same procedure noted above on 1.3.8a and it worked quite well. I believe there was only a bug in 1.3.7.1 and not in the current version 1.3.8a.


However, I believe that I had a misunderstanding regarding the override system. If I understand it correctly the override system has an override capability for shipping in includes\languages\english\modules\shipping(your_template).

I have cloned multiple flat shipping rates (flat.php) and one of the two locations were the additional files would be placed is the above. However, if I place these files in the above location ZC can not find these files and give an error message. Understanding (hopefully correctly) that if the file names are not the same as the standard ZC file names I can add these additional files to the standard program location includes\languages\english\modules\shipping without worrying that in an upgrade these files will be deleted. But, one interesting note. Once the files are in place in the standard program location I can add the same file in the override location and the file in the override location does override the file in the standard program location. This seems by design and is an interesting feature. I do not believe that my knowledge of what type of files (new named files vs new files of the same name) and where to place each type was fully understood prior to this realization.

I believe that some discussion in a FAQ about this feature in the override system and were to place which type of file should be noted. It makes understanding the process much more manageable.

ZC 1.3.8a; Addons: Admin Profiles, Ty Package Tracker; Swap Images via MouseOver or Click, Smart Backgrounds; Printable Price List; CSS buttons; Contact Us - Add Subject; Template: Self Constructed; Site: http://sawhorsejewelry.com