Thread: Snaf

Page 2 of 30 FirstFirst 123412 ... LastLast
Results 11 to 20 of 298
  1. #11
    Join Date
    Sep 2007
    Posts
    21
    Plugin Contributions
    0

    help question Re: Snaf

    Hi,

    I just installed SNAF following the readme instructions. Now, as I try to use it I find that the Configuration > Product Listing > Product Listing - Layout Style is set to "rows". When I try to edit it, I get a textbox and not a drop menu.

    Also, the green message that reads: "SNAF database changes have been installed" won't disappear, even loging out and login in again, and not even after changing it to chmod 777.

    Any clues as to what can be happening?

    I'm using v 1.5.0 upgraded from 1.3.9h

    Thanks in advance,

    Nugar

  2. #12
    Join Date
    Sep 2007
    Posts
    21
    Plugin Contributions
    0

    Default Re: Snaf

    Hmmm, interestingly, I renamed config.snaf.php to config.snaf.php.old, reentered the admin and now I do get radio buttons to choose from columns or rows.

    So... problem solved :)

    Cheers,

    Nugar

  3. #13
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Snaf

    Well, I would check your cache files for errors. It sounds as if the installer was not completing for some reason. The last thing that the installer does is delete the config.snaf.php file. So, obviously that was not happening which meant that each time an admin page was being loaded the installer was running.

    So, by deleting the config.snaf.php file you have stopped that happening. Which is good.

    I'd like to know what you see in the debug files though so we could fault find what was happening in your case and possibly improve the installer.

    Another thing to do is uninstall and re-install. It is possible there was a problem with the files that got uploaded. If you do do that then it would be a good idea to re-download the mod in case the files got corrupted at that point.

  4. #14

    Default Re: Snaf

    Could you tell me which files will work to show a 4 column product display for new items, i don't want to install the all products page.
    Thank you

  5. #15
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Snaf

    Just install the whole thing.

    There are admin switches which will allow you to use the features on the individual pages.

    More information is in the read me file

  6. #16
    Join Date
    Nov 2009
    Posts
    16
    Plugin Contributions
    0

    Default Re: Snaf

    Hi

    Apologies, this is a bit long winded, and not a fault with your add-on but I was hoping you might be able to point me in the right direction.

    I have installed the SNAF add on on a development site using Zen Cart 1.5.0 and all went well, thanks a lot.

    I have a live site using 1.3.8a and the previous column grid add-on.

    I had previously had a third party write a small amendment for me which allowed me to set up some products so that the price was not displayed on the listing pages, instead there is a link which says "Click for Price" which then takes the user to the product page, where the price can be displayed as normal. The live site is
    http://www.thegolfcabin.co.uk/golf-balls and look at any of the Taylormade brand products.

    I have set up an additional product field called product_is_nolist and the code that was amended in product_listing.php was in the if statement in the code below

    Code:
    case 'PRODUCT_LIST_PRICE':
    	if($listing->fields['product_is_nolist']=='1'){
            $lc_price = '<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']) . '">click for price</a>' . '<br />';
    	}
    	else{
            $lc_price = zen_get_products_display_price($listing->fields['products_id']) . '<br />';
    	}
            $lc_align = 'right';
            $lc_text =  $lc_price;
    When I try to add the above to the new product-listing.php from the new add-on, it seems to break things, i.e. no products are displayed and the right hand column and footer dont appear.

    I hope this is clear and that you dont mind me asking. Possibly something about the above is not compatible with 1.5.0. Any pointers would be appreciated.

    Thanks.

  7. #17
    Join Date
    Nov 2009
    Posts
    16
    Plugin Contributions
    0

    Default Re: Snaf

    Just looked at log files re above and is says unexpected T-CASE, possibly some sort of syntax error, will try to check the code for problems.

  8. #18
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Snaf

    Well, the log file should give you a line number. But just try commenting out it bit by bit to narrow down where the error is.

    It looks like a grammar error rather than anything intrinsically wrong.

  9. #19
    Join Date
    Nov 2009
    Posts
    16
    Plugin Contributions
    0

    Default Re: Snaf

    I have sorted this issue out, thanks.

  10. #20
    Join Date
    Oct 2011
    Location
    Toronto Canada
    Posts
    67
    Plugin Contributions
    0

    Default Re: Snaf

    I am using V1.5.0 and have a template that I am working on - I have installed SNAF and for the life of me, I cannot get the columns to display the info in them correctly. I have tried adjusting the stylesheet and it is still not doing what I need it to.

    Please let me know which file I should be editing?

    From what I can work out my home page is using tpl_columnar and my other pages (product listing, new, sales etc) seem to be using tpl_tabular. Maybe that is the mistake?

    Any urgent help would be appreciated.


 

 
Page 2 of 30 FirstFirst 123412 ... LastLast

Similar Threads

  1. SNAF and Set number dropdown not working
    By DeeL in forum General Questions
    Replies: 0
    Last Post: 2 Apr 2013, 02:03 AM
  2. styling the row layout while using snaf
    By bn17311 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Dec 2012, 07:44 PM
  3. SNAF not working with aBagon red template??
    By Johnnycopilot in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 3 Apr 2012, 08:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg