Obliterate button missing
-
- Phoca Newbie
- Posts: 9
- Joined: 06 May 2010, 17:39
Obliterate button missing
Hi,
I tested the new addon for invoices 1.0.0 on a database which contained some data created by the previous version. I uninstalled the old one and after this I installed 1.0.0. With the old data everything was OK.
I wanted to start the numeration of invoices from 1 so I deleted the vm_bill, vm_deliveries and vm_delivery_item tables from database. Using phocainstall I created the tables again with no data in. Unfortunately after I did it the "obliterate" button disspareard.
The addon is working well I have icons to create invoice and delivery doc. Only the obliterate is missing...
Any idea what I did wrong?
I tested the new addon for invoices 1.0.0 on a database which contained some data created by the previous version. I uninstalled the old one and after this I installed 1.0.0. With the old data everything was OK.
I wanted to start the numeration of invoices from 1 so I deleted the vm_bill, vm_deliveries and vm_delivery_item tables from database. Using phocainstall I created the tables again with no data in. Unfortunately after I did it the "obliterate" button disspareard.
The addon is working well I have icons to create invoice and delivery doc. Only the obliterate is missing...
Any idea what I did wrong?
Last edited by boskoff on 17 Nov 2010, 19:22, edited 2 times in total.
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Obliberate button missing
Hi, seems like there is some problem with path to the image, try to see the html code of the table, e.g. if there is no wrong path to image, etc.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 9
- Joined: 06 May 2010, 17:39
Re: Obliterate button missing
Hi Jan,
Thanks for the reply.
i checked the image. It's there where it shoud be. The page source tells:
and ps_order_delivery.php contains this:
It seems there's nothing wrong in the code...
The image icon-16-vm-tash.png is in the folder.
PFD icons are dispayed without any problem and this is the same table with the obliterate button...
What I can check more?
Thanks for the reply.
i checked the image. It's there where it shoud be. The page source tells:
Code: Select all
<td align="center"><a href="http://mywebsite.com/administrator/index.php?page=order.order_print&order_id=204&func=obliterateDelivery&delivery_id=4&delivery_pane=1&option=com_virtuemart&vmtoken=mytokenhere" onclick="return confirm('Czy na pewno usunąć dostawę? (Dokument dostawy: 00000004)');"<img src="/administrator/components/com_phocapdf/assets/images/icon-16-vm-trash.png" alt="Usuń" name="obliterate4" title="Usuń 00000004" border="0" /></a></td>
Code: Select all
. Jhtml::_('image', 'administrator/components/com_phocapdf/assets/images/icon-16-vm-trash.png', JText::_('PLG_PHOCAPDF_VM_DELIVERY_OBLITERATE'), array('name' => 'obliterate'. $db->f('delivery_id'), 'title' => JText::_('PLG_PHOCAPDF_VM_DELIVERY_OBLITERATE') . ' '. sprintf("%08d",$db->f('delivery_id')) , 'border' => '0'))
The image icon-16-vm-tash.png is in the folder.
PFD icons are dispayed without any problem and this is the same table with the obliterate button...
What I can check more?
-
- Phoca Newbie
- Posts: 4
- Joined: 18 Nov 2010, 16:58
Re: Obliterate button missing
Same here
And the E-mail button doesn't show either (I upgraded for that e-mail function....)
And the E-mail button doesn't show either (I upgraded for that e-mail function....)
-
- Phoca Newbie
- Posts: 4
- Joined: 18 Nov 2010, 16:58
Re: Obliterate button missing
Just tried in Firefox : the obliterate button appears... I usually use IE, so.... :/
But the mail button doesn't appear even in FF...
But the mail button doesn't appear even in FF...
-
- Phoca Newbie
- Posts: 9
- Joined: 06 May 2010, 17:39
Re: Obliterate button missing
I thought it's a joke - but it is browser dependent!DragonJoli wrote:Just tried in Firefox : the obliterate button appears... I usually use IE, so.... :/
But the mail button doesn't appear even in FF...
I have the obliterate button when using FF. It does not display in Chrome, Opera and IE!!
In Opera there is a tiny space in the center of the table cell which can be clicked t obliterate an invoice, there's no such area in Chrome and IE...
Anybody has an idea what to do? Maybe define cell size?
-
- Phoca Newbie
- Posts: 4
- Joined: 18 Nov 2010, 16:58
Re: Obliterate button missing
I can't believe we are the only ones using IE
-
- Phoca Newbie
- Posts: 9
- Joined: 06 May 2010, 17:39
Re: Obliterate button missing
I don't use IE on a daily basis. Chrome is no 1 then FF and Opera...DragonJoli wrote:I can't believe we are the only ones using IE
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Obliterate button missing
Hi, just check the path to the image. But if it works in FF, then there should not be a problem with a path
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 9
- Joined: 06 May 2010, 17:39
Re: Obliterate button missing
Jan, the path to the image is the right one. The image is there as well. The only difference is that in all browser except FF the image is not shown. Opera is an exception - it does not show the image but there's a very little click-able area in the cell, the click starts the obliterate action.Jan wrote:Hi, just check the path to the image. But if it works in FF, then there should not be a problem with a path
The image is in the right folder. I tried to change it into another image, change size of the cell etc. Nothing works...
There's also some tiny differences how the delivery table is displayed:
in chrome:
and FF: