Archives

Viewing 9 results - 21 through 29 (of 29 total)
  • Author
    Search Results
  • #267511

    In reply to: Hide dropdown

    Steven Zahm
    Keymaster

    @ Aurore

    You can not use the category name with the category option. You need to use the category ID as shown in the examples and my instructions from the previous reply. If you want to use the category name, you need to use the category_name option like you have done with the last three shortcodes. Also, if you use the category name, you need to put quotes around the category names. With that said, this should work:

    <p>Vous pourrez trouver ci-dessous quelques liens et autres contacts à ne pas manquer concernant le Clyde. Si vous connaissez vous aussi des sites intéressants et qu'ils ne se trouvent pas dans cette liste, ou si vous souhaitez que votre propre site ou carte de visite y apparaisse, n'hésitez pas à nous contacter en allant dans la partie Contact du site ou en nous envoyant tout simplement un email à<a title="info@clydesdale.fr" href="mailto:info@clydesdale.fr"> info@clydesdale.fr</a> .</p>
    [connections enable_category_select='FALSE' category_name="Clubs de race,Autour du Clyde,Eleveurs"]
    <h2 style="margin-top: 30px;"><strong><span style="color: #64102d;">Clubs de race</span></strong></h2>
    [connections category_name="Clubs de race" order_by="id|SORT_ACS" str_work_phone="Telephone"]
    <h2 style="margin-top: 30px;"><strong><span style="color: #64102d;">Autour du Clyde</span></strong></h2>
    [connections category_name="Autour du Clyde" order_by="id|SORT_ACS"]
    <h2 style="margin-top: 30px;"><strong><span style="color: #64102d;">Éleveurs</span></strong></h2>
    [connections category_name="Eleveurs" order_by="id|SORT_ACS"]
    #267497

    In reply to: Hide dropdown

    Aurore
    Guest

    Nothing to do…
    I still get half my directory listed without dropdown and then the selected categories for the page with dropdown
    http://dev.clydesdale.fr/?page_id=74

    <p>Vous pourrez trouver ci-dessous quelques liens et autres contacts à ne pas manquer concernant le Clyde. Si vous connaissez vous aussi des sites intéressants et qu'ils ne se trouvent pas dans cette liste, ou si vous souhaitez que votre propre site ou carte de visite y apparaisse, n'hésitez pas à nous contacter en allant dans la partie Contact du site ou en nous envoyant tout simplement un email à<a title="info@clydesdale.fr" href="mailto:info@clydesdale.fr"> info@clydesdale.fr</a> .</p>
    [connections enable_category_select=false category=Clubs de race,Autour du Clyde,Eleveurs]
    <h2 style="margin-top: 30px;"><strong><span style="color: #64102d;">Clubs de race</span></strong></h2>
    [connections category_name="Clubs de race" order_by='id|SORT_ACS' str_work_phone='Telephone']
    <h2 style="margin-top: 30px;"><strong><span style="color: #64102d;">Autour du Clyde</span></strong></h2>
    [connections category_name="Autour du Clyde" order_by='id|SORT_ACS']
    <h2 style="margin-top: 30px;"><strong><span style="color: #64102d;">Éleveurs</span></strong></h2>
    [connections category_name="Eleveurs" order_by='id|SORT_ACS']
    #267464

    In reply to: Hide dropdown

    Steven Zahm
    Keymaster

    @ Aurore

    You need to use the category shortcode option to limit the list to the specific category. So you would have something like this:

    [connections enable_category_select='FALSE' category="X"]

    X would equal the category ID you want to display.

    #267447

    In reply to: Hide dropdown

    Aurore
    Participant

    Sven,

    Thank you for the answer.
    i tried already this shortcode.
    problem is, it somehow cancel all my selected category in the page and list all entries, from all categories in the page.

    Sorry I don’t know if I explain it right.

    As you can see , in red are the categories I want to have listed in the page “Clubs de race” “Autour du clyde” “Eleveurs” .
    Somwhere in the website I have another page where I list all the others categories I have.
    At the moment I use the enable_category_select=false, I get all my entries listed, doesn’t matter which category, selected in the page or not .

    You can have a look at the page, I used [connections enable_category_select=false]
    just that you get my problem right . http://dev.clydesdale.fr/?page_id=74

    Thanks again for your help and your time

    #267445

    In reply to: Hide dropdown

    Steven Zahm
    Keymaster

    @ Aurore

    Sure, no problem. Take a look at this doc page for cMap. This doc page looks like it might be useful to you too.

    #267440
    [Resolved]

    Topic: Hide dropdown

    in forum cMap
    Aurore
    Participant

    Hi,

    I would like to hide the category drop down but keep my selected category in my page
    http://dev.clydesdale.fr/?page_id=74

    As you can see, I display in this page several selected categories; I don’t really need the drop down then…
    Could you please tell me how I can achieve this ?

    Thank you in advance !

    #262800
    Steven Zahm
    Keymaster

    @ Kate

    There’s no way to change or edit this category and it is required for Connections to function… however, with that said … If the Uncategorized category is completely empty, meaning absolutely no entries assigned to it, private or unlisted you can use a cMap shortcode option to hide empty categories. Since Uncategorized will be empty it will not be shown in the list.

    Hope that helps.

    #262748
    [Resolved]

    Topic: Customize Dropdown Menu Options

    in forum cMap
    Kate Fosson
    Participant

    I do not want to include the ‘Uncategorized’ category in my dropdown options, but it can not be edited or deleted as a category option… is there a way to hide it from the dropdown menu??

    bobbyau
    Participant

    I think this is what i’ve been trying to achieve and after trying many variations of categoryXXXX shortcode entries i’m not really getting anywhere.

    I’ve got a page titled coffee roasters and under this I currently have only one state/territory (blog – id4 South Australia) which i’ve done here Now i wish to add more states (which will be blog posts) under the coffee roasters page but it needs to show everything (panels and category dropdown) relevant to the roasters in that state.

    In my categories I have:
    Australia id3
    – South Australia id4
    – Victoria id15
    2 Star rating id11
    3 star rating id12

    etc…

    I currently use this in my first post
    [connections category='2,3,4,5,6,7,8,10,11,12,13,14' str_home_addr="Location" str_home_phone="Phone" addr_format="%label% %line1% %line2% %city%, %state% %zipcode% %country%" str_work_email="Email" str_bio_hide="Close Notes" str_bio_show="Show Notes" str_bio_head="" map_frame_height=300 page_limit=20 str_personal_email="Email"]

    Is this possible?

    I hope i have explained myself properly. Thanks.

    • This reply was modified 13 years, 2 months ago by bobbyau.
Viewing 9 results - 21 through 29 (of 29 total)