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
Views: 40,728
Totally Zenned
can you post a URL to the site? that would be extremely useful.
Nick
iszent.com
New Zenner
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:
Lead•Empower•Motivate
=Web+Development&eng[]=4-stars?vt_cmp=zencart"]**Catherine S.**
Go2Guru
Totally Zenned
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
Totally Zenned
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.
New Zenner
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:
Lead•Empower•Motivate
=Web+Development&eng[]=4-stars?vt_cmp=zencart"]**Catherine S.**
Go2Guru
Totally Zenned
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.
Totally Zenned
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.
Totally Zenned
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
Totally Zenned
Eureka!!! That did the trick!!! You are the BEST!!!
<?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.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
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.
Totally Zenned
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..)
<?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.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
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.
Totally Zenned
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
Zen Follower
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!!
Totally Zenned
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
Zen Follower
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:
Black Belt
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.
Totally Zenned
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
Totally Zenned
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
New Zenner
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?
Totally Zenned
Usual questions:
Can I see a URL. Without being able to see the site it is hard to comment.
have you other modifications/themes/addons in place?
Nick
iszent.com
New Zenner
niccol:
Usual questions:
- 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:
- 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
Tell staff why this post should be reviewed.