Snaf

Views: 40,728

Results 21 to 40 of 298
22 Mar 2012, 1:13 PM
#21
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Snaf

can you post a URL to the site? that would be extremely useful.

Nick
iszent.com

22 Mar 2012, 1:39 PM
#22
gandalfsmith avatar

gandalfsmith

New Zenner

Join Date:
Oct 2011
Location:
Toronto Canada
Posts:
69
Plugin Contributions:
0

Re: Snaf

http://sexpriseher.com/lladro/index.php?main_page=products_all

and I am trying to get it to look similar to this one:
vir gin iaha yw ard .com/occasion/new-baby/[/URL]

(but only the position of the image, name, price - info & buy now buttons - not colours etc)

Thanks so much :smile:

22 Mar 2012, 2:01 PM
#23
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: Snaf

OK. Well that is really a styling issue rather than functionality. You can start by centering the images in the blocks with something like:

.centerBoxContentsProducts .listingProductImage {
display:block;
margin:0 auto;
}

Everything else that you are trying to achieve should be attainable with css only. It may turn out to be easier to put a container around the prices and that would be do-able in product_listing.php but you should be able to achieve at least most of what you want through css.

One of the tricks in this kind of situation is to get rid of all the <br/> s in the way. They just make layout kind of hard. You could start with:

.centerBoxContentsProducts br{
display:none;
}

.productPriceDiscount{
float:right;
clear:none;
font-size:14px
}

.centerBoxContentsProducts .productSpecialPrice
{
float:left;
font-size:20px;
}

.centerBoxContentsProducts{
font-size:20px;
}

That should get you going.

Nick
iszent.com

1 Apr 2012, 8:59 PM
#24
divavocals avatar

divavocals

Totally Zenned

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

Re: Snaf

Trying to troubleshoot an issue I have with the new products page and I tried uninstalling SNAF this and got an error:

[01-Apr-2012 14:58:38] PHP Warning: require(includes/init_includes/init_snaf.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home2/mysite/public_html/myclient/includes/autoload_func.php on line 48
[01-Apr-2012 14:58:38] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/init_includes/init_snaf.php' (include_path='.:/usr/lib64/php:/usr/lib/php') in /home2/mysite/public_html/myclient/includes/autoload_func.php on line 48

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

2 Apr 2012, 1:27 AM
#25
gandalfsmith avatar

gandalfsmith

New Zenner

Join Date:
Oct 2011
Location:
Toronto Canada
Posts:
69
Plugin Contributions:
0

Re: Snaf

Thank you so very much Nick! That was a great help, I was a bit dumb in finding the correct css classes to edit. I am alot further on now and greatly appreciate those first steps to get me started. :clap:

2 Apr 2012, 7:17 AM
#26
divavocals avatar

divavocals

Totally Zenned

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

Re: Snaf

DivaVocals:

Trying to troubleshoot an issue I have with the new products page and I tried uninstalling SNAF this and got an error:
So in addition to the afore mentioned uninstall error, I confirmed that my issue with the new products listing may be related to SNAF.

See this page: http://clientmybeautyaddiction(dot)overthehillweb(dot)com/index.php?main_page=products_new

This is a vanilla site with onlyt the Ashley Pink template installed..

When there are no new products to show it looks as if a language file is missing, but I uploaded everything in the SNAF package..

(note: this worked before installing SNAF)

Help!!:frusty:

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

3 Apr 2012, 6:08 AM
#27
divavocals avatar

divavocals

Totally Zenned

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

Re: Snaf

Confirmed that the seemingly missing language file might be coming from SNAF.

When I set to **Use Product Listing Format for New Products to **"True", the language constant appears as if there is a missing language file.

When I set **Use Product Listing Format for New Products to **"False", the text "More new products will be added soon. Please check back later." is displayed..

DivaVocals:

So in addition to the afore mentioned uninstall error, I confirmed that my issue with the new products listing may be related to SNAF.

See this page: http://clientmybeautyaddiction(dot)overthehillweb(dot)com/index.php?main_page=products_new

This is a vanilla site with onlyt the Ashley Pink template installed..

When there are no new products to show it looks as if a language file is missing, but I uploaded everything in the SNAF package..

(note: this worked before installing SNAF)

Help!!:frusty:

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

3 Apr 2012, 7:47 PM
#28
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: Snaf

Darn. Yes an error on my part. The language file that product_listing uses is not loaded because this is not a product listing page. Need to have a bit of a think about that.

But until then try this in tpl_products_new_default.php

<?php

if (!defined('TEXT_NO_PRODUCTS')) {
$category_depth = 'products';
include('includes/languages/english/index.php');
}

require($template->get_template_dir('tpl_modules_product_listing.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_product_listing.php');

it is right down at the bottom of the file. I am sure you will find it . let me know how that works. I am without a test server at the moment. Or rather they are all full up with stuff :-)

If that works then I'll just have to adapt it to accommodate languages.

Nick
iszent.com

3 Apr 2012, 7:57 PM
#29
divavocals avatar

divavocals

Totally Zenned

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

Re: Snaf

Eureka!!! That did the trick!!! You are the BEST!!!

niccol:

Darn. Yes an error on my part. The language file that product_listing uses is not loaded because this is not a product listing page. Need to have a bit of a think about that.

But until then try this in tpl_products_new_default.php

<?php if (!defined('TEXT_NO_PRODUCTS')) { $category_depth = 'products'; include('includes/languages/english/index.php'); } require($template->get_template_dir('tpl_modules_product_listing.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_product_listing.php'); ```it is right down at the bottom of the file. I am sure you will find it . let me know how that works. I am without a test server at the moment. Or rather they are all full up with stuff :-) > > If that works then I'll just have to adapt it to accommodate languages.

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

3 Apr 2012, 8:00 PM
#30
divavocals avatar

divavocals

Totally Zenned

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

Re: Snaf

Also did you see the post regarding the uninstall error I got when I attempted to uninstall SNAF???

(eventually it didn't matter than I couldn't uninstall SNAF.. I opted for taking the drastic route of killing my store and starting over:laugh: -- still thought you'd want to know about the error though..)

niccol:

Darn. Yes an error on my part. The language file that product_listing uses is not loaded because this is not a product listing page. Need to have a bit of a think about that.

But until then try this in tpl_products_new_default.php

<?php if (!defined('TEXT_NO_PRODUCTS')) { $category_depth = 'products'; include('includes/languages/english/index.php'); } require($template->get_template_dir('tpl_modules_product_listing.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_product_listing.php'); ```it is right down at the bottom of the file. I am sure you will find it . let me know how that works. I am without a test server at the moment. Or rather they are all full up with stuff :-) > > If that works then I'll just have to adapt it to accommodate languages.

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

3 Apr 2012, 8:15 PM
#31
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: Snaf

Glad it works.

Probably I need to do the same for featured, specials, all listings. And I need to make it work for languages other than english.

The uninstall thing is a bit strange to be honest.

But writing a nice installer/uninstaller for this mod is on the list of things to do.

There is a little list of minor niggles with this now so I should get round to it in the near future. maybe definitely for sure perhaps....

Nick
iszent.com

4 Apr 2012, 5:58 PM
#32
johnnycopilot avatar

johnnycopilot

Zen Follower

Join Date:
Mar 2012
Posts:
325
Plugin Contributions:
0

Re: Snaf

Hey, it's me again... I have Zen V1.5.0, using ababon red template. My website is stageandtheaterlighting com .. The FIRST row ONLY of my products is displaying BOLD text in the product description. I don't want that...sooo.... How can I make the text in the first row not bold? any help, as usual, would be GREEEATLY appreciated!! Thanks!!

5 Apr 2012, 1:59 AM
#33
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: Snaf

Again, a styling issue rather that functionality. Column grid creates the first row as a table header row <th> and the other rows as table rows <tr> . Table headers are sometimes styled in bold so you need to adjust the styling for that :-) Any problems post again.

Nick
iszent.com

5 Apr 2012, 3:47 AM
#34
johnnycopilot avatar

johnnycopilot

Zen Follower

Join Date:
Mar 2012
Posts:
325
Plugin Contributions:
0

Re: Snaf

yea problem,, I don't know where to change that.
Question.. If I change my headers to not bold, is there any disadvantage to that,, other than styling? search engine disadvantages for example?? and when I make THESE (the first row) not bold, is it going to make every place on the website change? sorry about so many questions... if it's just a styling thing, I certainly want to change it to not bold, so... if you (or anyone) can tell me where and how that would be great.... Thanks!! :smile:

5 Apr 2012, 8:58 AM
#35
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Snaf

You can limit the effect to just <th> inside the relevant listings with the right CSS selectors. Something like

#productListing th .listingDescription {font-weight: normal;}

I don't have a standard installation of SNAF to test this on, so it might need adjustment.

It will not matter for SEO - these are not really headers anyway, in spite of the label.

5 Apr 2012, 9:02 AM
#36
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: Snaf

Well, this is a bit of a quirk in column grid. It has existed for a while but I'll try and remember to fix it in the next release.

Try this somewhere in your stylesheet.

.centerBoxContentsProducts th{
font-weight:normal;
}

That is untested so I might have made typos.

It will only change the styling in the product listing not everywhere. What the css is saying is apply this styling to all the 'th' that are inside centerBoxContentsProducts.

It is well worth getting you head around a bit of css. Most styling is done that way. Another suggestion is to work out how to use the firebug or web developer tools. These are browser tools that let you see the id and class of elements on the page. If you know them then it is easy to write a css rule to target those elements.

Nick
iszent.com

5 Apr 2012, 9:05 AM
#37
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: Snaf

Glenn and I writing at the same time :-)

His solution should work too - it is just a different way of targeting the same thing.

Nick
iszent.com

6 Apr 2012, 4:27 AM
#38
mgoodwindesign avatar

mgoodwindesign

New Zenner

Join Date:
Feb 2010
Location:
Atlanta, GA
Posts:
15
Plugin Contributions:
0

Re: Snaf

I installed the add on for 1.5.0 without any problems. I am going through and activating the features to see how things work and when I set "Use Product Listing Filter for New Products in SNAF" to TRUE for all versions of "Use Product Listing Filter for INSERT LISTING HERE" I am not getting any sort filter drop down box showing up. Help! also is it possible to have the category headings what is selected for sorting like with typical non SNAF categories?

6 Apr 2012, 6:50 AM
#39
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: Snaf

Usual questions:

  1. Can I see a URL. Without being able to see the site it is hard to comment.

  2. have you other modifications/themes/addons in place?

Nick
iszent.com

6 Apr 2012, 12:57 PM
#40
mgoodwindesign avatar

mgoodwindesign

New Zenner

Join Date:
Feb 2010
Location:
Atlanta, GA
Posts:
15
Plugin Contributions:
0

Re: Snaf

niccol:

Usual questions:

  1. Can I see a URL. Without being able to see the site it is hard to comment.

Leave it to end of day posting and leaving out the basics. thegamingpit.com/index.php you need to include the direct link to the index page otherwise you will get a default coming soon page.

niccol:

  1. have you other modifications/themes/addons in place?

I have not installed any theme packages, I am generating the site template with the basic overrides of the template_default files as I need to modify anything. SNAF is the only modification to product listing that i have installed.

Below are addons I have in place

zen_lightbox
wordpress page
tabbed home page modules
product extra fields
a custom product type with it's own product fields
easy populate
css flyout menu
contact us add subect
additional product images