Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Addons and Modifications > Mys v1.3.x Mods

Reply
 
Thread Tools Display Modes
  #51  
Old 01-14-2017, 01:03 PM
Dinocanid's Avatar
Dinocanid Dinocanid is offline
Member
 
Join Date: Aug 2016
Location: Maryland, USA
Posts: 516
Gender: Unknown/Other
Credits: 27,469
Dinocanid is on a distinguished road
Default

This part includes duplicate lines:
PHP Code:
$document->add($inventoryTable);
}
$document->add($inventoryTable);

Change it to this:
PHP Code:
$document->add($inventoryTable);

__________________
Reply With Quote
  #52  
Old 06-24-2018, 10:38 PM
kingsofjuly kingsofjuly is offline
Member
 
Join Date: Jun 2018
Posts: 5
Gender: Female
Credits: 627
kingsofjuly is on a distinguished road
Default

Worked first pop, no hiccups - thanks so much!
Reply With Quote
  #53  
Old 07-10-2019, 09:33 AM
csunberry csunberry is offline
Member
 
Join Date: Jun 2019
Posts: 11
Gender: Female
Credits: 645
csunberry is on a distinguished road
Default

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? Am I putting the stuff for <head> in the wrong place somehow?
Reply With Quote
  #54  
Old 06-17-2020, 11:41 PM
Micolai's Avatar
Micolai Micolai is offline
Loving Mysidia
 
Join Date: May 2020
Location: Tennessee
Posts: 54
Gender: Female
Credits: 1,350
Micolai is on a distinguished road
Default

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.
__________________
"You try you fail, you try you fail, but the only true failure is if you stop trying. So try again." - Haunted Mansion
Reply With Quote
  #55  
Old 06-19-2020, 09:56 AM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 850
Gender: Unknown/Other
Credits: 45,429
Kyttias is on a distinguished road
Default

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.
__________________
Please do not contact me. I cannot offer tech support on any coding I've done prior to 2018.
Reply With Quote
  #56  
Old 06-19-2020, 11:21 AM
Micolai's Avatar
Micolai Micolai is offline
Loving Mysidia
 
Join Date: May 2020
Location: Tennessee
Posts: 54
Gender: Female
Credits: 1,350
Micolai is on a distinguished road
Default

Quote:
Originally Posted by Kyttias View Post
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 😊
__________________
"You try you fail, you try you fail, but the only true failure is if you stop trying. So try again." - Haunted Mansion
Reply With Quote
Reply

Tags
item display, item shop, npc, shop, shopkeeper

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mys v1.3.4 Shop Listing Display Kyttias Mys v1.3.x Mods 13 06-13-2016 02:31 PM
Item Bug? tahbikat Questions and Supports 4 11-24-2015 06:28 PM
Changing Shop and Item Display? Abronsyth Questions and Supports 2 12-16-2014 04:25 PM
Buy X of Item A to receive X of Item B AndromedaKerova Suggestions and Feature Requests 0 11-09-2014 09:17 PM


All times are GMT -5. The time now is 08:35 PM.

Currently Active Users: 287 (1 members and 286 guests)
Threads: 4,013, Posts: 31,661, Members: 15,652
Welcome to our newest members, Kandria.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636