snubbr.com

Can someone please explain the importance of this Verisign SSL concept? Open to understand fully.?

Get a Verisign SSL certificate for 30 days FREE. Click here to use coupon...

Get a free trial of Verisign SSL certificates. Click here for this special deal...
Question I have... Can someone please explain the importance of this Verisign SSL concept? Open to understand fully.? Looking forward for any answer or 2. My 2nd question... Does anyone know how to include an about us button on the header bar ? Is there a contribution for this ?

Comments (100)

You betcha! but... you might wanna make sure and wait for another member to confirm my answer as I am not quite sure. Better yet, why don't you give a call to the Verisign guys because they can answer your Verisign question better...

Comment #1

Hi,.

Open up your includes/header.php and write this code..

<a href="<?php echo tep_href_link(FILENAME_ABOUT_US, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_ABOUT_US; ?></a>.

Place it between.

<table border="0" width="100%" cellspacing="0" cellpadding="5">.

<tr class="headerNavigation">.

<td align="right">.

..

..

..

</td>.

</tr>.

</table>.

Then, go to includes/filenames.php and write this code..

Define('FILENAME_ABOUT_US', 'about_us.php'); (place anywhere you see "define").

Then, go to includes/languages/english.php and write this code..

Define('HEADER_TITLE_ABOUT_US', 'About Us');.

Now, to write something about us, all you have to do is create a about_us.php and put it in the root file usually this go to catalog folder..

Any problem, please let me and i'll help you out...

Comment #2

Thats is what I call a response :-) Thank you :-)..

Comment #3

Worked beautifully however it has gone to the far right of the page. How do I get it in front of "my account " ? .

Dave..

Comment #4

Hi Dave,.

Open includes/header.php and put this code:.

<a href="<?php echo tep_href_link(FILENAME_ABOUT_US, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_ABOUT_US; ?></a> &nbsp;|&nbsp;.

Put it between "put your code here" below..

<table border="0" width="100%" cellspacing="0" cellpadding="5">.

<tr class="headerNavigation">.

<td align="right">.

..

..

..

...........put your code here...........................

..

..

..

<a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> &nbsp;|&nbsp; <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a> &nbsp;|&nbsp; <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a> &nbsp;&nbsp;.

</td>.

</tr>.

</table>.

This post has been edited by.

Mccdgxch.

: 09 December 2008, 08:39..

Comment #5

You are GOOD :-) Thank you. One more question - How can I make sure the page opens inside the main body instead of a new page ie : with left and right columns still in tact ? I really appreciate your help so far. Thank you.

Dave..

Comment #6

Why would you want your about us page to be SSL?.

Nic..

Comment #7

SSL ? I am a novice ? At the moment my about page opens in a new window. I thought it would look nice opening in the main body and when a user is done they can simply continue shopping !..

Comment #8

Be nosy pls. I like everyones opinion. Thats how I learn...

Comment #9

Let me search....

Ok take a look at.

Http://forums.oscomm...showtopic=31019.

This post has been edited by.

Mpratsa.

: 09 December 2008, 14:27..

Comment #10

Hi Dave,.

Open your contact_us.php, located in your root folder, and go down to the code I pasted there..

<?php.

/*.

$Id: contact_us.php 1739 2007-12-20 00:52:16Z hpdl $.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright 2003 osCommerce.

Released under the GNU General Public License.

*/.

Require('includes/application_top.php');.

Require(DIR_WS_LANGUAGES$language'/'FILENAME_CONTACT_US);.

$error = false;.

If (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'send')) {.

$name = tep_db_prepare_input($HTTP_POST_VARS['name']);.

$email_address = tep_db_prepare_input($HTTP_POST_VARS['email']);.

$enquiry = tep_db_prepare_input($HTTP_POST_VARS['enquiry']);.

If (tep_validate_email($email_address)) {.

Tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $enquiry, $name, $email_address);.

Tep_redirect(tep_href_link(FILENAME_CONTACT_US, 'action=success'));.

} else {.

$error = true;.

$messageStack->add('contact', ENTRY_EMAIL_ADDRESS_CHECK_ERROR);.

}.

}.

$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_CONTACT_US));.

?>.

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">.

<html <?php echo HTML_PARAMS; ?>>.

<head>.

<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">.

<title><?php echo TITLE; ?></title>.

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER)DIR_WS_CATALOG; ?>">.

<link rel="stylesheet" type="text/css" href="stylesheet.css">.

</head>.

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">.

<! header //>.

<?php require(DIR_WS_INCLUDES'header.php'); ?>.

<! header_eof //>.

<! body //>.

<table border="0" width="100%" cellspacing="3" cellpadding="3">.

<tr>.

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">.

<! left_navigation //>.

<?php require(DIR_WS_INCLUDES'column_left.php'); ?>.

<! left_navigation_eof //>.

</table></td>.

<! body_text //>.

<td width="100%" valign="top"><?php echo tep_draw_form('contact_us', tep_href_link(FILENAME_CONTACT_US, 'action=send')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0">.

<tr>.

<td><table border="0" width="100%" cellspacing="0" cellpadding="0">.

<tr>.

<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>.

<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES'table_background_contact_us.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>.

<tr><td>.

<p>.

..

..

Type your text here.

..

..

</p></td></tr>.

</td>.

</tr>.

</table></td>.

</tr>.

<tr>.

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>.

</tr>.

<?php.

If ($messageStack->size('contact') > 0) {.

?>.

<tr>.

<td><?php echo $messageStack->output('contact'); ?></td>.

</tr>.

<tr>.

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>.

</tr>.

<?php.

}.

If (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'success')) {.

?>.

<tr>.

<td class="main" align="center"><?php echo tep_image(DIR_WS_IMAGES'table_background_man_on_board.gif', HEADING_TITLE, '0', '0', 'align="left"')TEXT_SUCCESS; ?></td>.

</tr>.

<tr>.

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>.

</tr>.

<tr>.

<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">.

<tr class="infoBoxContents">.

<td><table border="0" width="100%" cellspacing="0" cellpadding="2">.

<tr>.

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>.

<td align="right"><?php echo '<a href="'tep_href_link(FILENAME_DEFAULT)'">'tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE)'</a>'; ?></td>.

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>.

</tr>.

</table></td>.

</tr>.

</table></td>.

</tr>.

<?php.

} else {.

?>.

<tr>.

<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">.

<tr class="infoBoxContents">.

<td><table border="0" width="100%" cellspacing="0" cellpadding="2">.

<tr>.

<td class="main"><?php echo ENTRY_NAME; ?></td>.

</tr>.

<tr>.

<td class="main"><?php echo tep_draw_input_field('name'); ?></td>.

</tr>.

<tr>.

<td class="main"><?php echo ENTRY_EMAIL; ?></td>.

</tr>.

<tr>.

<td class="main"><?php echo tep_draw_input_field('email'); ?></td>.

</tr>.

<tr>.

<td class="main"><?php echo ENTRY_ENQUIRY; ?></td>.

</tr>.

<tr>.

<td><?php echo tep_draw_textarea_field('enquiry', 'soft', 50, 15); ?></td>.

</tr>.

</table></td>.

</tr>.

</table></td>.

</tr>.

<tr>.

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>.

</tr>.

<tr>.

<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">.

<tr class="infoBoxContents">.

<td><table border="0" width="100%" cellspacing="0" cellpadding="2">.

<tr>.

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>.

<td align="right"><?php echo tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?></td>.

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>.

</tr>.

</table></td>.

</tr>.

</table></td>.

</tr>.

<?php.

}.

?>.

</table></form></td>.

<! body_text_eof //>.

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">.

<! right_navigation //>.

<?php require(DIR_WS_INCLUDES'column_right.php'); ?>.

<! right_navigation_eof //>.

</table></td>.

</tr>.

</table>.

<! body_eof //>.

<! footer //>.

<?php require(DIR_WS_INCLUDES'footer.php'); ?>.

<! footer_eof //>.

<br>.

</body>.

</html>.

<?php require(DIR_WS_INCLUDES'application_bottom.php'); ?>.

...............................................................................

Now, you look for some code on top for (FILENAME_CONTACT_US...) and change it to (FILENAME_ABOUT_US....) and also change the contact_us.php to about_us.php and that is..

Use the find and replace on the edit menu for easy manage..

Make sure you SAVE AS about_us.php to your root folder..

By the way Dave, this is just an example. When you're familiar with it, you will know what to do..

This post has been edited by.

Mccdgxch.

: 09 December 2008, 16:53..

Comment #11

Confusing to me ! I understand that you are making use of an existing temple "contact us". Now whe you say "Open your contact_us.php, located in your root folder, and go down to the code I pasted there" what code are you referring to ? I found the code in the contact us file but after that I am stuck Do I paste in the code that you have placed in this reply !.

Also, will this modified file display in the header or in the left_column ? .

Dave..

Comment #12

What he is saying is basically find the coding he mentions in your Contact_us.php and copy it in to about_us.php and then look for the code in your about_us.php FILENAME_CONTACT_US and replace with FILENAME_ABOUT_US this should then mean that it will open as you want it to...

Comment #13

Thank you, BUT, in the middle of the page he says, place your code here.......what code is this ? .

Dave..

Comment #14

Hi Dave,.

Just type your text (about us) where I indicated "put your text here."..

Comment #15

Aaaahhhhh, easy when you know how :-) Thank you :-)..

Comment #16

I FOLLOWED YOUR STEPS AND HAVE DEFINATELY INSTALLED IT IN MY ROOT FOLDER WHICH IS /CATALOG, HOWEVER I GET THE FOLLOWING MESSAGE......HELP !.

PHP Warning: require(includes/languages/english/about_us.php) [function.require]: failed to open stream: No such file or directory in C:\Domains\hartsphoto.co.za\wwwroot\catalog\ABOUT_US.php on line 15 PHP Fatal error: require() [function.require]: Failed opening required 'includes/languages/english/about_us.php' (include_path='.;C:\Apps\PHP5\Pear') in C:\Domains\hartsphoto.co.za\wwwroot\catalog\ABOUT_US.php on line 15..

Comment #17

Hi Dave,.

Sorry for my mistake, you need to save about_us.php in includes/languagues/english/......

NOT in the catalog. it should be fine...

Comment #18

I have done this and I get a message saying "cannot find page " ugh.......this is frustrating..

Comment #19

Ok..

You need the one that you have in the English Language section..

You also need one in the catalog section as well. I would copy the Contact_us.php as above and modify it so it is a About Us.php.

Obviously you will need to find any reference to Contact Us and change to About Us..

Hope this helps...

Comment #20

Are you saying that I need the same file duplicated ? What I have is the english.php modified, header.php and filenames all modified according to your help. Then I have the about_us.php in /catalog/languages/english... which kicks out the above error !..

Comment #21

No sorry, you need to duplicate the Contact_us.php from the main catalogue section and rename it about_us.php and then modify it so that inside instead of referring to Contact Us it refers About Us..

Hope this helps, if not I'll copy my copy from my About Us that is in the main section on here for you to copy...

Comment #22

Axnd dont forget to add your file to the filenames or it wont find the page..

Comment #23

Still the same error !!!!! What I have in the root folder is an about_us file which I created. When this is in my root folder it works fine, BUT does not open in the main body ( only in a new window ) when I change this file and replace it with the contact_us file ( modified ) it gives me the error messages. I still have the modified english,header and filenam.php in place too..

Apart from changing any names from contact_us to about_us in the contact_us file, is there any other changes I need to make ?????.

Thanks for all your patience.

Dave..

Comment #24

Does anyone know how to include an about us button on the header bar ? Is there a contribution for this ?

Comment #25


This question was taken from a support group/message board and re-posted here so others can learn from it.

 

Categories: Home | Diet & Weight Management | Vitamins & Supplements | Herbs & Cleansing |

Sexual Health | Medifast Support | Nutrisystem Support | Medifast Questions |

Web Hosting | Web Hosts | Website Hosting | Hosting |

Web Hosting | GoDaddy | Digital Cameras | Best WebHosts |

Web Hosting FAQ | Web Hosts FAQ | Hosting FAQ | Hosting Group |

Hosting Questions | Camera Tips | Best Cameras To Buy | Best Cameras This Year |

Camera Q-A | Digital Cameras Q-A | Camera Forum | Nov 2010 - Cameras |

Oct 2010 - Cameras | Oct 2010 - DSLRs | Oct 2010 - Camera Tips | Sep 2010 - Cameras |

Sep 2010 - DSLRS | Sep 2010 - Camera Tips | Aug 2010 - Cameras | Aug 2010 - DSLR Tips |

Aug 2010 - Camera Tips | July 2010 - Cameras | July 2010 - Nikon Cameras | July 2010 - Canon Cameras |

July 2010 - Pentax Cameras | Medifast Recipes | Medifast Recipes Tips | Medifast Recipes Strategies |

Medifast Recipes Experiences | Medifast Recipes Group | Medifast Recipes Forum | Medifast Support Strategies |

Medifast Support Experiences |

 

(C) Copyright 2010 All rights reserved.