Icons Don't Display sys_menu_member

What am I doing wrong here?  I insert into sys_menu_member...

INSERT INTO `sys_menu_member` (`ID`, `Caption`, `Name`, `Icon`, `Link`, `Script`, `Eval`, `PopupMenu`, `Order`, `Active`, `Movable`, `Clonable`, `Editable`, `Deletable`, `Target`, `Position`, `Type`, `Parent`, `Bubble`, `Description`) VALUES

(81, 'Games', 'Games', 'games.jpg', '/m/games/home/', '', '', '', 2, '1', 3, 1, 1, 1, '_self', 'top_extra', 'link', 0, '', '');

The Link appears but I can't get an icon to render no matter what I do...

Quote · 28 Oct 2010

Where did you upload the games.jpg icon to?

https://www.deanbassett.com
Quote · 28 Oct 2010

root ... I also tried other directories (for example www.mysite.com/imgs/games.jpg) and in the database made that imgs/games.jpg .. .I'm just not understanding the reason dolphin is not wanting to show the icons .. This is just a simple <a href> database entry it's not like it's php or anything special... The a href is accurate but img src is not showng... What gives, Thanks Deano!

Quote · 28 Oct 2010

 

root ... I also tried other directories (for example www.mysite.com/imgs/games.jpg) and in the database made that imgs/games.jpg .. .I'm just not understanding the reason dolphin is not wanting to show the icons .. This is just a simple <a href> database entry it's not like it's php or anything special... The a href is accurate but img src is not showng... What gives, Thanks Deano!

There is no a href anything in this.

INSERT INTO `sys_menu_member` (`ID`, `Caption`, `Name`, `Icon`, `Link`, `Script`, `Eval`, `PopupMenu`, `Order`, `Active`, `Movable`, `Clonable`, `Editable`, `Deletable`, `Target`, `Position`, `Type`, `Parent`, `Bubble`, `Description`) VALUES

(81, 'Games', 'Games', 'games.jpg', '/m/games/home/', '', '', '', 2, '1', 3, 1, 1, 1, '_self', 'top_extra', 'link', 0, '', '');


games.jpg is the name of your icon, and /m/games/home is the link where it is to go when clicked.

Now icons have a very specific place they go.

In your case games.jpg is just a image name. No path specified. So the actual icon image has to be placed where dolphin looks for icons.

That is templates/base/images/icons.

Now you can also put icons in the modules icon folder.

Those are modules/vendorname/modulename/templates/base/images/icons

But you would need to list the icon in the database differently

Instead of just games.jpg you would use modules/vendorname/modulename/|games.jpg

Notice the | (pipe character) just before the games.jpg filename. That pipe is translated by dolphin to mean the icon folder for the specified module.

In any case, it's easyest to just put all your custom icons in templates/base/images/icons




https://www.deanbassett.com
Quote · 28 Oct 2010

Thank you Deano, I was just lacking the Pipeline which I wasn't even aware of, I appreciate it!

Quote · 28 Oct 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.