Forums / Addon Templates / Piccadilly Posh Template Support Thread

Piccadilly Posh Template Support Thread

Views: 44,449

Results 201 to 220 of 343
10 Jun 2013, 9:06 AM
#201
annav avatar

annav

Zen Follower

Join Date:
Jul 2008
Location:
Sydney, Australia
Posts:
171
Plugin Contributions:
0

Piccadilly Posh Template Support Thread

picaflor-azul:

It looks like you have solved this?

Thanks,

Anne

Hi Anne,

No, I couldn't work it out but in the end I decided not to use the right hand sideboxes anyway which evened everything up again.

But another issue I'm having is that I'm trying to limit the number of characters on the Product Titles as some are longer than others thus making the "box" move down (I attached an image in an earlier post).

I have been on the zen cart forums and have found the code to change but it is still not working.

I was told that the original code was a bad code, or something like that but I changed the original code on line 140 and 142 to the following:

$lc_text = '<h3 class="itemTitle"><a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id'] > 0) ? zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > 0 ? zen_get_generated_category_path_rev($_GET['cPath']) : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . $listing->fields['products_id']) . '">' . zen_trunc_string($listing->fields['products_name'],30) . '</a></h3><div class="listingDescription">' . zen_trunc_string(zen_clean_html(stripslashes(zen_get_products_description($listing->fields['products_id'], $_SESSION['languages_id']))), PRODUCT_LIST_DESCRIPTION) . '</div>';

Is there anything in there that you can see why it wouldn't work? Also, the original code was written in there twice, word for word, so I changed both of them, then only just the one etc but whichever way I did it, it still wouldn't reduce the number of characters in the title.

Anna
https://www.toycrazy.com.au

10 Jun 2013, 12:26 PM
#202
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Piccadilly Posh Template Support Thread

annav:

Hi Anne,

No, I couldn't work it out but in the end I decided not to use the right hand sideboxes anyway which evened everything up again.

But another issue I'm having is that I'm trying to limit the number of characters on the Product Titles as some are longer than others thus making the "box" move down (I attached an image in an earlier post).

I have been on the zen cart forums and have found the code to change but it is still not working.

I was told that the original code was a bad code, or something like that but I changed the original code on line 140 and 142 to the following:

$lc_text = '<h3 class="itemTitle"><a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id'] > 0) ? zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > 0 ? zen_get_generated_category_path_rev($_GET['cPath']) : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . $listing->fields['products_id']) . '">' . zen_trunc_string($listing->fields['products_name'],30) . '</a></h3><div class="listingDescription">' . zen_trunc_string(zen_clean_html(stripslashes(zen_get_products_description($listing->fields['products_id'], $_SESSION['languages_id']))), PRODUCT_LIST_DESCRIPTION) . '</div>';

Is there anything in there that you can see why it wouldn't work? Also, the original code was written in there twice, word for word, so I changed both of them, then only just the one etc but whichever way I did it, it still wouldn't reduce the number of characters in the title.

Anna
https://www.toycrazy.com.au

It is unclear to me exactly what you are trying to do but I would use css to fix ant spacing issues.

Thanks,

Anne

24 Jun 2013, 5:17 PM
#203
traytray avatar

traytray

Totally Zenned

Join Date:
May 2012
Posts:
566
Plugin Contributions:
0

Re: Piccadilly Posh Template Support Thread

I had a male friend look at this page for feedback:

http://designerperfumesnob.authsafe.com/mens-cologne-c-652.html

And he said I had to lose the pink background. How can I change the background for this page and probably for the category Aftershave as well. Those are the only two strictly masculine pages I have.

Thanks!

24 Jun 2013, 5:31 PM
#204
gsallen101289 avatar

gsallen101289

New Zenner

Join Date:
Aug 2009
Posts:
44
Plugin Contributions:
0

Re: Piccadilly Posh Template Support Thread

traytray:

I had a male friend look at this page for feedback:

http://designerperfumesnob.authsafe.com/mens-cologne-c-652.html

And he said I had to lose the pink background. How can I change the background for this page and probably for the category Aftershave as well. Those are the only two strictly masculine pages I have.

Thanks!

You need to edit your stylesheet, /includes/templates/piccadilly_posh/css/stylesheet.css

Fing the link for your background image and replace bk.img with the name of your new image. Make sure the image is uploaded to your server as well :)

24 Jun 2013, 5:39 PM
#205
traytray avatar

traytray

Totally Zenned

Join Date:
May 2012
Posts:
566
Plugin Contributions:
0

Re: Piccadilly Posh Template Support Thread

gsallen101289:

You need to edit your stylesheet, /includes/templates/piccadilly_posh/css/stylesheet.css

Fing the link for your background image and replace bk.img with the name of your new image. Make sure the image is uploaded to your server as well :)

I see this:

body {margin: 0;font-family: verdana, arial, helvetica, sans-serif;font-size: 62.5%;color: #444443;background: url(../images/bk.png);overflow: auto; overflow-x: hidden;}

But if that is all that refers to the background image, it would change the image for the entire site. I only want to change the background for two pages. Is that possible?

24 Jun 2013, 5:45 PM
#206
gsallen101289 avatar

gsallen101289

New Zenner

Join Date:
Aug 2009
Posts:
44
Plugin Contributions:
0

Re: Piccadilly Posh Template Support Thread

traytray:

I see this:

body {margin: 0;font-family: verdana, arial, helvetica, sans-serif;font-size: 62.5%;color: #444443;background: url(../images/bk.png);overflow: auto; overflow-x: hidden;}

But if that is all that refers to the background image, it would change the image for the entire site. I only want to change the background for two pages. Is that possible?

Sorry I misunderstood what you were trying to do. That change I suggested would change the image globally. I am not sure of a way to change it only for two pages but I am sure it can be done. Hopefully someone else has the answer you are needing.

25 Jun 2013, 12:53 PM
#207
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Piccadilly Posh Template Support Thread

traytray:

I had a male friend look at this page for feedback:

http://designerperfumesnob.authsafe.com/mens-cologne-c-652.html

And he said I had to lose the pink background. How can I change the background for this page and probably for the category Aftershave as well. Those are the only two strictly masculine pages I have.

Thanks!

If you read the reademe file in the css directory, you will find instructions for per page css changes.

Thanks,

Anne

26 Jun 2013, 4:51 AM
#208
traytray avatar

traytray

Totally Zenned

Join Date:
May 2012
Posts:
566
Plugin Contributions:
0

Re: Piccadilly Posh Template Support Thread

I looked at the read me, but missed any information about keeping Featured Products open on the Main Page. Is there a way to do that I missed? Featured Products are the only ones I am showing on the Main Page.

http://designerperfumesnob.authsafe.com/

26 Jun 2013, 2:04 PM
#209
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Piccadilly Posh Template Support Thread

traytray:

I looked at the read me, but missed any information about keeping Featured Products open on the Main Page. Is there a way to do that I missed? Featured Products are the only ones I am showing on the Main Page.

http://designerperfumesnob.authsafe.com/

See this:

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

Thanks,

Anne

26 Jun 2013, 10:42 PM
#210
traytray avatar

traytray

Totally Zenned

Join Date:
May 2012
Posts:
566
Plugin Contributions:
0

Re: Piccadilly Posh Template Support Thread

picaflor-azul:

See this:

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

Thanks,

Anne

Thanks, I am now able to keep Featured Products open. I have two more questions I can't seem to pinpoint:

Is there a define I can use to change the name of Featured to read Featured Fragrances or Featured Products. It says simply Featured right now.

For some reason if you point the cursor at the heading "Featured" it turns into a hand as if it was a clickable link. Since it isn't, is there some way I could prevent that hand from appearing?

Thanks!

http://designerperfumesnob.authsafe.com/

27 Jun 2013, 11:59 PM
#211
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Piccadilly Posh Template Support Thread

traytray:

Thanks, I am now able to keep Featured Products open. I have two more questions I can't seem to pinpoint:

Is there a define I can use to change the name of Featured to read Featured Fragrances or Featured Products. It says simply Featured right now.

For some reason if you point the cursor at the heading "Featured" it turns into a hand as if it was a clickable link. Since it isn't, is there some way I could prevent that hand from appearing?

Thanks!

http://designerperfumesnob.authsafe.com/

You can use the admin--tools--developers toolkit to search for which line of which file you need to edit to make changes.

If you only want the featured products to show then I would recommend removing the tabbed home page modules module and just using default zen cart functionality.

Thanks,

Anne

3 Jul 2013, 11:37 PM
#212
traytray avatar

traytray

Totally Zenned

Join Date:
May 2012
Posts:
566
Plugin Contributions:
0

Re: Piccadilly Posh Template Support Thread

When I look at the demo for Piccadilly Posh, I see the Newsletter Unsubscribe page, and I know I had one at one time, but not anymore. I know that I had removed it from the footer, and the sitemap, and have since replaced it in the sitemap as Promotions Unsubscribe, and I see the define in:

Includes/languages/English/piccadilly_posh/unsubscribe.php

But I can’t actually get to the page. I don’t know how to correct this. Please help~

http://designerperfumesnob.authsafe.com/site_map.html

4 Jul 2013, 12:51 PM
#213
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Piccadilly Posh Template Support Thread

traytray:

When I look at the demo for Piccadilly Posh, I see the Newsletter Unsubscribe page, and I know I had one at one time, but not anymore. I know that I had removed it from the footer, and the sitemap, and have since replaced it in the sitemap as Promotions Unsubscribe, and I see the define in:

Includes/languages/English/piccadilly_posh/unsubscribe.php

But I can’t actually get to the page. I don’t know how to correct this. Please help~

http://designerperfumesnob.authsafe.com/site_map.html

I would recommend looking at the footer_menu_defines.php file that is included in the template package to find the code you need to add to your footer_menu_defines.php file for the unsubscribe link.

Thanks,

Anne

11 Jul 2013, 5:17 AM
#214
traytray avatar

traytray

Totally Zenned

Join Date:
May 2012
Posts:
566
Plugin Contributions:
0

Re: Piccadilly Posh Template Support Thread

I've decided to just go with Specials for the Main Page, but I can't lose the Featured Products. Here is the code I am showing in includes/templates/overrides/css/stylesheet_module_tabs.css

#moduleMenu { background:none; border:0px solid #000; border-bottom:0;}
#moduleMenu span{ float:left;}
#moduleMenu span a {color:#fffffd;display:block;outline:none;text-align:center;padding-top:20px;font-size:13px;font-weight:bold;}
#moduleMenu span a:active {}
#specialsDefault{display:block;}
.moduleBox{background: url(../images/sidebox-bk-1.png) repeat-x;width:624px;height:50px;padding-left:5px;margin-top:-29px;}
#moduleMenu-wrapper{border:1px solid #ccc;width:95%;margin:0 auto;background:#fff;margin-top:45px;}

I can't see any reason the Featured Products would still display.

http://designerperfumesnob.authsafe.com/

Thanks!

11 Jul 2013, 3:09 PM
#215
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Piccadilly Posh Template Support Thread

traytray:

I've decided to just go with Specials for the Main Page, but I can't lose the Featured Products. Here is the code I am showing in includes/templates/overrides/css/stylesheet_module_tabs.css

#moduleMenu { background:none; border:0px solid #000; border-bottom:0;}
#moduleMenu span{ float:left;}
#moduleMenu span a {color:#fffffd;display:block;outline:none;text-align:center;padding-top:20px;font-size:13px;font-weight:bold;}
#moduleMenu span a:active {}
#specialsDefault{display:block;}
.moduleBox{background: url(../images/sidebox-bk-1.png) repeat-x;width:624px;height:50px;padding-left:5px;margin-top:-29px;}
#moduleMenu-wrapper{border:1px solid #ccc;width:95%;margin:0 auto;background:#fff;margin-top:45px;}

I can't see any reason the Featured Products would still display.

http://designerperfumesnob.authsafe.com/

Thanks!

If you don't want featured at all, turn them off in the admin on the home page,

Thanks,

Anne

11 Jul 2013, 5:15 PM
#216
traytray avatar

traytray

Totally Zenned

Join Date:
May 2012
Posts:
566
Plugin Contributions:
0

Re: Piccadilly Posh Template Support Thread

beautiful, thanks!

25 Jul 2013, 9:49 PM
#218
traytray avatar

traytray

Totally Zenned

Join Date:
May 2012
Posts:
566
Plugin Contributions:
0

Re: Piccadilly Posh Template Support Thread

I chose to add some text to the footer and didn't realize I was opening a can of worms. I did the following:

In the includes/templates/piccadilly_posh/common/ tpl_footer.php:

<div class="mytext">

And this in the stylesheet.css

.mytext a {
font-size: 75%;
}

I immediately had issues with text becoming centered throughout my entire site! What I am looking to do in the footer is have the text left aligned with a margin, so it's not jammed against the left side, and have a space between the two paragraphs. Right now the white space between the payment options and before the text looks good, ditto the space under the last paragraph and the Copyright. Once it is aligned left, it might jump to an extra space. I have had that happen when my host tried to help.

I understand that somehow the footer text is combined with other things on my site, so I can't be jumping in there and changing stuff around on the fly. I'd like to just set it and forget it, and get my site back to being left aligned.

http://designerperfumesnob.authsafe.com/womens-perfume-c-656.html

Thanks!

26 Jul 2013, 12:25 PM
#219
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Piccadilly Posh Template Support Thread

traytray:

I chose to add some text to the footer and didn't realize I was opening a can of worms. I did the following:

In the includes/templates/piccadilly_posh/common/ tpl_footer.php:

<div class="mytext">

And this in the stylesheet.css

.mytext a {
font-size: 75%;
}

I immediately had issues with text becoming centered throughout my entire site! What I am looking to do in the footer is have the text left aligned with a margin, so it's not jammed against the left side, and have a space between the two paragraphs. Right now the white space between the payment options and before the text looks good, ditto the space under the last paragraph and the Copyright. Once it is aligned left, it might jump to an extra space. I have had that happen when my host tried to help.

I understand that somehow the footer text is combined with other things on my site, so I can't be jumping in there and changing stuff around on the fly. I'd like to just set it and forget it, and get my site back to being left aligned.

http://designerperfumesnob.authsafe.com/womens-perfume-c-656.html

Thanks!

You can fix your footer text by adding this to your stylesheet.css file:

.mytext{text-align:left;width:95%;margin:0 auto;}

The text centering problem is not related to the .mytext class. I would recommend back tracking and restoring previous backups to find the point at which the problem started.

Thanks,

Anne

26 Jul 2013, 5:20 PM
#220
traytray avatar

traytray

Totally Zenned

Join Date:
May 2012
Posts:
566
Plugin Contributions:
0

Re: Piccadilly Posh Template Support Thread

The code fixed the footer text issue and I am working on the centering of the rest of the site. You are an angel~

Now that I've buttered you up a bit, let me ask how I might stop the cursor from turning into a hand when it points to Shop Our Sale on the main page. I don't want that heading to do anything but sit there and look pretty. No hover, no click, just pretty.

Hoping for as easy a fix as the footer issue ;)

http://designerperfumesnob.authsafe.com/