Thread: Snaf

Page 27 of 30 FirstFirst ... 172526272829 ... LastLast
Results 261 to 270 of 298
  1. #261
    Join Date
    Mar 2005
    Posts
    229
    Plugin Contributions
    0

    Default Re: Snaf (1.5.1 and 1.5.3)?

    I reply to myself in case it can help somebody else.

    I had just to change the Maximum Display Columns Products to Multiple Categories Manager, in Configuration->Maximum values.

  2. #262
    Join Date
    Jun 2005
    Posts
    356
    Plugin Contributions
    0

    Default Re: Snaf (1.5.1 and 1.5.3)?

    I could usse a hand with setting the default sort order in a categories listing. All my SNAF items are set to 6 - which is Date Added - New to Old. When I click a category I want the same sort order, but can't seem to set it as a default. Setting "Display Product Listing Default Sort Order" to 6, blank, or anything else seems to have no effect. Changing $listing_sql .= " order by p.products_date_added DESC, pd.products_name"; in default_filter.php gets the sort right, but the sort by drop down comes in as product name, and if you really want to sort by product name you have to select something else, then re-select product name. I finally added &disp_order=6 to the end of line 88 in categories_ul_generator.php to force the menu to select 6, but that's a stupid hack and I don't like it. Anyone know how to do this correctly with SNAF?
    2 + 2 = 5 for extremely large values of 2

    Pez Collectors Store •••••••• My Plugins List

  3. #263
    Join Date
    Jun 2005
    Posts
    356
    Plugin Contributions
    0

    Default Re: Snaf (1.5.1 and 1.5.3)?

    Well I found a better solution, through its still not quote right. To the top to tpl_snaf_display_order.php I added:
    $disp_order_default = PRODUCT_ALL_LIST_SORT_DEFAULT;
    require(DIR_WS_MODULES . zen_get_module_directory(FILENAME_LISTING_DISPLAY_ORDER));

    Its better than making the URLs ugly, and it does do what I wanted, but it still feels like an ugly hack.
    2 + 2 = 5 for extremely large values of 2

    Pez Collectors Store •••••••• My Plugins List

  4. #264
    Join Date
    Dec 2004
    Posts
    1,031
    Plugin Contributions
    0

    Default Re: Snaf (1.5.1 and 1.5.3)?

    Pulled the Responsive version of SNAF from GitHub. Installed and all settings show but no grid layout on storefront. Did I miss something here? Using a clone of Responsive Classic Template. No other modules yet.
    Live and learn... the Zen way.

  5. #265
    Join Date
    Dec 2004
    Posts
    1,031
    Plugin Contributions
    0

    Default Re: Snaf (1.5.1 and 1.5.3)?

    Quote Originally Posted by mydanilo View Post
    Pulled the Responsive version of SNAF from GitHub. Installed and all settings show but no grid layout on storefront. Did I miss something here? Using a clone of Responsive Classic Template. No other modules yet.
    Solved, not all files uploaded, ftp issues. But working now.
    Live and learn... the Zen way.

  6. #266
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    568
    Plugin Contributions
    0

    Default Re: Snaf (1.5.1 and 1.5.3)?

    I have had SNAF 1.2 installed for some time and it works fine.
    Since I installed v155d Responsive classic I do not like how it looks on the mobile view.

    I installed responsive SNAF from github and it works but in the desktop view in my xammp test site the three columns do not fill out the full table width, see image.
    If I increase the column width to say 40% from 33 then it defaults to two columns, logical I suppose.
    I looked at the css but not much help, see image!
    I tried adding width commands to css .listingrow but this was ignored!

  7. #267
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,910
    Plugin Contributions
    13

    Default Re: Snaf (1.5.1 and 1.5.3)?

    i find it very difficult to troubleshoot layout/css problems from images.....

    that said, the use of tables does not make for good responsive design.

    and your 3 columns do not look to take up the full width that you want because it seems that your small text above it, is taking up 1 column....

    pure guesses based off your images.

    good luck.
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  8. #268
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    568
    Plugin Contributions
    0

    Default Re: Snaf (1.5.1 and 1.5.3)?

    Quote Originally Posted by carlwhat View Post
    i find it very difficult to troubleshoot layout/css problems from images.....

    that said, the use of tables does not make for good responsive design.

    and your 3 columns do not look to take up the full width that you want because it seems that your small text above it, is taking up 1 column....

    pure guesses based off your images.

    good luck.
    Good guess! Sorry about the images but this runs on my PC test site.

    The line in my style sheet.css for the text you mention is
    .prod-list-wrap{text-align:center;padding:20px 10px 10px 20px;clear:both;height:40px;}

    When I remove "height:40px;" then the three columns fill out the space correctly.

    I do not know enough about css to know why

    Many thanks, I will do more testing before moving it to my live site

  9. #269
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    568
    Plugin Contributions
    0

    Default Re: Snaf (1.5.1 and 1.5.3)?

    Quote Originally Posted by gothstone View Post
    I could usse a hand with setting the default sort order in a categories listing. All my SNAF items are set to 6 - which is Date Added - New to Old. When I click a category I want the same sort order, but can't seem to set it as a default. Setting "Display Product Listing Default Sort Order" to 6, blank, or anything else seems to have no effect. Changing $listing_sql .= " order by p.products_date_added DESC, pd.products_name"; in default_filter.php gets the sort right, but the sort by drop down comes in as product name, and if you really want to sort by product name you have to select something else, then re-select product name. I finally added &disp_order=6 to the end of line 88 in categories_ul_generator.php to force the menu to select 6, but that's a stupid hack and I don't like it. Anyone know how to do this correctly with SNAF?
    I believe I have the same problem.
    my SNAF items are set to 6 - which is Date Added - New to Old.

    If I set the filter "Use Product Listing Filter for Column Display" to "true" then the products are shown sorted in product name order and I do not find a way to set a different default sort order.

    I would like to find an alternative to your fixes :)

    I assume the filter default should be set in tpl_snaf_display_order.php in the following code but I have no clue how
    Code:
    <select name="disp_order" onchange="this.form.submit();" id="disp-order-sorter">
    <?php if ($disp_order != $disp_order_default) { ?>
        <option value="<?php echo $disp_order_default; ?>" <?php echo ($disp_order == $disp_order_default ? 'selected="selected"' : ''); ?>><?php echo PULL_DOWN_ALL_RESET; ?></option>
    <?php } // reset to store default ?>
    <option value="1" <?php echo ($disp_order == '1' ? 'selected="selected"' : ''); ?>><?php echo TEXT_INFO_SORT_BY_PRODUCTS_NAME; ?></option>
    <option value="2" <?php echo ($disp_order == '2' ? 'selected="selected"' : ''); ?>><?php echo TEXT_INFO_SORT_BY_PRODUCTS_NAME_DESC; ?></option>
    <option value="3" <?php echo ($disp_order == '3' ? 'selected="selected"' : ''); ?>><?php echo TEXT_INFO_SORT_BY_PRODUCTS_PRICE; ?></option>
    <option value="4" <?php echo ($disp_order == '4' ? 'selected="selected"' : ''); ?>><?php echo TEXT_INFO_SORT_BY_PRODUCTS_PRICE_DESC; ?></option>
    <option value="5" <?php echo ($disp_order == '5' ? 'selected="selected"' : ''); ?>><?php echo TEXT_INFO_SORT_BY_PRODUCTS_MODEL; ?></option>
    <option value="6" <?php echo ($disp_order == '6' ? 'selected="selected"' : ''); ?>><?php echo TEXT_INFO_SORT_BY_PRODUCTS_DATE_DESC; ?></option>
    <option value="7" <?php echo ($disp_order == '7' ? 'selected="selected"' : ''); ?>><?php echo TEXT_INFO_SORT_BY_PRODUCTS_DATE; ?></option>
    </select>

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

    Default Re: Snaf (1.5.1 and 1.5.3)?

    What is your setting in:

    admin>>product listing>>Display Product Listing Default Sort Order

 

 
Page 27 of 30 FirstFirst ... 172526272829 ... 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