Zen Cart Logo
Forums / Addon Templates / Responsive Apparel Boutique Template

Responsive Apparel Boutique Template

Views: 101,450

Results 61 to 80 of 288
28 Oct 2013, 16:59
#61
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,780
Plugin Contributions:
2

Responsive Apparel Boutique Template

x8ox:

If you wished to turn off the left hand column for the "contact us" and "terms & conditions" pages, find the following block of code
if (in_array($current_page_base,explode(",",'list_pages_to_skip_all_right_sideboxes _on_here,separated_by_commas,and_no_spaces')) ) {
$flag_disable_right = true;
}
and edit it to read
if (in_array($current_page_base,explode(",",'contact_us,conditions')) ) {
$flag_disable_left = true;
}

But i couldn't find that code i tried to add it to the global left column code

Thanks

Brian

You could add that code to your template/common/mainpage.php

28 Oct 2013, 17:20
#62
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Responsive Apparel Boutique Template

x8ox:

I think these are related to the template rather than the system

How can i use a separate set of thumbnails for the listing pages
might have been earlier version i did it on in the past but im sure
i had a folder for sm small images in the image folder

Also how can i disable the left column on certain pages tried to
use the method for none over ride but no joy it could be me thou lol

If you wished to turn off the left hand column for the "contact us" and "terms & conditions" pages, find the following block of code
if (in_array($current_page_base,explode(",",'list_pages_to_skip_all_right_sideboxes _on_here,separated_by_commas,and_no_spaces')) ) {
$flag_disable_right = true;
}
and edit it to read
if (in_array($current_page_base,explode(",",'contact_us,conditions')) ) {
$flag_disable_left = true;
}

But i couldn't find that code i tried to add it to the global left column code

Thanks

Brian

If you do a search in the faqs section you will find a tutorial about image preparation basics ;)

You need to ad the code in the includes/templates/override/common/tpl_main_page.php file.

Thanks,

Anne

28 Oct 2013, 17:20
#63
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Responsive Apparel Boutique Template

picandnix:

You could add that code to your template/common/mainpage.php

Yes that is correct, tpl_main_page.php ;)

Thanks,

Anne

28 Oct 2013, 17:35
#64
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,780
Plugin Contributions:
2

Re: Responsive Apparel Boutique Template

picaflor-azul:

Yes that is correct, tpl_main_page.php ;)

Thanks,

Anne

That's the one! :wink:

28 Oct 2013, 18:24
#65
x8ox avatar

x8ox

New Zenner

Join Date:
Aug 2011
Posts:
13
Plugin Contributions:
0

Re: Responsive Apparel Boutique Template

Hello

Yes it's the tpl_main_page.php i tried to mod the code isn't the same as
the example i tried to add the code from

<?php if (COLUMN_LEFT_STATUS == 0 || (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '') || (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_COLUMN_LEFT_OFF == 'true' and ($_SESSION['customers_authorization'] != 0 or $_SESSION['customer_id'] == ''))) { // global disable of column_left $flag_disable_left = true; } if (!isset($flag_disable_left) || !$flag_disable_left) { ?> <td id="navColumnOne" class="columnLeft" style="width: <?php echo COLUMN_WIDTH_LEFT; ?>"> <?php /** * prepares and displays left column sideboxes * */ ?> <?php if (COLUMN_LEFT_STATUS == 0 || (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '') || (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_COLUMN_LEFT_OFF == 'true' and ($_SESSION['customers_authorization'] != 0 or $_SESSION['customer_id'] == ''))) { // global disable of column_left if (in_array($current_page_base,explode(",",'contact_us,conditions')) ) { $flag_disable_left = true; } if (!isset($flag_disable_left) || !$flag_disable_left) { ?> <td id="navColumnOne" class="columnLeft" style="width: <?php echo COLUMN_WIDTH_LEFT; ?>"> <?php /** * prepares and displays left column sideboxes * */ ?>

When searching the code i didn't find
$current_page_base,explode

Thanks

Brian

28 Oct 2013, 18:43
#66
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Responsive Apparel Boutique Template

x8ox:

Hello

Yes it's the tpl_main_page.php i tried to mod the code isn't the same as
the example i tried to add the code from

<?php if (COLUMN_LEFT_STATUS == 0 || (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '') || (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_COLUMN_LEFT_OFF == 'true' and ($_SESSION['customers_authorization'] != 0 or $_SESSION['customer_id'] == ''))) { // global disable of column_left $flag_disable_left = true; } if (!isset($flag_disable_left) || !$flag_disable_left) { ?> <td id="navColumnOne" class="columnLeft" style="width: <?php echo COLUMN_WIDTH_LEFT; ?>"> <?php /** * prepares and displays left column sideboxes * */ ?> <?php if (COLUMN_LEFT_STATUS == 0 || (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '') || (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_COLUMN_LEFT_OFF == 'true' and ($_SESSION['customers_authorization'] != 0 or $_SESSION['customer_id'] == ''))) { // global disable of column_left if (in_array($current_page_base,explode(",",'contact_us,conditions')) ) { $flag_disable_left = true; } if (!isset($flag_disable_left) || !$flag_disable_left) { ?> <td id="navColumnOne" class="columnLeft" style="width: <?php echo COLUMN_WIDTH_LEFT; ?>"> <?php /** * prepares and displays left column sideboxes * */ ?>

When searching the code i didn't find
$current_page_base,explode

Thanks

Brian

The code is not already there, you need to add it ;)

Thanks,

Anne

30 Oct 2013, 17:07
#67
x8ox avatar

x8ox

New Zenner

Join Date:
Aug 2011
Posts:
13
Plugin Contributions:
0

Re: Responsive Apparel Boutique Template

Thank you Anne

I need to read up on the overide i've tried adding to the exsisting file
to no joy

In your earlier reply you mention /overide/ was this a hint as i dont
have that folder and was thinking do i need to create overide files for
the pages i require to overide

Thanks

Brian

30 Oct 2013, 17:31
#68
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Responsive Apparel Boutique Template

x8ox:

Thank you Anne

I need to read up on the overide i've tried adding to the exsisting file
to no joy

In your earlier reply you mention /overide/ was this a hint as i dont
have that folder and was thinking do i need to create overide files for
the pages i require to overide

Thanks

Brian

I am sorry, I should have been more specific:

includes/templates/responsive_apparel_boutique/common/tpl_main_page.php

Thanks,

Anne

30 Oct 2013, 17:34
#69
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Responsive Apparel Boutique Template

x8ox:

Thank you Anne

I need to read up on the overide i've tried adding to the exsisting file
to no joy

In your earlier reply you mention /overide/ was this a hint as i dont
have that folder and was thinking do i need to create overide files for
the pages i require to overide

Thanks

Brian

Look what I found when I searched for "if (in_array($current_page_base,explode" in the FAQ:
**
Can I turn off the left or right hand columns for some pages only?**
http://www.zen-cart.com/content.php?231-can-i-turn-off-the-left-or-right-hand-columns-for-some-pages-only

30 Oct 2013, 22:08
#70
x8ox avatar

x8ox

New Zenner

Join Date:
Aug 2011
Posts:
13
Plugin Contributions:
0

Re: Responsive Apparel Boutique Template

Hello

That's the faq i've been trying to implement
I know the file and it's location and the code
I just dont have any joy when i try to include
it into the global left section of tpl_main_page.php
It will be me im no php'er i understand code in general
Just not php if someone could help i'd be thankful

Thanks

Brian

31 Oct 2013, 07:54
#71
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,780
Plugin Contributions:
2

Re: Responsive Apparel Boutique Template

x8ox:

Hello

That's the faq i've been trying to implement
I know the file and it's location and the code
I just dont have any joy when i try to include
it into the global left section of tpl_main_page.php
It will be me im no php'er i understand code in general
Just not php if someone could help i'd be thankful

Thanks

Brian

Brian, if you post the content of your file I'll take a look/compare it to mine today.

31 Oct 2013, 13:26
#72
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Responsive Apparel Boutique Template

x8ox:

Hello

That's the faq i've been trying to implement
I know the file and it's location and the code
I just dont have any joy when i try to include
it into the global left section of tpl_main_page.php
It will be me im no php'er i understand code in general
Just not php if someone could help i'd be thankful

Thanks

Brian

You posted the code you need to add already:

if (in_array($current_page_base,explode(",",'contact_us,conditions')) ) {
$flag_disable_left = true;
}

Thanks,

Anne

07 Nov 2013, 18:28
#73
x8ox avatar

x8ox

New Zenner

Join Date:
Aug 2011
Posts:
13
Plugin Contributions:
0

Re: Responsive Apparel Boutique Template

Thanks Anne

I'll try again to overide main lol

I've tried to create new pages using a how to and also using a generator
both pages created open but the footer is missing where do i need to be
looking to correct this is it the template

I used a gallery plugin and that created a new page which has the footer

Thanks

Brian

07 Nov 2013, 18:53
#74
x8ox avatar

x8ox

New Zenner

Join Date:
Aug 2011
Posts:
13
Plugin Contributions:
0

Re: Responsive Apparel Boutique Template

Sorry ignore the last post

07 Nov 2013, 19:06
#75
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Responsive Apparel Boutique Template

x8ox:

Sorry ignore the last post

I am happy that you figured it out ;)

Thanks,

Anne

22 Nov 2013, 13:45
#76
wtfbbq avatar

wtfbbq

New Zenner

Join Date:
Aug 2012
Posts:
45
Plugin Contributions:
0

Re: Responsive Apparel Boutique Template

Hi,
I am having a problem with the index listing section not showing any products unless you click on the new or special link first.
How do you make the new products expand by default?

22 Nov 2013, 15:07
#77
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Responsive Apparel Boutique Template

wtfbbq:

Hi,
I am having a problem with the index listing section not showing any products unless you click on the new or special link first.
How do you make the new products expand by default?

See this for how to set the default tab:

http://www.zen-cart.com/showthread.php?195520-Abbington-Mega-Template-Support-Thread&p=1134272#post1134272

Thanks,

Anne

17 Dec 2013, 11:22
#78
wtfbbq avatar

wtfbbq

New Zenner

Join Date:
Aug 2012
Posts:
45
Plugin Contributions:
0

Re: Responsive Apparel Boutique Template

Thanks that fixed it.

I have noticed a few other issues.

  1. When clicking the "Click for larger image" link, it opens the image in a smaller window than my product listing is.
    The only partial solution I've searched was to recode the popup to open a new window to a certain fixed size.
    I did not have this issue using a modified version of the original supplied green template.

  2. An issue with fixing the MAP price add on to display the trailing zero on prices such was $12.50.
    I made a post here but no one was able to respond.
    http://www.zen-cart.com/showthread.php?49901-My-Add-On-for-MAP-%28minimum-advertised-price%29&p=1228478#post1228478
    This occurs on all my templates used.

17 Dec 2013, 15:46
#79
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Responsive Apparel Boutique Template

wtfbbq:

Thanks that fixed it.

I have noticed a few other issues.

  1. When clicking the "Click for larger image" link, it opens the image in a smaller window than my product listing is.
    The only partial solution I've searched was to recode the popup to open a new window to a certain fixed size.
    I did not have this issue using a modified version of the original supplied green template.

  2. An issue with fixing the MAP price add on to display the trailing zero on prices such was $12.50.
    I made a post here but no one was able to respond.
    http://www.zen-cart.com/showthread.php?49901-My-Add-On-for-MAP-%28minimum-advertised-price%29&p=1228478#post1228478
    This occurs on all my templates used.

  1. If you post a link to your site I can take a look.

#2 is not template related.

Thanks,

Anne

18 Dec 2013, 06:17
#80
zzbchu avatar

zzbchu

New Zenner

Join Date:
Dec 2013
Posts:
5
Plugin Contributions:
0

Re: Responsive Apparel Boutique Template

I would like to know under the mobile ver., why the images in the product listing page were so small compare to the images under "New Products" or Monthly Specials"?

Can I amend the image size under product listing page in the mobile ver.?