Home › Forums › Calendar Products › Events Calendar PRO › The photo view list does not appear since the last upgrade (3.12)
- This topic has 7 replies, 3 voices, and was last updated 10 years, 7 months ago by
Geoff.
-
AuthorPosts
-
September 9, 2015 at 6:06 pm #1003555
Cristina
ParticipantI’ve just transferred my website to a new server.
Then I’ve saved the permalinks.
After that, I upgraded CAL and Cal PRO to the new releases 3.12.Since that change, the photo view option for the events page gives an empty article page with a small photo on it.
The other two page views I chose, list view and month view, are fine luckily.
You can try yourself at genovacultura.eu/eventi.On the old server with the previous releases the photo view is fine.
May you help me?
Thanks.
Regards,
CristinaSeptember 10, 2015 at 1:31 pm #1003898Nico
MemberHowdy Cristina,
Welcome to our support forums and thanks for reaching out to us. Sorry to hear about this issue with Photo view. I’ll help you out getting this right again.
Made a little test in your site and I can see this is a permalink issue, I can see the photo view working here: http://genovacultura.eu/eventi/photo/. You seem to have a post which permalink is ‘foto’ -http://genovacultura.eu/archivio-stampa-2013/foto/. Can you please change the permalink for that and test again?
Please let me know if that fixes the issue,
Best,
NicoSeptember 11, 2015 at 12:41 am #1004103Cristina
ParticipantHi, Nico.
I changed the permalink for that post, now the photo view shows another post which permalink begins with the word “foto”: http://genovacultura.eu/evento/fotografando-1-fotocamera-e-obiettivo/.
It seems CAL PRO makes confusion betweenn the two words: italian “foto” and english “photo”.
It’s near to impossibile I have no permalink without the word “foto” somewhere because I have several events about photography.
Before last upgrade to 3.12 all was correct as you can see here: nu1.us/gcult/eventi, and the photo view uses the word “foto” and not “photo”.
I’m waiting for your reply.
Thanks again for your help.
Best,
CristinaSeptember 11, 2015 at 1:06 pm #1004414Nico
MemberHi Cristina,
Thanks for following up on this! Apparently you are right in your theory.
To make this right for now you can add this snippet to your theme’s functions.php file – located at wp-content/themes/your_theme/:
add_filter( 'tribe_get_photo_view_permalink', 'fix_foto_permalink' );function fix_foto_permalink ( $link ) {
return str_replace ( 'foto' , 'photo' , $link );
}
It should replace the ‘foto’ in the URL with ‘photo’, so it at least fix the strange behavior in the site.
Also have you tried re-saving permalinks settings in WordPress back-end -WP-Admin > Settings > Permalinks > Save Changes ?
Please let me know how this goes,
Best,
NicoSeptember 11, 2015 at 5:16 pm #1004465Cristina
ParticipantHi Nico,
with your snippet all is fine now.As I wrote in the first message:
“I’ve just transferred my website to a new server. Then I’ve saved the permalinks.”
So I think it does not depend on the permalinks.
I don’t know why this happens: with previous CAL Pro release 3.11 all was fine.
I’ve an old test version of this website where you can see the photo view shows with /eventi/foto path:
http://nu1.us/gcult/eventi/fotoPerhaps it’s something regarding translation or new release templates.
I hope you will fix this in the next CAL Pro release.
Thank you very much again, you save me 🙂All the Best,
CristinaSeptember 11, 2015 at 5:39 pm #1004466Cristina
ParticipantNico, I’m controlling all the links and now I can’t view month view and photo view for categories:
here you can see normal list viewhttp://genovacultura.eu/eventi/categoria/tour/
but if you try to switch to month view or photo view they show “no results”.
I don’t think this is related to your snippet, I believe instead it’s related to the new CAL and CAL PRO releases.
As I see the old test site where all views are fine (for events and categories events), and all these changes are complicated to solve, may I downgrade in the new website both CAL releases to the last version without losing all the events I put in?
How Can I do this?
Thanks again.
Best,
CristinaSeptember 14, 2015 at 12:27 pm #1004968Nico
MemberHi Cristina,
Thanks for following up!
This same issue was reported by other users and a bit of testing on our side confirmed this a bug indeed. We’ve already logged it to be addressed in the upcoming maintenance release. There’s still no date defined for this but hopefully we can see this out before the end of the month.
Downgrading as you say sounds like a good idea at this point. Doing so won’t affect the events as they are stored in the database (doing a backup of the database is always a good idea anyway) and not related with the plugin files. This article: Downgrading a plugin to a past version covers the process, it’s quite simple but if you encounter any issues during the downgrade please let me know. After the downgrade is complete, be sure to re-save permalinks!
Sorry again for the inconvenience this might be causing to you, hope we can see this fixed very soon,
Best,
NicoSeptember 23, 2015 at 4:55 pm #1008133Geoff
MemberHey there,
Just want to let you know that we just shipped an update and a patch for this issue was included. Please update and feel free to drop us a new note if you continue to bump into any issues with this. We appreciate your patience while we worked on this–thanks for your support!
Cheers,
Geoff -
AuthorPosts
- The topic ‘The photo view list does not appear since the last upgrade (3.12)’ is closed to new replies.
