Just edited the files under /invoice for having all emails sent as RTL.
(yes - template html directory was used).
YET couldn't find which file to edit so the PDF Invoice will be RTL.
Anyone knows which are the EXACT files to edit for that ?
Drukman.
Joomla! 2.5.13
Virtuemart 2.0.22a
com_virtuemart.2.0.22\components\com_virtuemart\views\invoice\tmpl\invoice.php
//index.php?option=com_virtuemart&view=invoice&layout=invoice&format=pdf&tmpl=component&order_number=xx&order_pass=p_yy
//
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
JHTML::stylesheet('vmpanels.css', JURI::root() . 'components/com_virtuemart/assets/css/');
Quote from: Maxim Pishnyak on August 03, 2013, 12:29:21 PM
com_virtuemart.2.0.22\components\com_virtuemart\views\invoice\tmpl\invoice.php
//index.php?option=com_virtuemart&view=invoice&layout=invoice&format=pdf&tmpl=component&order_number=xx&order_pass=p_yy
//
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
JHTML::stylesheet('vmpanels.css', JURI::root() . 'components/com_virtuemart/assets/css/');
Are you sure ?
Which lines have you changed ?
I remember looking at this file but thought it wasn't the right one to change.
Drukman.
The question was
Quote from: drukman2000 on August 03, 2013, 07:42:12 AM
Anyone knows which are the EXACT files to edit for that ?
Thus it was my answer.
RTL is controlled by css department
JHTML::stylesheet('vmpanels.css', JURI::root() . 'components/com_virtuemart/assets/css/');Bolded is a file that could be useful for you in customizing css styles.
Quote from: Maxim Pishnyak on August 03, 2013, 17:55:00 PM
The question was
Quote from: drukman2000 on August 03, 2013, 07:42:12 AM
Anyone knows which are the EXACT files to edit for that ?
Thus it was my answer.
RTL is controlled by css department
JHTML::stylesheet('vmpanels.css', JURI::root() . 'components/com_virtuemart/assets/css/');
Bolded is a file that could be useful for you in customizing css styles.
Isn't the pdf attachment handled by invoice_order.php ?
com_virtuemart.2.0.22\components\com_virtuemart\views\invoice\tmpl\invoice.php
<div class='spaceStyle'>
<?php
echo $this->loadTemplate('order');
?>
</div>
Hello maxim,
please help that where can i edit the "order_item" style in "pdf invoices"?
in this screenshot (attached to the msg) you can see that all of the fields are rtl but "order_item" and header fields are ltr and have not changed. I want to display these fileds from right to left as you can see in the figure below.
thank you so much
[attachment cleanup by admin]