Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

Profile for lkbhokie

  • OFFLINE
  • Time Zone: GMT +0:00
  • Local Time: 07:17
  • Posts: 6
  • Profile Views: 3895
  • Location: Unknown
  • Gender: Unknown
  • Birthdate: Unknown

Signature

Posts

Posts

emo
"Hello, you are probably missing language constant in your custom localisation. What langauge do you use?

Place into frontend language file constant:

PLG_BOOKINGPAYMENT_PAYPAL_NAME="Paypal"

The above solution doesn't address the problem that the actual Artio Code is missing the function calls to actually access the language files. The Artio code is essentially broken in its off-the-shelf format. You will need to re-apply this fix every time Artio updates their code unless this issue is addressed: Artio updates will re-break the code (we have had it happen).
Here's what's going on:

0. Problem Description
1. File Path
2. Description of Changes
3. Modifications to Language Overrides

------------------------------------------------------------------------------------

0. Problem Description

When paying for a reservation, at the "Add Reservation" step a user encounters the following string:

PLG_BOOKINGPAYMENT_PAYPAL_NAME

This problem is due to code in the file listed below not calling functions to access Joomla language files to output values to the page when it is displayed and interpreted by a browser.

1. File Path

/components/com_booking/views/reservation/tmpl/form_customer.php


2. Description of Changes

Two (2) lines of code need modificiation: 537, 539:

Line 537 original:

<div class="hasTip payment" title="<?php echo $this->escape($payment->title); echo (($info = JString::trim($payment->params->get('info'))) ? ('::' . $this->escape($info)) : ''); ?>">

Line 537 new:

<div class="hasTip payment" title="<?php echo $this->escape(JText::_($payment->title)); echo (($info = JString::trim($payment->params->get('info'))) ? ('::' . $this->escape($info)) : ''); ?>">

Line 539 original:

<label for="payment_method_id_<?php echo $payment->alias; ?>"><?php echo $payment->title; ?></label>

Line 539 new:

<label for="payment_method_id_<?php echo $payment->alias; ?>"><?php echo JText::_($payment->title); ?></label>

3. Modifications to Language Overrides

Created override for constant "PLG_BOOKINGPAYMENT_PAYPAL_NAME"

The value of this constant will appear on the page. The current value is:

Pay for this reservation using PayPal <img src="images/logo_paypal_small.gif" />

The value of the text along with the image is displayed on the page.
Note: I uploaded the PayPal gif for this test.
Payment Name Languag ...
Category: Community Support
emo
the language constant doesn't work as the code is currently written; we had to edit the code.
Payment Name Languag ...
Category: Community Support
emo
We have fixed Artio's code that was causing the calendar problem. We are still experiencing the email issues.
lots of bugs
Category: Community Support
emo
Screenshot of the month w/ the first day missing on current month but included for next month. We're looking through code to try to fix it, wanted you to have a screenshot if we fix it before you look at it.
lots of bugs
Category: Community Support
emo
New site with latest Booking release on latest Joomla release, and we keep finding bugs.

When we enable "hide days not corresponding to actual month," it drops the 1st from the current month & includes the 1st from the next month. tarpamlicowatertrail.org/index.php?option=com_booking&Itemid=255&view=subject&id=10:test-item

When we enable "status change" emails, we receive 3 emails when a reservation is PAID: a Cancelled one, then Accepted, then another Accepted. Have no clue why the Cancelled one because we went straight through to payment, and we get no email that says paid. All I want is one that says paid! I don't need all the other stuff but turned it on so we could get the Paid one, and still don't get that.

The 2 database tables for email notifications weren't created during the install; we had to manually create them.

No way to change the label for payment methods without going into the code, which we did - and also added a PayPal logo - but means we have to do it every time we update the software.

I can't even remember all the other ones we've found.

I don't want to open a support ticket every time we find bugs b/c the ones that came w/ the paid version will be used up for things that aren't really support. I'm disappointed that paid software with so many good features has so many bugs.
lots of bugs
Category: Community Support
emo
Hello!

I'm having a problem at the "Add Reservation" page.

The Payment Methods radio button is showing this text "plg_bookingpayment_paypal_name" which should
correspond to a language file. It looks something like this:

Payment Methods: (•) plg_bookingpayment_paypal_name

I think there is a bug in this file:

webroot/components/com_booking/views/reservation/tmpl/form_customer.php

Specifically, the code is doing this:

<snip>
title="<?php echo $this->escape($payment->title);
</snip>

When it should probably do something like this:

<possibleSolution>
title="<?php echo $this->escape(JText::_($payment->title));
</possibleSolution>

Am I missing something or is the code just not calling a function that it needs to call to get access to a language file or a language override file?

I saw several other posts that may have concerned this same problem but I don't think there was a solution.

Any help/advice would be great!

Thanks!
Payment Name Languag ...
Category: Community Support
More
Přihlášení uživatele Prázdný