Home › Forums › Calendar Products › Events Calendar PRO › List of categories on gridview
- This topic has 6 replies, 3 voices, and was last updated 12 years, 2 months ago by Rob.
-
AuthorPosts
-
February 1, 2012 at 6:12 am #14510DiegoMember
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?February 1, 2012 at 7:57 am #14519RobMemberThanks 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.
February 1, 2012 at 10:33 am #14534JonahParticipantHi Diego, since it’s PHP code make sure it’s wrapped in PHP tags like so: http://pastebin.com/GZLs1J02
February 1, 2012 at 1:11 pm #14548DiegoMemberHi 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.February 2, 2012 at 5:16 pm #14605JonahParticipantHi 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?
February 3, 2012 at 3:36 pm #14680DiegoMemberHi 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/A5XACSFeFebruary 6, 2012 at 7:35 am #14709RobMemberAwesome 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.
-
AuthorPosts
- The topic ‘List of categories on gridview’ is closed to new replies.