Forum Replies Created
-
AuthorPosts
-
Per
ParticipantHi
I moved the site to another server and rebuilt it….the issue is resolved although I did not figure out what the issue was.Per
ParticipantHi
yes I have checked for conflicts…
The javascript console reports some warnings related to the events calendar but no errors and that there is a language related file from jetpack(https://widgets.wp.com/languages/notifications/nb.json) that hasn’t loaded correctly. The Jetpack issue is unrelated and I have also tested with jetpack disabled.As I mentioned in my original post it was working fine before the last round of updates!
Per
ParticipantHi George
Thanks for your help.
The code you gave me didn’t solve the problem; it added “kr ” to the string that was already there (kr kr2700) so I modified it a bit and now it is displaying with a space.
Here is the code after I modified it 😉
add_filter( 'tribe_get_cost', 'tribe_filter_cost_for_kr', 20, 3 ); function tribe_filter_cost_for_kr( $cost, $post_id, $with_currency_symbol ) { if ( ! empty( $cost ) && 'Free' !== $cost ) { $cost = sprintf( '%s', str_ireplace( 'kr', 'kr ', $cost ) ); } return $cost; }Thank you for the help
Regards
Per
ParticipantHi George
Thankyou for your responce.
I actually made a mistake in typing the format in my first post 🙂
Yes, I have tried adding the space in general settings(Default currency symbol)( “”kr “” ) but it gets removed.
1. Correct, the format is currently kr2700
2. Correct, it SHOULD be kr 2700
3. The correct currency format for Norwegian is kr 2.700,- or kr 2.700,00 (kr #.###,##)It is normal to have the dash after instead of the two decimals
4. They aren’t truly required but they help with readability. As a minimum I would need to have the space between the kr and the number (kr ###). Also it would be nice to get a fix for this as we plan on using your plugins for a lot of our sites
March 17, 2016 at 1:41 am in reply to: CSS issue with read more button in the events calendar loop #1090154Per
ParticipantHI Cliff
Thanks for your response 🙂I had checked the CSS file you mentioned before I posted the help request….the selector there is set to white too…
Any way I fixed the issue by adding “”!important”” to the colour rule.So issue resolved 🙂
Per
ParticipantHi Geoff
Thank you (Y) the files you provided did the trick, I just needed to modify/add a few translations….but problem solved.
I have no idea how the files I was using got mixed up and renamed…..
Thanks again
Per
ParticipantThis reply is private.
Per
ParticipantHi Geoff
Again thank-you for your time. 🙂
I have tried your suggestion regarding updating the language files. Unfortunately it hasn’t helped.
I have also done the same with the “Events Tickets” plugin and checked that none of the language files in /wp-content/languages/ and it’s sub-folders were overriding.
I have been through all of the usual things too(deactivating and reactivating plugins etc) I have also re-uploaded most of the plugins that are in use on the site….I have also setup a completely new site with just the bare bones of what is necessary regarding plugins
-Akismet (not active)
-Event Tickets
-Event tickets plus
-Hello Dolly (not Active)
-The Events Calendar
-TinyMCe Advanced
-WooCommerceThe problem is still there (I also updated the language files)
-
This reply was modified 10 years, 3 months ago by
Per. Reason: Added info about testing on a freshly setup site
Per
ParticipantThis reply is private.
Per
ParticipantHi
Thanks for responding. Unfortunately that isn’t the problem, WooCommerce is using the Norwegian language.If you check the regular shop pages(Butikk) you’ll see that there are a couple of items there and they are displayed in Norwegian. It seems that something is causing the tickets to revert to displaying in English instead of Norwegian.
Regards
-
This reply was modified 10 years, 3 months ago by
-
AuthorPosts
