Obliterate button missing

Before you ask about IDnR Addon see the VirtueMart - Invoice, Delivery Note and Receipt Addon
boskoff
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 06 May 2010, 17:39

Obliterate button missing

Post by boskoff »

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.

Image

The addon is working well I have icons to create invoice and delivery doc. Only the obliterate is missing... :x :x :x

Any idea what I did wrong?
Last edited by boskoff on 17 Nov 2010, 19:22, edited 2 times in total.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Obliberate button missing

Post by Jan »

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
If you find Phoca extensions useful, please support the project
boskoff
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 06 May 2010, 17:39

Re: Obliterate button missing

Post by boskoff »

Hi Jan,

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>
and ps_order_delivery.php contains this:

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'))
It seems there's nothing wrong in the code... :x

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?
DragonJoli
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 18 Nov 2010, 16:58

Re: Obliterate button missing

Post by DragonJoli »

Same here :(
And the E-mail button doesn't show either (I upgraded for that e-mail function....) :(
DragonJoli
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 18 Nov 2010, 16:58

Re: Obliterate button missing

Post by DragonJoli »

Just tried in Firefox : the obliterate button appears... I usually use IE, so.... :/
But the mail button doesn't appear even in FF...
boskoff
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 06 May 2010, 17:39

Re: Obliterate button missing

Post by boskoff »

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 thought it's a joke - but it is browser dependent!
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... :x :x :x

Anybody has an idea what to do? Maybe define cell size?
DragonJoli
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 18 Nov 2010, 16:58

Re: Obliterate button missing

Post by DragonJoli »

I can't believe we are the only ones using IE :D
boskoff
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 06 May 2010, 17:39

Re: Obliterate button missing

Post by boskoff »

DragonJoli wrote:I can't believe we are the only ones using IE :D
I don't use IE on a daily basis. Chrome is no 1 then FF and Opera... :)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Obliterate button missing

Post by Jan »

Hi, just check the path to the image. But if it works in FF, then there should not be a problem with a path :idea:
If you find Phoca extensions useful, please support the project
boskoff
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 06 May 2010, 17:39

Re: Obliterate button missing

Post by boskoff »

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 :idea:
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.

The image is in the right folder. I tried to change it into another image, change size of the cell etc. Nothing works... :x :x :x

There's also some tiny differences how the delivery table is displayed:
in chrome:
Image
and FF:
Image
Post Reply