Home › Forums › Calendar Products › Events Calendar PRO › remove event list tab from the calendar?
- This topic has 14 replies, 4 voices, and was last updated 13 years, 9 months ago by
Joyce Grace.
-
AuthorPosts
-
July 5, 2012 at 9:10 am #21548
Davida
Memberis there a way to remove the event list view option tab? i would like to only display the calendar as the formatting for list view is crazy with my template.
edit: i figured out my previous question
July 5, 2012 at 12:19 pm #21560Jonah
ParticipantHi Davida,
So are you all set here or did you still need help with this?
– Jonah
July 5, 2012 at 1:46 pm #21570Davida
Membersorry. yes i still need help with this. it was my third edit of questions but i figured the previous two out…lol… thnx
July 5, 2012 at 2:07 pm #21572Jonah
ParticipantHi Davida,
No problem. Take a look at this FAQ for help with this: https://theeventscalendar.com/faq/how-can-i-remove-the-buttons-to-toggle-between-gridlist-on-the-frontend/
Let me know whether or not that works for you.
Cheers,
JonahJuly 5, 2012 at 2:44 pm #21576Davida
Memberthanks jonah but that didn’t work ๐
i tried deleting the lines in the copy of list.php placed in events folder and also commenting out the lines in the original list.php in the views folder.
no change
also cleared my cache.
any thoughts?
July 5, 2012 at 3:17 pm #21588Rob
MemberHi Davida: Jonah updated that FAQ item today, just a little while ago in fact. Mind giving it another go to see if the updated approach works for you?
Thanks in advance!
July 5, 2012 at 3:18 pm #21589Davida
Member@Jonah also i am using the premium version but made the change in list.php in the regular events calendar folder. if i try to open any of the files from views in the premium folder i get an error saying no such file or directory exists although i can see the files. could this be the issue?
July 5, 2012 at 3:20 pm #21591Davida
Member@Rob I followed the link that he sent me. i assume he sent me the most updated instruction if not, where is the update?
July 6, 2012 at 12:00 am #21610Joyce Grace
MemberHello Davida, yes it’s the same link but the information is now updated from the time you read it the first time.
July 6, 2012 at 4:57 am #21626Davida
Member@joyce- thanks but the link includes the same instructions that Jonah sent earlier. I do not see an update. the instructions i see read as follows:
To remove the buttons from the events list view, make a copy of /wp-content/plugins/the-events-calendar/views/list.php and place in an โeventsโ folder in your theme. Then find lines 15-23 and remove them.
this is what i did and there is no change.
please advise
July 6, 2012 at 11:38 am #21651Jonah
ParticipantHi Davida,
There is only one list.php file and it’s in the free version of the plugin. So you’ve placed a copy of /wp-content/plugins/the-events-calendar/views/list.php in an ‘events’ folder inside YOUR theme folder (not the general themes folder)?
Cheers,
– JonahJuly 6, 2012 at 12:45 pm #21655Davida
Member@jonah. yes it is in wp-content/themes/extensio/events….. however i noticed that the link that you posted yesterday is no longer working. i get an error page. i suspect that even though folks were saying to use the same link you sent (which worked yesterday) that it was not the updated faq. the instructions i was looking at were dated feb. can you please send me the updated link? thanks.
July 6, 2012 at 12:59 pm #21657Jonah
ParticipantHi Davida,
Sorry about that, we moved that to a tutorial that is now located here: https://theeventscalendar.com/how-can-i-remove-the-buttons-to-toggle-between-gridlist-on-the-frontend/
– Jonah
July 6, 2012 at 1:17 pm #21658Davida
Member@jonah… lol… i think i figured out the disconnect. i thought the faq removed the entire page but i just noticed that it removes the buttons only. which is working… lol…so i was looking at the wrong one… lol… i need to remove the buttons from the calendar view in order to remove access to the list view. lmao. my bad. thanks for your help ๐
July 7, 2012 at 8:02 pm #21683Joyce Grace
MemberHi Davida, glad you got this solved!
-
AuthorPosts
- The topic ‘remove event list tab from the calendar?’ is closed to new replies.
