Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2008
    Location
    USA
    Posts
    560
    Plugin Contributions
    0

    Default Place code for catching email?

    Hello:

    I want to be able to catch email so I can notify potential customers of the "Grand Opening." I don't know if there is code for this or if there is something else I need to do. Also, how do I make sure I get the emails?

    Another situation is I would like to keep the header visible as an enticement for "things to come" but within the "Contact Us," the submit button goes right to the contact us page and from there they can go anywhere on the site. The rest of the links in the header don't go anywhere, like it should. How do I stop the contact us from getting into the site?

    This is the site. Please take a look: http://www.petluxuryboutique.com/shop

    I know this is more than one question. Thanks in advance for your help.

    Silver

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Place code for catching email?

    The submit button ought to send an e-mail to whatever you have set as its destination. If it doesn't you should ask for help in the template support thread.

    The "Contact Us" tab does link to the contact page, but most if not all of the links there shunt back to the down for maintenance page. You could disable the tab link by finding the megamenu file where this HTML is built:
    HTML Code:
    <li class="contactus-li"  ><a href="http://www.petluxuryboutique.com/shop/contact_us" class="drop">Contact Us</a><!-- bof contact form -->
    and commenting out the destination like this:
    HTML Code:
    <li class="contactus-li"  ><a href="<!--http://www.petluxuryboutique.com/shop/contact_us-->" class="drop">Contact Us</a><!-- bof contact form -->

  3. #3
    Join Date
    Mar 2008
    Location
    USA
    Posts
    560
    Plugin Contributions
    0

    Default Re: Place code for catching email?

    Glenn,

    As always, thank you. I will give it a go!

    Silver

  4. #4
    Join Date
    Mar 2008
    Location
    USA
    Posts
    560
    Plugin Contributions
    0

    Default Re: Place code for catching email?

    Glenn:

    This is the only thing that I could find similar under: shop/includes/templates/abbington_mega/common/tpl_mega_menu.php

    HTML Code:
    <li class="contactus-li" <?php if (MENU_CONTACT_US == 'false') echo "style=\"display:none; \""; ?> ><a href="<?php echo zen_href_link(FILENAME_CONTACT_US, '', 'NONSSL'); ?>" class="drop"><?php echo HEADER_TITLE_CONTACT_US;?></a><!-- bof contact form -->
    Am I looking in the wrong place?

    Thank you,

    Silver

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Place code for catching email?

    That would be it:)
    The file uses PHP to dynamically bring in the correct details. You can eliminate the link destination by commenting the contact constant and replacing it with the homepage constant ( /*FILENAME_CONTACT_US*/FILENAME_DEFAULT ), like this:
    PHP Code:
    <li class="contactus-li" <?php if (MENU_CONTACT_US == 'false') echo "style=\"display:none; \""?> ><a href="<?php echo zen_href_link(/*FILENAME_CONTACT_US*/FILENAME_DEFAULT'''NONSSL'); ?>" class="drop"><?php echo HEADER_TITLE_CONTACT_US;?></a><!-- bof contact form -->

  6. #6
    Join Date
    Mar 2008
    Location
    USA
    Posts
    560
    Plugin Contributions
    0

    Default Re: Place code for catching email?

    Glenn:

    Thank you. I will let you know what happens tomorrow.

    Silver

  7. #7
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Place code for catching email?

    Quote Originally Posted by SilverHD View Post
    Glenn:

    Thank you. I will let you know what happens tomorrow.

    Silver
    Couple of comments if I may, 1) make note of the change you made/will make to the mega_header_menu file so that when you come out of maintenance mode that you restore the functionality, although ideally that portion of the header be modified so that if in maintenance mode that it always acts like expected in maintenance mode, or the contact us page does.
    2) You sill want to change your maintenance mode text once you disable the click to go to the contact us page link. (Text directs to click the contact us in the header and then to submit some specific information. If they follow the instructions they will be taken back to the same page or nothing will happen.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. Random code generator for email?
    By LRS in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 23 May 2010, 12:39 AM
  2. Where to place code for navigation header?
    By jasonhoward64 in forum Basic Configuration
    Replies: 1
    Last Post: 1 Nov 2009, 12:28 AM
  3. Require access code to place an order?
    By nickanthony in forum Customization from the Admin
    Replies: 6
    Last Post: 26 Jun 2008, 11:25 PM
  4. can I place an order for customer who has no email address?
    By gsdcypher in forum General Questions
    Replies: 9
    Last Post: 3 Mar 2008, 08:14 PM
  5. code to email password for google checkout
    By chuender in forum Addon Payment Modules
    Replies: 0
    Last Post: 6 Nov 2007, 01:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg