Forum Replies Created
-
AuthorPosts
-
James
ParticipantHi George,
Thanks for the reply and help.
The short story is, I found the code you “hinted” at but I can’t find the correct replace hook name, so I think I will abandon this idea as I just don’t have the where and know how.
Another thought though, is there a way to turn off the Ticket email being sent automatically so I can trigger it manually?
Cheers
James
James
ParticipantThanks for all the help Geoff.
I seem to have worked out most of it now. 😉
I’ve been testing it on the localhost server and it works in the large part. There are a few that don’t change but I’m not that concerned as I have some backup code in the function.php file in the child theme and that changes the wording.
Geoff you can go ahead and close this ticket now, I think I have a better understanding of what I need to do to change wording in the core files now.
Thanks again for all the help, much appreciated.
Cheers
James
-
This reply was modified 9 years, 11 months ago by
James.
James
ParticipantHi again Geoff,
Thank you for the breakdown instructions on using the translation method.
Well! I download the poedit program it was pretty easy to work out. I download the the-events-calendar-en_AU files, as that is what I am using on my site. After modifying the wording I saved and download the .po & .mo files, On my local testing server I created a folder inside, > wp-content > languages > plugins > the-events-calendar > lang > and put the new .po & .mo in there.
I reset permalinks and checked that the language was set for en-AU under the general settings, cleared the cache and Nothing Changed on the front end.
I don’t know what’s going on! I’ve tried to attached a zip of my theme/child theme folder but it’s way too big @ 41.7MB.
Cheers
James
-
This reply was modified 9 years, 11 months ago by
James.
James
ParticipantHi Geoff,
Thanks for the reply.
I’ve tried the snippet at https://theeventscalendar.com/knowledgebase/change-the-wording-of-any-bit-of-text-or-string/ and it didn’t work for me with regards to these “notices”.
So I will try the translation method, the only problem is, I have no idea how to do it whatsoever! It is above my knowledge base.
Any assistance would be appreciated.
Cheers
James
James
ParticipantHi Geoff,
Thanks for getting back to me.
Ok so some examples of the notices which are found in > the-events-calendar > src > Tribe > Template > Month.php and Single_Event.php
These notices were on lines 280 to 287 of month.php
Original Notices:
1. There were no results found for %s this month. Try searching next month.
2. No matching %1$s listed under %2$s. Please try viewing the full calendar for a complete list of events.
3. There were no results found.
Modified to:
1. There are no scheduled activities posted for %s this month. Try searching next month or Click the Calendar Menu above for the current months scheduled activities.
2. There are no matching Activities listed under %2$s for this month. I am continually working to add new activities, be sure to check back for new activities. Click the Calendar Menu above for this months scheduled activities.
3. At this time, there are no scheduled activities posted for this month. I am continually working to add new activities, be sure to check back for new activities. Click the Calendar Menu above for the current months scheduled activities.
Also in > the-events-calendar > src > Tribe > Template > Single_Event.php on lines 118 to 119 of Single_Event.php
Original Notice:
1. This %s has passed.
Modified to:
1. Unfortunately you missed this activity. Click the Calendar Menu above for this months scheduled activities.
Just to clarify (I worded it badly in the original post), I found a number of “snippets of code” in the support pages for changing these notices. It was these snippets of code I put into the functions file, not the actual code from the template files.
By changing the notices directly in the template files of the original the-events-calendar plugin folder I was able to get the notices to change as above but this isn’t the ideal solution as when I update the plugin I will loose these changes. Hence why I’d like to move them to the child theme.
Cheers
James
January 28, 2016 at 2:35 pm in reply to: The upcoming widget dates icon indicates the cutoff date not event date. #1064039James
ParticipantHi Brian,
I found where it was causing the date different!
Events > Settings > General Tab > Timezone Settings
Was set to “Use the sitewide timezone everywhere”. When I changed the setting to “Use the local timezones for each event” it corrected the date difference.
Cheers
JamesJanuary 27, 2016 at 1:54 pm in reply to: The upcoming widget dates icon indicates the cutoff date not event date. #1063410James
ParticipantHi Brian,
The Admin > Events > Settings > General Tab > End of day cutoff is set to 12.00 am
The section I am referring to is on the single event page > Tickets > End Sale Date
This is set to 5.00 pm the day before the actual event
I’m not sure how else to explain it.
Cheers
James
January 26, 2016 at 2:03 pm in reply to: The upcoming widget dates icon indicates the cutoff date not event date. #1062713James
ParticipantHi Brian,
Thanks for replying. I’ll try and assist as best as I can.
If you go to any page on my website (www.jamesdoylephoto.com) and scroll to the footer, you will see in the third widget area of the footer I am using the “Upcoming Events Widget”. In my case, the little icon showing the date shows the date I set as the “cutoff date” and next to it, it shows the event name, the event date and time and the cost, which always shows as the correct actual time of the event.
I always set the cutoff time for making a booking at 5pm the day before the actual event.
This date shows on the event icon of the widget until the day of the event and then the entry for that event is removed from the listing in the widget when triggered as a “THIS ACTIVITY HAS PASSED.” on the single event page.
Hope this helps.
Cheers
James
James
ParticipantThanks Brian, that’s good to know.
Cheers
James
James
ParticipantGeorge,
There is one other thing you maybe able to help with.
Since the last updates and the integration with the Avada theme, I noticed that the Google Maps seem to have a small “defect”. The street view and zoom in and zoom out buttons seem to be crunched up and hard to see what they are. Example can be seen here https://www.jamesdoylephoto.com/?p=36522 but it does it on any map.
Cheers
James
James
ParticipantHi George,
Thanks for that! It’s not a biggy but it would have been nice to change to suit my sites wording.
You can go ahead and close this thread.
Cheers
James
October 20, 2015 at 12:34 pm in reply to: Removing Advanced Template Settings data from single event? #1016356James
ParticipantHi Josh,
Yes I think I can manage it now, so you can close this ticket.
The people over at Avada told me I couldn’t do what I was hoping to do, because of the way the templates are set up. Not to worry.
Thanks for your assistance to date Josh.
Cheers
October 18, 2015 at 3:12 pm in reply to: Removing Advanced Template Settings data from single event? #1015694James
ParticipantHi Josh,
That worked a charm. I managed to get the Advanced Template Settings back as full page width.
I had to transfer some of my event text over into the Additional Fields side to even out the two column idea. I originally had this text in the main copy, but it just made the left column too long. Is there something I can modify in the code or css to make the page full width after the end of the right hand sidebar?
Thanks again for your help Josh.
Cheers
JamesOctober 9, 2015 at 4:06 pm in reply to: Removing Advanced Template Settings data from single event? #1013342James
ParticipantHi Josh,
Thanks for replying.
Ok basically I run tours and field trips which are fairly detail heavy, often well over 300 words. Over the past year or so I made a number of templates of the different activities so I could “cut and paste” the “style” into event calendar, to keep things consistent. These were full page width allowing for photographs to be included on the page with the event booking at the bottom of the page.
With this sidebar idea, even with a 50% 50% sizing, with the sidebar on the right. I end up with a long column of information on the left and a short sidebar on the right with nothing but white space beneath it. My website at the moment doesn’t reflex this very well because I had to spend over sixteen hours rewriting all the current events that were live trying to make them look reasonable.
With the “Advanced Template Settings”; on the old version I used these for information about how to navigate and make a booking at the very top of the page, much like a header but with the new version this is put into a column which takes up too much real estate and pushes all my added text further down the page creating more white space beneath the sidebar on the right hand side.
With regards to my original question about the “Advanced Template Settings”, I can still put the header and footer text full width on the month calendar view, which is great but this same text is put into the righthand column on the single event page, thereby pushing all the event info further down the page creating more white space beneath the righthand sidebar. I was asking if there is a way to have the “Advanced Template Settings” header and footer only on the Month view and removing it from the single event pages.
If I could somehow “break” the page into sections (I don’t know all the technical terms) so at the top and bottom of the sidebar, I could put text in as full page width, that would be great. I don’t know how to do this though. Or if I can remove the whole sidebar effect and have all the data at full width like previously in the older version.
I’m not sure if the above makes sense. I like the “look” of the styling but think in my case the layout is very restrictive with having two columns only e.g. my long text on the left and a short sidebar on the right.
Cheers
James
-
This reply was modified 10 years, 6 months ago by
James. Reason: additional information
September 14, 2015 at 2:34 pm in reply to: Changing the names Venue and Organizer on the front end? #1005026James
ParticipantThanks Mad Dog and Nico,
Mad Dog, your code worked…it took me a little while to workout how to do two separate changes but I got Venue and Organizer to change to what I wanted, so cheers for that.
The funny thing is that I can’t couldn’t change the
‘Other’ to Other Details
‘Details’ to When/Cost
‘Out of stock!’ to Sorry this activity is fully bookedBut if I put the old code back into the function file beneath the new code stripped of the Venue and Organizer it seems to work OK
Anyhow thanks everyone for your assistance.
Cheers
James -
This reply was modified 9 years, 11 months ago by
-
AuthorPosts
