Support

Home Forums Event Espresso Premium Several Questions (Language, invoice…)

Several Questions (Language, invoice…)

Posted: July 14, 2012 at 3:21 am

Viewing 4 reply threads


Miguel

July 14, 2012 at 3:21 am

Hi there!

I bought EE some months ago but could not dedicate all time it needed to set it up, and finally now I have the time to implement it in our future web.

I have latest versions: event-espresso.3.1.24.1.P and espresso-calendar-2.0.2 and these are my questions:

INVOICE
– Company logo is not visible
– Html tags like are displayed in company address

LOCALIZATION
I can not find the following chains in the .po file:
* “incomplete” in payment Status
* “unlimited” in available tickets
* “maps and directions” in event information
* “All Day” in Calendar plugin

For the price of event, how can I change the display price of “EUR10.00” to “10.00€”

Thanks in advance!


Josh

  • Support Staff

July 16, 2012 at 8:44 am

There are newer versions of Event Espresso + the calendar available and I recommend downloading these from your account page. If the auto updater is not working, please see this post: https://eventespresso.com/topic/plugin-auto-update-tips/

With the invoice logo, are you getting any error messages when you download the invoice? With the html tags, look in the invoice payment settings for any tags and remove them.

With the localization, some of these strings are not translatable at present. We have an open ticket to localize the payment status types, as well as the ‘unlimited’ string.

Try using the find tool in poedit for ‘map and directions’

The all day text string is echoed directly from the fullcalendar.js jQuery plugin. In espresso-calendar.php, you can override this by adding something like: allDayText:”all day long”,
right before the events get loaded into the json array. Example in context:

//Abbreviated names of days-of-week.
dayNamesShort: [<?php echo stripslashes_deep($espresso_calendar['espresso_calendar_dayNamesShort']); ?>/*'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'*/],

allDayText:"all day long",

//Load the events into json srrsy
events: <?php echo json_encode($events) ?>,

To change the way the price is displayed, you’ll need to modifying the templates. For example, in event_list_display.php change this:

<?php echo  $org_options['currency_symbol'].$event->event_cost; ?>

to something like this:

<?php echo $event->event_cost . '&euro;' ; ?>


Miguel

July 19, 2012 at 4:52 am

Hi Josh,

Thanks for the fast reply. For the updating, I guess I will lose my changes in config and .po files? should I do a compare with the .po files or something similar?

The “map and directions” is already in the po file, and I have already translated it, BUT it is not displayed. It’s really strange! Any clue to change the the style of this to look like a button and not plain text?

The “Unlimited” text string where is? (even it’s is harcoded) I would like to change it is possible.

Another questios, for the templates, should I remove the original and just left them the ones in upload folders?

Thanks for the other info, everything worked ok!


Miguel

July 19, 2012 at 5:05 am

Hi!

Just realized the price modificacion (EURXX -> XX €) is just made in displayed events, how could I change it in registration event page?

Another issues, where are the names of the months? have not found them in po files. In Payment Status “Pending” string is included in .po file and translated but it does not show the translated text. Any idea?

Thanks again!

  • This reply was modified 12 years, 5 months ago by Miguel.


Josh

  • Support Staff

July 20, 2012 at 1:02 pm

Configurations in the settings are stored in the database, so updating should not overwrite them. If you’ve made new language files, keep this backed up somewhere safe and re-upload them after doing the software update. We have a ticket to refactor how the language files get loaded so custom translations do not get overwritten on updates.

With the map and directions text, is this from the email or the event post/registration page?
To create a more button like link, you could try applying some CSS. Here’s a tool that will auto-generate CSS
styles to make a link look like a button: http://css-tricks.com/examples/ButtonMaker/

With the ‘Unlimited’ text, that is in the get_number_of_attendees_reg_limit in /includes/functions/main.php

The original templates do not need to be removed from the plugin directory, templates in /wp-content/uploads/espresso/templates will load instead if they are there. See this guide for more info: If it’s in a template, these can be copied over to /wp-content/uploads/espresso/templates. There is more information in this guide: https://eventespresso.com/wiki/put-custom-templates/
Note that some templates need to be copied over in pairs. For example, if you make a change to event_list_display.php, you’ll need to copy over it’s counterpart event_list.php. Also please note that if we need to make a change to a template in version of Event Espresso, you’ll need to copy this change into your custom template to stay current with the plugin. We recommend using Diffmerge to help merge changes into custom templates.

To change the price display on the registration form, apply the similar change to registration_page_display.php.

The names of the Days and Months for the calendar can be changed in the Calendar Settings.

The payment status type cannot be translated at this time. We have an open ticket to address this.

Viewing 4 reply threads

The support post ‘Several Questions (Language, invoice…)’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso