Page 9 of 13 FirstFirst ... 7891011 ... LastLast
Results 81 to 90 of 123
  1. #81
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Main page Tabs

    Quote Originally Posted by gizmo_girl View Post
    Hi, I want my slider link to open in a new window. For example, the facebook link should open in a new window so they don't navigate away from the site. Where can I add the code to make that happen?
    You can edit the includes/templates/brighton_pets/common/tpl_home_slider.php file.

    Thanks,

    Anne

  2. #82
    Join Date
    Nov 2007
    Location
    Texas
    Posts
    283
    Plugin Contributions
    0

    Default Re: Main page Tabs

    Quote Originally Posted by picaflor-azul View Post
    You can edit the includes/templates/brighton_pets/common/tpl_home_slider.php file.

    Thanks,

    Anne
    Thanks, I found the file, but I can't seem to get the coding correct...
    I tried this: define(URL2,'https://www.websitename.com' target='_blank');

    Doing that pretty much wipes out the whole page. Can you help with the proper coding?

  3. #83
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Main page Tabs

    Quote Originally Posted by gizmo_girl View Post
    Thanks, I found the file, but I can't seem to get the coding correct...
    I tried this: define(URL2,'https://www.websitename.com' target='_blank');

    Doing that pretty much wipes out the whole page. Can you help with the proper coding?
    Don't add the target="_blank" to the define statement. Add it to anchor code further down the page.

    Thanks,

    Anne

  4. #84
    Join Date
    Nov 2007
    Location
    Texas
    Posts
    283
    Plugin Contributions
    0

    Default Re: Main page Tabs

    Quote Originally Posted by picaflor-azul View Post
    Don't add the target="_blank" to the define statement. Add it to anchor code further down the page.

    Thanks,

    Anne
    I have tried every combination and placement I can think of...apparently none of them are correct. Can you point me in the right direction of what coding to use? I really don't know much about PHP and what to "tell" it. :-/

  5. #85
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Main page Tabs

    Quote Originally Posted by gizmo_girl View Post
    I have tried every combination and placement I can think of...apparently none of them are correct. Can you point me in the right direction of what coding to use? I really don't know much about PHP and what to "tell" it. :-/
    You are editing the xhtml, not php.

    Code:
     <li><a href="<?php echo URL1 ?>" target="_blank"><img src="<?php  echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.IMAGE1 ?>"   alt="first slide image" /></a></li>
    Thanks,

    Anne

  6. #86
    Join Date
    Aug 2011
    Location
    Indiana
    Posts
    66
    Plugin Contributions
    0

    Default Add Link to Information in Mega Menu and footer

    I have a created a Payment Information page with Define Pages.
    I would like to add it to the Mega Menu in the Info/Customer list. I would also like to add the link to the footer under Information.
    Generally I can figure out how to make changes, but this one is being a tuffy.
    Overall this temp[lte has been very nice to work with.
    http://ffpetsupplies.com/

  7. #87
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Add Link to Information in Mega Menu and footer

    Quote Originally Posted by 14all41 View Post
    I have a created a Payment Information page with Define Pages.
    I would like to add it to the Mega Menu in the Info/Customer list. I would also like to add the link to the footer under Information.
    Generally I can figure out how to make changes, but this one is being a tuffy.
    Overall this temp[lte has been very nice to work with.
    http://ffpetsupplies.com/
    I am happy that you like the template ;)

    You will edit the includes/templates/brighton_pets/common/tpl_mega_menu.php file and the includes/languages/english/extra_definitions/brighton_pets/footer_menu_defines.php file.

    Thanks,

    Anne

  8. #88
    Join Date
    Aug 2011
    Location
    Indiana
    Posts
    66
    Plugin Contributions
    0

    Default Re: Add Link to Information in Mega Menu and footer

    Thanks for the info Anne. I have tried duplicating the existing code to add define_page_2 and the mega menu disappeared. I had a back up file and got it working again. Would you be will to help me with the code in these two mega menu files?

  9. #89
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Add Link to Information in Mega Menu and footer

    Quote Originally Posted by 14all41 View Post
    Thanks for the info Anne. I have tried duplicating the existing code to add define_page_2 and the mega menu disappeared. I had a back up file and got it working again. Would you be will to help me with the code in these two mega menu files?
    You will just add your link in the standard format to the ul group that you want it to appear in :

    Code:
      
    <li><a href="your url here">Your link name</a></li>
    Thanks,

    Anne

  10. #90
    Join Date
    Aug 2011
    Location
    Indiana
    Posts
    66
    Plugin Contributions
    0

    Default Re: Add Link to Information in Mega Menu and footer

    <?php if (DEFINE_PAYMENT_OPTIONS <= 1) { ?>
    <li><a href="<?php echo zen_href_link(FILENAME_PAGE_2); ?>"><?php echo BOX_INFORMATION_Payment_Options; ?></a></li>

    Here is the code I used and the link did appeared, but the link name in the dropdown is showing as BOX_INFORMATION_Payment_Options.

    What did I do wrong?

 

 
Page 9 of 13 FirstFirst ... 7891011 ... LastLast

Similar Threads

  1. v155 Clone a Template [Support Thread]
    By lat9 in forum Addon Admin Tools
    Replies: 107
    Last Post: 11 Nov 2024, 08:28 PM
  2. v150 aBagon Template Support Thread
    By VJef in forum Addon Templates
    Replies: 54
    Last Post: 5 Sep 2020, 08:44 PM
  3. Lavender Template Support Thread
    By kobra in forum Addon Templates
    Replies: 262
    Last Post: 13 May 2015, 01:00 AM
  4. TB Sempre Template Support Thread
    By brandonturpin in forum Addon Templates
    Replies: 48
    Last Post: 19 Mar 2015, 06:33 PM
  5. Turpy Template Support Thread
    By brandonturpin in forum Addon Templates
    Replies: 3
    Last Post: 20 Feb 2012, 07:36 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR