Jump to content

Clarification of some Template Variable Values


anutosh

Recommended Posts

Hi,

 

I am having a peculiar problem after upgradation to version 4.2.1.

 

In the page domainchecker.tpl (which is available in the upgrade package only), the following template variables are being used to show the price of each TLD:-

{$currencysymbol}{$regoption.price} {$currency}

 

The first variable {$currencysymbol} shows the prefix value of the currency (which is set from the admin section).

The second variable {$regoption.price} is the price of the corresponding TLD.

The third variable {$currency} is the suffix value of the currency.

 

If I am wrong in evaluating the probable values of the above 3 variables, please do correct me.

 

However, when I run the corresponding PHP page, I get to see that the third variable value evaluates to "INR Array", whereas it should have been "INR" only, as this has been set in the suffix field of the currency section of the admin area.

 

That means instead of showing the value of a particular TLD as "Rs. 899.00 INR", it is showing to me as "Rs. 899.00 INR Array".

 

Can anybody please help me into this problem?

Any help is greatly appreciated.

 

_______________

Thanks & Regards,

Anutosh

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated