Fatal Error - Parsing xml .skin - Gallery picture title  

Share your tips and tricks here or get help with any Panotour 2.0 problem!
No bug reports (of any kind) in this forum!
no avatar
Katerina
Member
 
Posts: 21
Joined: Thu Aug 29, 2013 3:17 am

Fatal Error - Parsing xml .skin - Gallery picture title

by Katerina » Sat Mar 08, 2014 9:54 pm

Hi,
Can someone please point me to the right directions? I have gallery plugin on my tour. I made some changes to the code so the pictures show the title in the gallery.

here is the modification in xml .skin file I made:
1. allowed and style the title by changing code to
Code: Select all
<option name="title_displayed" value="true" type="bool" />
      <option name="title_font" value="Verdana" type="string" />
      <option name="title_size" value="18" type="int" />
      <option name="title_weight" value="bold" type="string" />
      <option name="title_decoration" value="normal" type="string" />
      <option name="title_color" value="f39e11" type="string" />


2. I added the text in between the brackets in title section
Code: Select all
</settings>
   <internaldata>
      <item name="item_1" title="Beautiful hiking trails on Mt. Palomar" caption="" value="palomarcabindata/graphics/gallery/_mg_7278.jpg"/>


Everything works good on desktop devices but I'm getting Fatal Error - Parsing xml .skin on my iPhone. I figured out that if I change the title to single word with no spaces it works on both desktop and iPhone but once I adde two words with space in between it gives me the error.

Does someone know how I could fix it? The title on mobile device does not resize so it is too big, I think the best option would be to turn on the title for desktop devices only and not showing on mobile. Is it possible?

Thank you, Katerina

no avatar
Katerina
Member
 
Posts: 21
Joined: Thu Aug 29, 2013 3:17 am

Re: Fatal Error - Parsing xml .skin - Gallery picture title

by Katerina » Sun Mar 09, 2014 12:30 am

Hi, I figured it out. At least the part with the title. It was not spaces but a special character "&" which caused the problem. So the first part is solved. I'm still wondering how difficult it would be to show gallery on both type of devices - desktop and mobile but show the title on desktop only. Thank you, Katerina

User avatar
benji33
Kolor Team
 
Posts: 2805
Joined: Tue Apr 09, 2013 10:59 am
Location: France

Re: Fatal Error - Parsing xml .skin - Gallery picture title

by benji33 » Wed Mar 12, 2014 4:12 pm

A responsive design task is opened for all kind of devices. Will be available into a 2.X version.


Return to Using Panotour / Panotour Pro

Who is online

Users browsing this forum: No registered users and 2 guests

cron