Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Mys v1.3.x Mods (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=42)
-   -   Mys v1.3.4 Item Shop Mod(s): NPC + Item Display + Tooltips (http://www.mysidiaadoptables.com/forum/showthread.php?t=4741)

Dinocanid 01-14-2017 12:03 PM

This part includes duplicate lines:
PHP Code:

$document->add($inventoryTable);
}
$document->add($inventoryTable);


Change it to this:
PHP Code:

$document->add($inventoryTable);



kingsofjuly 06-24-2018 10:38 PM

Worked first pop, no hiccups - thanks so much!

csunberry 07-10-2019 09:33 AM

I must be doing something wrong. This works with Bootstrap, but if I try using the Main template, it just gives me a 500 error. What might I be doing wrong?:veeee::hmmm: Am I putting the stuff for <head> in the wrong place somehow?

Micolai 06-17-2020 11:41 PM

I'm using 1.3.4 and my script just doesn't like this bit of code:

Quote:

# Rendering items now
$document->add(new Comment("
<div class="s_panel sc_item">
<img rel="tooltip" title="{$item->description} <em>{$usage}</em>" src="{$item->imageurl}"/><br/>
<b>{$item->itemname}</b><br> Own &times;{$item->quantity}<br/>", FALSE));
It's not liking anything that's closed inside of these <> and keeps saying it's a syntax error.

Kyttias 06-19-2020 09:56 AM

It doesn't like that you have " inside your ". You're going to have to use ' instead on either the outside new Comment("") or all the content inside.

Micolai 06-19-2020 11:21 AM

Quote:

Originally Posted by Kyttias (Post 37539)
It doesn't like that you have " inside your ". You're going to have to use ' instead on either the outside new Comment("") or all the content inside.

Thank you I've got it all working now 😊


All times are GMT -5. The time now is 11:31 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.