Вход
> > > question about adding tooltips to website


Сообщений в теме: question about adding tooltips to website
Twizm
Пользователь

Сообщений: 7
Регистрация: 18.03.2012
Отправлено: 27.03.2012, 8:19

I am currently using rift zam for my eqdkp plus, using a format such as

"'U_VIEW_ITEM' => ' http://rift.zam.com/wiki/rift_Item:'.$item['item_name'],"

however I cannot seem to get a line of code for your site to pull an item, since its an Item ID, however, I just cant seem to get a proper coding line for it to pull your tooltip and item, any suggestions would be good at this point
Jelan
Администратор

Сообщений: 11455
Регистрация: 04.05.2001
Отправлено: 27.03.2012, 14:03

Hi Twizm,

There is no lookup api yet and the current tooltip library expect an id rather than a name to fetch the tooltip... So you can't really programatically create an item link to magelo if the only thing you know is the name of the item. However, since the item database is freely available from trion, you could very easily create yourself a lookup list which would allow you to create magelo item links.

We will work on a solution to address this specific need in the future so it can work out of the box.
Twizm
Пользователь

Сообщений: 7
Регистрация: 18.03.2012
Отправлено: 21.01.2014, 1:09

did you ever do this, because as it stands im stuck doing this

<a href=" http://www.rifthead.com/wiki/rift_Item:
Unknown macro:
Unknown macro: {content}
"></a>

and then all they have to fill out when they hit the button is the name of the item, this doesnt seem to be an easy thing to do with yours