Forums / Addon Templates / Brighton Pets Template Support Thread

Brighton Pets Template Support Thread

Views: 32,998

Results 81 to 100 of 123
7 Jul 2013, 2:00 PM
#81
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Brighton Pets Template Support Thread

gizmo_girl:

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

7 Jul 2013, 6:34 PM
#82
gizmo_girl avatar

gizmo_girl

Zen Follower

Join Date:
Nov 2007
Location:
Texas
Posts:
286
Plugin Contributions:
0

Re: Brighton Pets Template Support Thread

picaflor-azul:

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?

8 Jul 2013, 2:27 PM
#83
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Brighton Pets Template Support Thread

gizmo_girl:

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

12 Jul 2013, 3:07 AM
#84
gizmo_girl avatar

gizmo_girl

Zen Follower

Join Date:
Nov 2007
Location:
Texas
Posts:
286
Plugin Contributions:
0

Re: Brighton Pets Template Support Thread

picaflor-azul:

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

12 Jul 2013, 3:30 PM
#85
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Brighton Pets Template Support Thread

gizmo_girl:

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.

 <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

4 Aug 2013, 8:06 PM
#86
14all41 avatar

14all41

New Zenner

Join Date:
Aug 2011
Location:
Indiana
Posts:
66
Plugin Contributions:
0

Re: Brighton Pets Template Support Thread

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/

5 Aug 2013, 3:59 PM
#87
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Brighton Pets Template Support Thread

14all41:

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

5 Aug 2013, 10:26 PM
#88
14all41 avatar

14all41

New Zenner

Join Date:
Aug 2011
Location:
Indiana
Posts:
66
Plugin Contributions:
0

Re: Brighton Pets Template Support Thread

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?

6 Aug 2013, 12:35 AM
#89
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Brighton Pets Template Support Thread

14all41:

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 :

  
<li><a href="your url here">Your link name</a></li>

Thanks,

Anne

6 Aug 2013, 11:21 PM
#90
14all41 avatar

14all41

New Zenner

Join Date:
Aug 2011
Location:
Indiana
Posts:
66
Plugin Contributions:
0

Re: Brighton Pets Template Support Thread

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

7 Aug 2013, 2:35 PM
#91
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Brighton Pets Template Support Thread

14all41:

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

You are echoing a constant that is not defined.

Thanks,

Anne

8 Aug 2013, 1:17 PM
#92
14all41 avatar

14all41

New Zenner

Join Date:
Aug 2011
Location:
Indiana
Posts:
66
Plugin Contributions:
0

Re: Brighton Pets Template Support Thread

Anne,
What I did was copy the last line of code and fill in the way that seemed appropriate with the aid of your instructions. There is a difference in what is you suggested and the actual code in the file. That is where the confusion kicks in.
Thanks for the help.

8 Aug 2013, 3:58 PM
#93
14all41 avatar

14all41

New Zenner

Join Date:
Aug 2011
Location:
Indiana
Posts:
66
Plugin Contributions:
0

Re: Brighton Pets Template Support Thread

picaflor-azul:

You are echoing a constant that is not defined.

Thanks,

Anne

Okay I've remove the second echo and have this. What do you think?

<li><a href="<?php echo zen_href_link(FILENAME_PAGE_2); ?>">PAYMENT OPTIONS</a></li>
8 Aug 2013, 11:42 PM
#94
14all41 avatar

14all41

New Zenner

Join Date:
Aug 2011
Location:
Indiana
Posts:
66
Plugin Contributions:
0

Re: Brighton Pets Template Support Thread

I have the Mega Menu working now thanks for the direction.
Now I am attempting to modify the footer_menu_defines.php file.
The last line is the code I added, but it has no effect. I tried a few other ideas and had no success.

Define('TITLE_THREE', '<li class="menuTitle">Customer Support</li>');
Define('CONTACT','<li><a href="' . zen_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a></li>');
Define('SHIPPING', '<li><a href="' . zen_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a></li>');
Define('PRIVACY', '<li><a href="' . zen_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a></li>');
Define('CONDITIONS','<li><a href="' . zen_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a></li>');
Define('ACCOUNT', '<li><a href="' . zen_href_link(FILENAME_ACCOUNT, '', 'SSL') .'">' . HEADER_TITLE_MY_ACCOUNT . '</a></li>');
Define('PAYMENT_OPTIONS','<li><a href="' . zen_href_link(FILENAME_PAGE_2) . '">' . BOX_INFORMATION_PAYMENT_OPTIONS . '</a></li>');

9 Aug 2013, 2:38 PM
#95
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Brighton Pets Template Support Thread

14all41:

Okay I've remove the second echo and have this. What do you think?

<li><a href="<?php echo zen_href_link(FILENAME_PAGE_2); ?>">PAYMENT OPTIONS</a></li>

This will work as long as your site is only in english.

Thanks,

Anne

9 Aug 2013, 2:39 PM
#96
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Brighton Pets Template Support Thread

14all41:

I have the Mega Menu working now thanks for the direction.
Now I am attempting to modify the footer_menu_defines.php file.
The last line is the code I added, but it has no effect. I tried a few other ideas and had no success.

Define('TITLE_THREE', '<li class="menuTitle">Customer Support</li>');
Define('CONTACT','<li><a href="' . zen_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a></li>');
Define('SHIPPING', '<li><a href="' . zen_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a></li>');
Define('PRIVACY', '<li><a href="' . zen_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a></li>');
Define('CONDITIONS','<li><a href="' . zen_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a></li>');
Define('ACCOUNT', '<li><a href="' . zen_href_link(FILENAME_ACCOUNT, '', 'SSL') .'">' . HEADER_TITLE_MY_ACCOUNT . '</a></li>');
Define('PAYMENT_OPTIONS','<li><a href="' . zen_href_link(FILENAME_PAGE_2) . '">' . BOX_INFORMATION_PAYMENT_OPTIONS . '</a></li>');

You need to also add the constant down toward the bottom of the file.

Thanks,

Anne

25 Jan 2014, 6:33 PM
#97
14all41 avatar

14all41

New Zenner

Join Date:
Aug 2011
Location:
Indiana
Posts:
66
Plugin Contributions:
0

Re: Brighton Pets Template Support Thread

When I click on the Pin It button the product image does not appear, but instead the header image and Paypal images appear as options to pin. The facebook like button works fine.

http://ffpetsupplies.com/

25 Jan 2014, 7:05 PM
#98
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Brighton Pets Template Support Thread

14all41:

When I click on the Pin It button the product image does not appear, but instead the header image and Paypal images appear as options to pin. The facebook like button works fine.

http://ffpetsupplies.com/

If you post a link to a product that is not working I can take a look. I suspect that you product images are not large enough. Pinterest has a minimum image size that must be met.

Thanks,

Anne

25 Jan 2014, 8:26 PM
#99
14all41 avatar

14all41

New Zenner

Join Date:
Aug 2011
Location:
Indiana
Posts:
66
Plugin Contributions:
0

Re: Brighton Pets Template Support Thread

I haven't found any product pages that show the correct image so far. Here is one to look at. If it is the image size issue can you recommend a way to batch re-size without downloading and using Photoshop?
Thanks very much!
http://ffpetsupplies.com/aquariums/delta-queen-v-75-gallon-rectangular-fish-tank-w-o-aquarium-kit-upc-030172062759

25 Jan 2014, 9:43 PM
#100
14all41 avatar

14all41

New Zenner

Join Date:
Aug 2011
Location:
Indiana
Posts:
66
Plugin Contributions:
0

Re: Brighton Pets Template Support Thread

I've done some digging and I think you have the correct cause of the issue.
http://socialmarketingwriting.com/4-simple-ways-to-make-your-website-pintrest-friendly/
Apparently pintrest wants a 200 pixel minimum and the product image in it's non-enlargerd form is only 120 X 120. The imaged show in the pin it window meet that size criteria.
The product image in it's actual size is 500 x 500. Is there a way to make the image large enough in the smaller form?