Forums / Templates, Stylesheets, Page Layout / sitename/index.php?main_page=contact_us where are these pages

sitename/index.php?main_page=contact_us where are these pages

Locked

Views: 7,841

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
2 Oct 2006, 3:49 AM
#1
bjraines avatar

bjraines

Zen Follower

Join Date:
Jun 2006
Posts:
223
Plugin Contributions:
0

sitename/index.php?main_page=contact_us where are these pages

I have used the developer thing in the admin to try and find contact_us
and I have looked through my site but I just can't locate it. Where can I find the php/html for the contact_us page

2 Oct 2006, 3:53 AM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,682
Plugin Contributions:
0

Re: sitename/index.php?main_page=contact_us where are these pages

The template is in templates/template_default/templates/tpl_contact_us.php -

That is a very smart page, what do you think you need to do to it?

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.

2 Oct 2006, 2:22 PM
#3
bjraines avatar

bjraines

Zen Follower

Join Date:
Jun 2006
Posts:
223
Plugin Contributions:
0

Re: sitename/index.php?main_page=contact_us where are these pages

Oh I don' t want to change it. I just wanted to know what all I could link to. I didn't know the directory and names of the files.

2 Oct 2006, 3:07 PM
#4
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,682
Plugin Contributions:
0

Re: sitename/index.php?main_page=contact_us where are these pages

Uh ... where are you linking to it from? The easiest way to link to miscellaneous pages from outside the cart is to go to the page and copy and paste the URL from your browser address bar.

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.

2 Oct 2006, 4:20 PM
#5
bjraines avatar

bjraines

Zen Follower

Join Date:
Jun 2006
Posts:
223
Plugin Contributions:
0

Re: sitename/index.php?main_page=contact_us where are these pages

I am not linking from anywhere. I bought a template and there was a hard coded menu at the top.

The hadcoded menu does not point to any directory.

<?php echo zen_href_link('contact_us')?>">

it just has cotact_us

I was just wondering where it was.

2 Oct 2006, 5:08 PM
#6
kobra avatar

kobra

Black Belt

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

Re: sitename/index.php?main_page=contact_us where are these pages

I hope that you did not spend too much for this template....you will soon find out that there just too many things that are part of the cart that are needed for your custoners to be able to complete an order, login & out and many other things to attempt to run the cart site from a "remote" portal. You will wind up either spending way too much effort trying to incorporate all the functionality into your template or you wull port the template looks over to the ZenCart system.

It is a pay me now or pay me later sort of thing

Zen-Venom Get Bitten

2 Oct 2006, 5:19 PM
#7
bjraines avatar

bjraines

Zen Follower

Join Date:
Jun 2006
Posts:
223
Plugin Contributions:
0

Re: sitename/index.php?main_page=contact_us where are these pages

I am sorry. I am obviously not making myself very clear.

This link above is part of the Zencart template along with login/logout and everything you need to have a great experience on the site.

It is not alink to a third party site.

This is a link in the zencart template that is hardcoded to a small top menu.

I am simply trying to figure out what all can be hardcoded and where those files are located.

2 Oct 2006, 5:58 PM
#8
kobra avatar

kobra

Black Belt

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

Re: sitename/index.php?main_page=contact_us where are these pages

This is a link in the zencart template that is hardcoded to a small top menu. So did this "ZenCart" template come with any instructions on how to link these up?
Where/who did you get this from?
What modle #/ item # is it or a link to where this can be seen.

Zen-Venom Get Bitten

2 Oct 2006, 6:12 PM
#9
bjraines avatar

bjraines

Zen Follower

Join Date:
Jun 2006
Posts:
223
Plugin Contributions:
0

Re: sitename/index.php?main_page=contact_us where are these pages

It is linked up. It is hardcoded into the header using the following code

<?php echo zen_href_link('contact_us')?>">

I was simply wondering how he knew he dould link this and where these files were?

How else do you hardcode links? For instance, say I didn't know that would link to the contact us page.

Is there a directory with a setoff files that I could link to?

here is the template

http://www.zen4me.com/demo/dl077/

2 Oct 2006, 6:27 PM
#10
kobra avatar

kobra

Black Belt

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

Re: sitename/index.php?main_page=contact_us where are these pages

For instance, say I didn't know that would link to the contact us page. To create a template for ZenCart, one would need to know these link code snippets.

If you want to find this use the admin > tools > devel tools > and search for contact us. Now that you know it is <?php echo zen_href_link('contact_us')?>">, find the file that has this from your search results. Now pick another say "privacy" and search and look for similar php echo...entries to find the files & link code for them.

Zen-Venom Get Bitten

2 Oct 2006, 7:33 PM
#11
bjraines avatar

bjraines

Zen Follower

Join Date:
Jun 2006
Posts:
223
Plugin Contributions:
0

Re: sitename/index.php?main_page=contact_us where are these pages

Yeah i tried to do that originally.

I went to that in the Developers thing and typed in contact us, and contact_us and every combo i could think of and it did not come up.

Thats why I posted.

Do you know why this could be?

3 Oct 2006, 2:41 AM
#12
kobra avatar

kobra

Black Belt

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

Re: sitename/index.php?main_page=contact_us where are these pages

Just searched in my admin for contact_us and it located several files...

Are you indicating where to search in the drop down?
Are you entering this in the bottom left box? "Look-up in all files"

Zen-Venom Get Bitten

3 Oct 2006, 2:52 AM
#13
bjraines avatar

bjraines

Zen Follower

Join Date:
Jun 2006
Posts:
223
Plugin Contributions:
0

Re: sitename/index.php?main_page=contact_us where are these pages

I used the bottom left box but i didnt tell it where to search. i was kinda hoping it would search the whole thing.

3 Oct 2006, 5:32 AM
#14
kobra avatar

kobra

Black Belt

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

Re: sitename/index.php?main_page=contact_us where are these pages

My pre post; the "look up in all files" was to be on the line above where it is shown...

there is a drop down selector that has this selection in it.

Did not want to give the impression that one must enter it into the search box.

Zen-Venom Get Bitten