Automatically Generated Category Menu

Home Forums Calendar Products Events Calendar PRO Automatically Generated Category Menu

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #25118
    Jackie Webster
    Participant

    I would like to call the category list/links to provide a sidebar menu where visitors can view the calendar by category. Other than manually creating that list, is there some way to call the list from TEC?
    I have created a manual version (jump menu) at the link shown, but as my clients add new categories, I would like those categories to be added without manually coding the new links for them.
    Any help would be appreciated!

    #25119
    Jackie Webster
    Participant

    Gah, looks like the link didn’t take. Here it is:
    http://d200musicboosters.org/calendar/

    #25120
    Jackie Webster
    Participant

    And.. I provided the wrong link. Shees! This one is correct:
    http://d200musicboosters.org/events/

    #25124
    Jackie Webster
    Participant

    Okay, found this in the WordPress forums, in case someone else is searching for this solution. This worked for me:
    0 ){

    echo ” View Events by Category “;

    echo “function taclinkch(x){var y=document.getElementById(x).value;document.location.href=y}”;
    echo ” “;

    echo “Select a Category”;

    echo “Show All”;

    foreach ( $terms as $term ) {

    echo “name.” ‘>” . $term->name . “”;

    }

    echo “”;

    }

    ?>

    #25125
    Jackie Webster
    Participant

    I’ll try this again, sorry:
    0 ){

    echo ” View Events by Category “;

    echo “function taclinkch(x){var y=document.getElementById(x).value;document.location.href=y}”;
    echo ” “;

    echo “Select a Category”;

    echo “Show All”;

    foreach ( $terms as $term ) {

    echo “name.” ‘>” . $term->name . “”;

    }

    echo “”;

    }

    ?>

    #25127
    Jackie Webster
    Participant
    #25683
    Leah
    Member

    Thanks for posting your solution, Jackie! Hopefully someone else will find that useful.

    #977842
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Automatically Generated Category Menu’ is closed to new replies.