Missing warning icons

Phoca Restaurant Menu - restaurant menu manager
BradC
Phoca Member
Phoca Member
Posts: 25
Joined: 22 Aug 2009, 05:14

Missing warning icons

Post by BradC »

I was missing the warning icons on Menu Item setup - live admin site only.
Image

The problem was an extra '/' in the image url
"//administrator/components/com_phocamenu/assets/images/icon-16-warning.png"

The fix was to remove the leading '/' from three files administrator/components/com_phocamenu/elements/phocalistwarning.php (line 30), phocamenuday.php (line 35) and phocamenulist.php (line 35)

Code: Select all

$icon = JHTML::_('image', '/administrator/components/com_phocamenu/assets/images/icon-16-warning.png', '');
Changed to this

Code: Select all

$icon = JHTML::_('image', 'administrator/components/com_phocamenu/assets/images/icon-16-warning.png', '');
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Missing warning icons

Post by Jan »

Hi, thank you for this info, I will take a look at it.

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Missing warning icons

Post by Jan »

Found, will be fixed in stable
If you find Phoca extensions useful, please support the project
BradC
Phoca Member
Phoca Member
Posts: 25
Joined: 22 Aug 2009, 05:14

Re: Missing warning icons

Post by BradC »

You can mark this as solved also Jan
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Missing warning icons

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply