List of categories on gridview

Home Forums Calendar Products Events Calendar PRO List of categories on gridview

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #14510
    Diego
    Member

    I read the post about how to do it but it doesn’t work. What I want to do is to get a list of links to all events categories above the calendar like this: http://pastebin.com/ma12YxeU

    Based on a code I saw (I think the code got bothced, so I don’t know if it’s right) I tried pasting this in a copy of gridview.php placed on my theme inside an events folder: http://pastebin.com/sVKdirnu

    But nothing happens, The generated HTML is the same as before, nothing gets added 🙁
    What I’m doing wrong?

    #14519
    Rob
    Member

    Thanks for the note, Diego – sorry to hear you’re having issues. My guess is that it was just an implementation error, but let me see if our dev Jonah (who is more familiar with code than I) can point you in the right direction when he hits the forums today.

    #14534
    Jonah
    Participant

    Hi Diego, since it’s PHP code make sure it’s wrapped in PHP tags like so: http://pastebin.com/GZLs1J02

    #14548
    Diego
    Member

    Hi Jonah, it is wrapped already in gridview.php, I just paste the part concerning the category list.
    Any idea why is not working? The override I’m sure is working cause I put some html text and it’s there.

    #14605
    Jonah
    Participant

    Hi Diego,

    Wrapped in gridview.php doesn’t make sense. Have you copied the code above http://pastebin.com/GZLs1J02 ? Do you have an example I can look at?

    #14680
    Diego
    Member

    Hi Jonah, this is embarrasing… but suddenly it’s working. I guess it has something to do with the theme (one of those shortcode powered nightmares). Weird. What is not working is the category pages content (they’re empty), but that is another thing that I’ll be posting on another topic if I can’t figure out what’s happening.

    Anyway, here is the code in my gridview.php if useful for someone:
    http://pastebin.com/A5XACSFe

    #14709
    Rob
    Member

    Awesome to hear you got this working, Diego – if you still have problems with that other issue do let us know. The code you’ve shared here could definitely be of use to others who come with this question down the road.

    As always, let us know what else we can do.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘List of categories on gridview’ is closed to new replies.