Page 9 of 28 FirstFirst ... 789101119 ... LastLast
Results 81 to 90 of 279
  1. #81
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Flexible Attributes support

    Your image is a little hard to see.. Maybe Glenn can help you without it, but in case he can't see it either suggest using Tiny Pic (tinypic . com) to upload your image and posting the forum image code instead..

    Quote Originally Posted by BrettBGS View Post
    Hi,

    This is a great mod! I'm not sure if this is possible though. Can I move the position of my attribute comments to underneath (and right aligned) with the attribute label?

    I've tried using padding, or even relative positioning but that does not allow space for the actual text/comments to be dropped in and can overwrite what is there.

    What is the best way to move the comments left and under my attributes? Here's my product page where I need it done:
    http://www.thedreamtime.com/store/in...roducts_id=182

    You can see from this image what I'm trying to achieve (the red text next to each label is how I would like the comments to appear).

    Thanks,
    -Brett
    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. #82
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Flexible Attributes support

    At a glance, it might be possible to get the layout you want from the mod as is, but more likely you would need to change the comment so it appears after the attribute (there is non-functional code for this in the standard attribute file.)
    I have to run, but may be able to look at this late tonight or tomorrow.

  3. #83
    BrettBGS Guest

    Default Re: Flexible Attributes support

    Hi,

    I've updated the image using tinypic (see it attached)... It's the RED text in this image (that appears under the labels in the picture) that I'm trying to duplicate - another way of doing it would be to display the comments underneath, or to the side of the attribute, rather than the standard of placing it above the attribute.

    Glenn - I believe you are the author of Flexible Attributes, my kudos... and a few questions below...

    Quote Originally Posted by gjh42 View Post
    At a glance, it might be possible to get the layout you want from the mod as is, but more likely you would need to change the comment so it appears after the attribute (there is non-functional code for this in the standard attribute file.)
    I have to run, but may be able to look at this late tonight or tomorrow.
    1.) Any chance that there is a way to do this with CSS using Flexible Attributes?

    2.) You say I could change the attribute to display the comment after the attribute. Where would I make this change?

    3.) Regarding your own website, I saw the link at the beginning of this thread and had a look. Excellent - and in fact I may have a need to do what you've done as well. From what I see though I'm trying to understand, have you modified the cart completely to look like your website, or have you embedded a Product into your website? I've done this previously with Miva Cart and I am moving to ZenCart I am looking to find a way to do this as well. With Miva I used to embed the Product into any page on my site (using a template that displayed the page as if it were another page on my website, then embedding the product attributes and the form to let the user 'Add To Cart').

    So, I'm curious how you did this on your website (http://www.nyfaeriefest.com/) with the Artist Vendor Application? Is your cart setup to look like the site, or have you embedded the product into one of the site's pages?



    Thanks in advance,
    -Brett

  4. #84
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Flexible Attributes support

    have you modified the cart completely to look like your website, or have you embedded a Product into your website?
    Neither - the entire site is Zen Cart. This is an example of how the template can be modified, and without major code changes in this instance. Most of the site pages are ez-pages, while the application and registration/payment pages are products.

  5. #85
    BrettBGS Guest

    Default Re: Flexible Attributes support

    Hi,

    Quote Originally Posted by gjh42 View Post
    Neither - the entire site is Zen Cart. This is an example of how the template can be modified, and without major code changes in this instance. Most of the site pages are ez-pages, while the application and registration/payment pages are products.
    I do see that now. I wonder though, is there some advantage to doing that, over just using the cart on pages requiring payments?

    Regarding Flexible Attributes (from my a few posts back):
    --
    1.) Any chance that there is a way to do this with CSS using Flexible Attributes?

    2.) You say I could change the attribute to display the comment after the attribute. Where would I make this change?
    --

    Thanks,
    -Brett

  6. #86
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Flexible Attributes support

    To move the comment text from above the name to below it, find these sections in tpl_modules_attributes.php
    PHP Code:
    <?php
      
    if ($options_comment[$i] != '' and $options_comment_position[$i] == '0') {
    ?>
    <h3 class="attributesComments"><?php echo $options_comment[$i]; ?></h3>
    <?php
      
    }
    ?>

    (bunch of code)


    <?php if ($options_comment[$i] != '' and $options_comment_position[$i] == '1') { ?>
        <div class="ProductInfoComments"><?php echo $options_comment[$i]; ?></div>
    <?php ?>
    and switch the
    == '0')
    and
    == '1')
    PHP Code:
    <?php
      
    if ($options_comment[$i] != '' and $options_comment_position[$i] == '1') {
    ?>
    <h3 class="attributesComments"><?php echo $options_comment[$i]; ?></h3>
    <?php
      
    }
    ?>

    (bunch of code)


    <?php if ($options_comment[$i] != '' and $options_comment_position[$i] == '0') { ?>
        <div class="ProductInfoComments"><?php echo $options_comment[$i]; ?></div>
    <?php ?>

  7. #87
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Flexible Attributes support

    is there some advantage to doing that, over just using the cart on pages requiring payments?
    I only had to build the site once, with navigation and different page content all handled using stock Zen Cart functions like the ez-pages sidebox menu and the ez-page content editing system.

  8. #88
    BrettBGS Guest

    Default Re: Flexible Attributes support

    Hi,

    Thanks that helped. I also removed this code, the last in the attribsOptions DIV to get place the comments text immediately after the attribute:
    Code:
    <br class="clearBoth" />
    I added the <br> back in like this in options_comment... last block, like this, after swapping places with the 0 and 1 as you suggested:
    Code:
    <?php if ($options_comment[$i] != '' and $options_comment_position[$i] == '0') { ?>
        <div class="ProductInfoComments"><?php echo $options_comment[$i]; ?></div>
        <br class="clearBoth" />
    <?php } else { ?>
        <br class="clearBoth" />
    <?php } ?>
    </div>
    Thanks,
    -Brett

  9. #89
    Join Date
    Oct 2010
    Location
    Shropshire
    Posts
    174
    Plugin Contributions
    0

    Default Re: remove br with css

    I have
    Code:
    <div class="wrapperAttribsOptions" id="wAttrib-8">
    
    <div class="attribsOptions">
    <h4 class="optionName back">Available Dates :</h4>
    <div class="back">
    <input type="radio" name="id[8]" value="13" checked="checked" id="attrib-8-13" /><label class="attribsRadioButton zero" for="attrib-8-13">Please select (dd/mm/yyyy)</label><br />
    <input type="radio" name="id[8]" value="14" id="attrib-8-14" /><label class="attribsRadioButton zero" for="attrib-8-14">01/05/2011</label><br />
    I want display:none for the <br /> on the radio buttons in this attribute only. This is the first step in trying to get the radio buttons to appear in columns (there are 18 of them).I tried both of the following
    Code:
    #wAttrib-8 .back+br {display:none}
    #wAttrib-8 .attribsOptions.back+br {display:none}
    that didnt work - clearly I havent fully understood something

    can anyone help out please

  10. #90
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: remove br with css

    Add to your stylesheet_flexible_attributes

    #wAttrib-8 br+input+label+br {display:none;}

 

 
Page 9 of 28 FirstFirst ... 789101119 ... LastLast

Similar Threads

  1. v154 Flexible Footer Menu Multilingual [Support Thread]
    By rbarbour in forum All Other Contributions/Addons
    Replies: 128
    Last Post: 6 Sep 2023, 10:30 PM
  2. v152 Flexible Language/Currency Header Options (Support Thread)
    By rbarbour in forum All Other Contributions/Addons
    Replies: 17
    Last Post: 20 May 2021, 03:46 PM
  3. v151 Flexible Return Authorization (RMA) for ZC v1.5.x [Support Thread]
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 167
    Last Post: 11 Apr 2021, 08:56 PM
  4. Flexible Product Listing [support]
    By gjh42 in forum All Other Contributions/Addons
    Replies: 27
    Last Post: 27 Apr 2015, 11:16 AM
  5. help with flexible product listing addon
    By artifaxworthing in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Jun 2010, 11:25 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR