Page 1 of 2 12 LastLast
Results 1 to 15 of 19

Thread: A couple things I found today.

  1. #1
    Harkster is offline Registered User
    Join Date
    Mar 2008
    Posts
    127

    Default A couple things I found today.

    1. When java is being used for category display and (Visible in add/modify a listing) is selected the categories aren't being expanded. I don't think this would be a template issue.

    2. When adding content to a category the database isn't being updated. Is not a template issue as I can add content to the category field via phpMyAdmin and it is displayed as it should.

  2. #2
    FSGDAG's Avatar
    FSGDAG is offline Moderator
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    Harkster... Can you give more details on #2... Show steps to reproduce the problem

    Also, on number 1, what browser(s) and version(s) are you using?
    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

  3. #3
    Harkster is offline Registered User
    Join Date
    Mar 2008
    Posts
    127

    Default

    Quote Originally Posted by FSGDAG View Post
    Harkster... Can you give more details on #2... Show steps to reproduce the problem

    Also, on number 1, what browser(s) and version(s) are you using?
    Will take me a bit. as will make a bunch of screen shots. Will post - may not be this evening.

  4. #4
    Harkster is offline Registered User
    Join Date
    Mar 2008
    Posts
    127

    Default

    Didn't take as long as I figured. Link to steps and screenshots.

    Untitled Document

    Browser is Firefox 3.5 - the java thing worked fine until...
    Last edited by Harkster; 01-11-2010 at 12:13 AM.

  5. #5
    Harkster is offline Registered User
    Join Date
    Mar 2008
    Posts
    127

    Default

    Damn that 5 minute thing -- DUH --- I meant ajax and not java.

  6. #6
    pungky's Avatar
    pungky is offline Super Moderator
    Join Date
    Mar 2009
    Posts
    143

    Default

    I have checked the issue #2 and found this as a bug. The content of category is not updated to database. We will provide the fix soon.

  7. #7
    pungky's Avatar
    pungky is offline Super Moderator
    Join Date
    Mar 2009
    Posts
    143

    Default

    For the issue #1, I still don't get it.

  8. #8
    Harkster is offline Registered User
    Join Date
    Mar 2008
    Posts
    127

    Default

    Quote Originally Posted by pungky View Post
    For the issue #1, I still don't get it.
    Lets see if I can detail what I am seeing.
    In setup there is an option 'Use AJAX for category dropdown, this will be helpfull when you have a lot of number of categories' and when this option is set to YES only the top categories are listed (with a + sign preceding the category name if there are sub-categories). When the category is selected the list is expanded to show the sub categories.

    I am attempting to block submissions to top level categories which have sub-categories.

    On an install of 1.4.2 this works fine.

    On a 2.0 install the categories do not expand properly when clicked.

    There are 2 conditions...

    Condition 1 - with Require visit category on submission = yes
    The categories set to not allow submission will not expand but categories set to allow expand properly.

    Condition 2 (my preferred setting) - with Require visit category on submission = no
    None of the categories expand.


    I see same results on Firefox, Chrome and Opera browsers.

    I can PM you access to my test platform if you can't duplicate this.

    Hope this helps.

  9. #9
    FSGDAG's Avatar
    FSGDAG is offline Moderator
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    Quote Originally Posted by pungky View Post
    I have checked the issue #2 and found this as a bug. The content of category is not updated to database. We will provide the fix soon.
    Did this fix make it into Deluxe 2.1 or is it still being worked on?
    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

  10. #10
    pungky's Avatar
    pungky is offline Super Moderator
    Join Date
    Mar 2009
    Posts
    143

    Default

    Quote Originally Posted by Harkster View Post
    Lets see if I can detail what I am seeing.
    In setup there is an option 'Use AJAX for category dropdown, this will be helpfull when you have a lot of number of categories' and when this option is set to YES only the top categories are listed (with a + sign preceding the category name if there are sub-categories). When the category is selected the list is expanded to show the sub categories.

    I am attempting to block submissions to top level categories which have sub-categories.

    On an install of 1.4.2 this works fine.

    On a 2.0 install the categories do not expand properly when clicked.

    There are 2 conditions...

    Condition 1 - with Require visit category on submission = yes
    The categories set to not allow submission will not expand but categories set to allow expand properly.

    Condition 2 (my preferred setting) - with Require visit category on submission = no
    None of the categories expand.


    I see same results on Firefox, Chrome and Opera browsers.

    I can PM you access to my test platform if you can't duplicate this.

    Hope this helps.
    What theme do you use?
    Please check using the default theme (komet).
    Quote Originally Posted by FSGDAG View Post
    Did this fix make it into Deluxe 2.1 or is it still being worked on?
    Unfortunately we found this bug after the release of indexu 2.1. So, this bug will be fixed in the next release probably 2.2.

  11. #11
    Harkster is offline Registered User
    Join Date
    Mar 2008
    Posts
    127

    Default

    Quote Originally Posted by pungky View Post
    What theme do you use?
    Please check using the default theme (komet).
    .
    My design is (if I remember right) is based on the portal_dir.

    I have discovered what caused the issue. I hope my explanation makes sense.

    I do not want to give ability to submit to multiple categories so in add_form.html I commented out as in:
    Code:
                 <div>
                    <label><%t%>Category<%/t%></label>
                    <label id="cat_div"><%$category%></label>
                    <br style="clear:both;">
                  </div>
                  
     <!--              <div>
                    <label><%t%>Additional Category 1<%/t%></label>
                    <label id="add_cat1_div"><%$add_cat1%></label>
                    <br style="clear:both;">
                  </div> -->
                  
                  <div>
                    <label><%t%>Additional Category 2<%/t%></label>
                    <label id="add_cat2_div"><%$add_cat2%></label>
                    <br style="clear:both;">
                  </div> -->
    I discovered that this is what causes the problem because if I do this:
    Code:
     <!--              <div>
                    <label><%t%>Category<%/t%></label>
                    <label id="cat_div"><%$category%></label>
                    <br style="clear:both;">
                  </div>
                  
                 <div>
                    <label><%t%>Additional Category 1<%/t%></label>
                    <label id="add_cat1_div"><%$add_cat1%></label>
                    <br style="clear:both;">
                  </div> -->
                  
                  <div>
                    <label><%t%>Additional Category 2<%/t%></label>
                    <label id="add_cat2_div"><%$add_cat2%></label>
                    <br style="clear:both;">
                  </div>
    or do nothing things work as they should.

    Not sure if this is really a bug or not but I think it should be documented somewhere.

    BTW, I get same results with the default theme.
    Last edited by Harkster; 01-12-2010 at 02:06 PM.

  12. #12
    Harkster is offline Registered User
    Join Date
    Mar 2008
    Posts
    127

    Default

    A thought just struck me. Could my doing this cause problems somewhere when there is no category 1 or 2 but there is a category 3?

  13. #13
    Harkster is offline Registered User
    Join Date
    Mar 2008
    Posts
    127

    Default

    CRAP - now I get a 'there must be a category' error when adding.

  14. #14
    pungky's Avatar
    pungky is offline Super Moderator
    Join Date
    Mar 2009
    Posts
    143

    Default

    O I see the problem. The problem occurred because you delete additional category field. The better solution is adding display:none instead of deleting or commenting it.

    Here's the code.
    HTML Code:
     <div style="display:none;">
                    <label><%t%>Additional Category 1<%/t%></label>
                    <label id="add_cat1_div"><%$add_cat1%></label>
                    <br style="clear:both;">
                  </div>
                  
                  <div style="display:none;">
                    <label><%t%>Additional Category 2<%/t%></label>
                    <label id="add_cat2_div"><%$add_cat2%></label>
                    <br style="clear:both;">
                  </div>
    Hope this works

  15. #15
    Harkster is offline Registered User
    Join Date
    Mar 2008
    Posts
    127

    Default

    THANK YOU!!

    Worked like a charm. from ear to ear.

    Please let me know when the content issue is fixed.
    Last edited by Harkster; 01-12-2010 at 11:28 PM.

Page 1 of 2 12 LastLast

Similar Threads

  1. Could we get a USER GUIDE today?
    By kosmo101 in forum v5.x
    Replies: 3
    Last Post: 08-18-2007, 05:14 AM
  2. Replies: 1
    Last Post: 06-05-2007, 11:55 AM
  3. two things :)
    By webandlinkscom in forum Blocks and Modification
    Replies: 0
    Last Post: 04-18-2007, 04:40 PM
  4. 2 things
    By tromans in forum Pre-Sales Questions
    Replies: 3
    Last Post: 08-23-2004, 03:42 AM
  5. Some things
    By Carlitus in forum v5.x
    Replies: 3
    Last Post: 11-04-2001, 07:29 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
  •