Forum


Calc Builder Support

Calc Builder support
Forums
No se permite escribir sin estar logado. Por favor, login

Print Preferences 11.07.2012 11:22

Hello,

I'm working on Print Preferences Layout and want to access the names of some Multivalues.

For values it would be the ##value## option that gives me the result of the corresponding value, but how do I pass its name?

Regards,
Michael

Edited by moon_602 - 11.07.2012 11:27

Re: Print Preferences 12.07.2012 09:21

Hello,
by now you have not available at the code/print layout sections the 'names' of the values selected. We'll include for next version of the extension a way to have them available, but in the meantime, you could use a workaround:

Define each option value as

optionname#optionvalue


When you recover the value you can get the two parts splitting the value this way:

$pieces = explode("#", $value);

$optionname= $pieces[0];
$optionvalue= $pieces[1];


Both variables $optionname and $optionvalue will be available to print at Print layout.

Hope this helps
Moonsoft Team
www.moonsoft.es
Are you satisfied with our products/services/support?
Please help us to keep improving, add a review at  joomla extensions site and  magento connect

Lo que nuestros clientes opinan de nosotros