ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Article assign to a Category doesn't work ?

November 12, 2012 8:50am

Subscribe [1]
  • #1 / Nov 12, 2012 8:50am

    Dom

    88 posts

    Hello,

    I’d like your help please on why before when i create an article and assigned to a category works easily, but now it doesn’t work anymore :lol:

    I create an article “Test Article” then i choose the category “Test Category”, before it works easy and now, it doesn’t.

    Perhaps, do i have to disable or able something in my configuration ?

    Thank you.

  • #2 / Nov 12, 2012 8:59am

    glenndavisgroup

    436 posts

    Hi Apfelfrucht,

    What version of EE are you running?

    How are you trying to pull this test article via search or a link?

    Can you post your code so we can take a look at what you are doing?

    Thank you,

    Mike

  • #3 / Nov 12, 2012 11:20am

    Dom

    88 posts

    Hi Glen,

    My EE version is 2.5.2 in intranet. I mean once i created/published a New Entry with precising the Category to X category, via “Categories” tab, it doesn’t show anymore the new entries, but the other entries last month i published and assigned to this X category are displayed and are there correctly.

    The channel X is configured and assigned correctly to the category X, etc. The thing that i don’t understand is that before it’s working well, and now not anymore :o

    I’m trying to pull the entries via this script :

    <form name="form" id="form">
    <select name="jumpMenu" id="jumpMenu">
    <option value="#">--------- AND1---------</option>
    {exp:channel:category_archive channel="basketball" style="linear" show_empty="no"}
    {categories}
    <option value="{path='basketball/2012'}">» {category_name}</option>
    {/categories}
    {/exp:channel:category_archive}
    </select>
    </form>

    By pulling or listing via the script above, i can list the Entries assigned to the category i choose for each entry. That’s working a month ago and today not, strange!

    Is there a configuration that i have to able or disable ?

    Thanks.

  • #4 / Nov 13, 2012 8:55am

    glenndavisgroup

    436 posts

    Try adding the show_future_entries=“yes” parameter to your category_archive tag and see if that shows anything. Also, check to make sure your channel entries have the status of open.

    Mike

  • #5 / Nov 13, 2012 9:48am

    Dom

    88 posts

    Hi Mike,

    Thanks for that parameter, i tried with it and still the same, i think there is a bug around in the EE Category code, i mean when i achieved the maximum of category, it stuck after it. Or perhaps a bug in the script Jumpmenu above i mentioned. I’ve checked all my channel entries have the status of Open 😉

    It doesn’t matter Mike, i can create another Basic Code by linking manually to each existant category but the idea of the JumpMenu script above i mentioned is very great because it shows only the categories automaticly who have the entries assigned.

    Perhaps you know some other great codes look like too ?

    Regards.

  • #6 / Nov 13, 2012 2:23pm

    glenndavisgroup

    436 posts

    Have a look at this pulgin see if it might help you:

    http://devot-ee.com/add-ons/gwcode-categories

    Mike

  • #7 / Nov 13, 2012 4:10pm

    Dom

    88 posts

    Hi Mike,

    Yessss! Mike, that’s one rock !

    Thank you,

    Regards.

  • #8 / Nov 14, 2012 9:22am

    Dan Decker

    7338 posts

    Hi Apfelfrucht,

    I’m glad to see Mike was able to offer you a solution!

    Is there anything else I can assist you with?

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases