Events Made Easy Forums How do I … … link the categories?

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #57058
    Anonymous
    Inactive

    Hello Franky,

    Is it possible to link the categories so that they lead to the seminars assigned to them?

    Greets,
    jfreakr

    #57065
    Franky
    Keymaster

    You have a permalink for each category (the url to your events page + ‘/cat/, with being the sanitized cat name). Apparently I don’t show this link yet, so this change should fix it (and allow to change part of the permalink too):
    http://plugins.trac.wordpress.org/changeset/1778773

    #57067
    Anonymous
    Inactive

    That’s a cool feature, but I meant something else.

    I meant the category list in the frontend. This is displayed in a list, but the individual categories are not linked. It would be nice if you click on the category and then the entries under this category would be displayed.

    #57068
    Anonymous
    Inactive

    Is that to be set, or is that only in the code to be solved?

    #57073
    Franky
    Keymaster

    I’m guessing you need to read this 🙂
    http://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-11-categories/

    The url-placeholder is what you’re looking for.

    #57074
    Anonymous
    Inactive

    Yeah, thats it.

    I have rewritten the line about 392 in eme_categories.php:
    $ format = “<li class = \” cat – # _ CATEGORYFIELD {category_id} \ “> #_CATEGORYFIELD {category_name} </ li>”;

    Now the list links to the Categories.

    Many thanks…

    #57075
    Anonymous
    Inactive

    sorry..

    #57076
    Anonymous
    Inactive

    $format = "<li class=\"cat-#_CATEGORYFIELD{category_id}\"><a href=\"#_CATEGORYURL\">#_CATEGORYFIELD{category_name}</a></li>";

    #57078
    Franky
    Keymaster

    Please don’t change the code, use a template as indicated in my answer.

    #57081
    Anonymous
    Inactive

    Sorry, but I do not quite understand that. The list is generated dynamically. How should I integrate the link there with the placeholder?
    You mean I should create a template and then use #_CATEGORIEURL there, right? How should the template look then, that each list point is linked?

    #57082
    Anonymous
    Inactive

    Ok, I did it! Thank you for your patience.

    <li><a href="#_CATEGORYURL">#_CATEGORYFIELD{category_name}</a></li>

    #57083
    Franky
    Keymaster

    Great!

Viewing 12 posts - 1 through 12 (of 12 total)
  • The forum ‘How do I …’ is closed to new topics and replies.
Scroll to Top