BBPress David Rogers : Replies Created

Forum Replies Created

Viewing 10 posts - 11 through 20 (of 30 total)
  • Author
    Posts
  • in reply to: set page_limit to show all cards? #317447
    David Rogers
    Participant

    Hi Steven,

    Yes, I was using the enable_pagination=false setting and that part works fine, but was curious if there was a way to tell Connections to print out all the cards on the initial view instead of just the number defined in the page_limit setting. Is that possible?

    Thanks very much,

    David

    in reply to: chosen.js options #314826
    David Rogers
    Participant

    Hi Steven,

    Thanks for all your research and thoughtful explanation! I think we would be comfortable with a budget of $150 to $200. Our requirements appear to be quite similar to Kim. Namely:

    First, for the select drop down on the card.php, have the categories shown in a two-level hierarchical list manually sorted. We would like to have the ability to toggle on/off the select-ability of the parent categories.

    Our specific use case for the search box is to be able to select these children categories (but not the parent categories such as AGES, ENVIRONMENTS, etc.) in this order:

    AGES
    - PreK
    - K5
    - 6th-8th
    - 9th-12th
    - Higher Ed
    - Other
        
    ENVIRONMENTS
    - After School
    - Agency / Mental Health
    - Education / Classroom Program
    - Families & One-on-One
    - Foster Care / Probation
    - Other
    
    PROFESSION/ROLE
    - Classroom Teacher
    - Mental Health Professional
    - Outside Provider
    - School Administrator
    - Other
    

    Second, for the card-single.php, we would like to be able to have some way to reference a single top level category (such as AGES, above) by its slug (preferred) or ID and have it return the active children categories for that contact record, respecting the manual sort order.

    Welcome your thoughts, and thank you!

    David

    in reply to: chosen.js options #314729
    David Rogers
    Participant

    Hi Steven,

    We’d definitely be interested in funding that functionality. Could it be made available to both the “select” drop down search menu in the card.php view as well as the individual listings on the card-single.php view?

    Thanks so much,

    David

    in reply to: chosen.js options #314629
    David Rogers
    Participant

    Hi Steven,

    RE reply #313257 – Is it possible to modify this by duplicating the tile-plus.php file in our theme rather than modifying the core code directly?

    Thanks!

    in reply to: chosen.js options #313307
    David Rogers
    Participant

    Hi Steven,

    That approach worked great, thank you! I’ve now got it working.

    Do you have any suggestions as to how to approach the manual ordering of the categories listed on the card-single.php view? The difference is that not all categories would be shown on every card.

    For example, one person might just have the PreK and K5 categories, while another might have K5, 6th-8th, and 8th-12th. It would be great to have them listed in the same order as the category select menu.

    Appreciate your help,

    David

    in reply to: chosen.js options #313213
    David Rogers
    Participant

    Hi Steven,

    If it’s manually hard coding the category orders in the template I can probably do that myself. Can you point me in the right direction as to where in the tiles-plus template the Category menu is built?

    Also still very happy to help fund the creation of the ability to drag and drop the order of categories in the back end that would then be reflected in the front end.

    Thanks,

    David

    in reply to: chosen.js options #313151
    David Rogers
    Participant

    Hi Steven,

    What we’re actually needing is manually ordering of the categories. To give a specific example, one of our categories is for the age range of a child. The options are:

    PreK
    K5
    6th-8th
    9th-12th
    Higher Ed
    Other

    Yet when Connections creates the category filter select menu and does an alpha sort, these are put into the following order, which no longer makes sense:

    6th-8th
    9th-12th
    Higher Ed
    K5
    Other
    PreK

    Thanks for your help!

    David

    in reply to: chosen.js options #313024
    David Rogers
    Participant

    Hi Steven,

    If you would considering adding this as a feature, we’d be happy to help fund it. Just let me know the approximate hours of your time it would take and your rate. Please let me know if that would be an option. =)

    Thanks!

    David

    in reply to: chosen.js options #312989
    David Rogers
    Participant

    Thanks Steven.

    That option worked great.

    One other question. Is it possible to re-order the dropdown categories? Right now, they are listed alphabetically.

    Thanks!

    in reply to: chosen.js options #312749
    David Rogers
    Participant

    Hi Steven,

    Thank you. I was successfully able to add tile-plus.js to our theme.

    Our category dropdown has parent and child categories.

    What I’m hoping to do is disable the parent categories in the dropdown, so that you can’t filter results with them. Chosen.js inherits “disabled” attributes if they are present in the original <select> on which it is called (http://harvesthq.github.io/chosen/options.html#attributes). Since I don’t have control over the <select> html, I was trying to add the disabled attribute with jQuery. If I inspect the <select> element, I can see that the attributes have been added, but I still seem to be able to select the parent categories.

    Here is what I currently have in tile-plus.js

    $(“#cn-tile-plus .cn-category-select.cn-enhanced-select option.cn-cat-level-1”).attr(“disabled”,true);

    $(‘#cn-tile-plus .cn-category-select.cn-enhanced-select’).chosen();

    If there’s a better way to disable parent categories, I’m open to that too.

Viewing 10 posts - 11 through 20 (of 30 total)