Forum Support

Shape 5
March 28, 2024, 02:55:30 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Lost widget styles  (Read 1028 times)
kirstykiwi
Jr. Member
**
Offline Offline

Posts: 56



« on: December 07, 2015, 02:31:09 PM »

I only seem to have the 'default' widget style - how can I get the the other styles back?  I have used the same template on another site and it is fine. 

onlinelasertraining.co.uk - misbehaving site

Thanks
Kirsty
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #1 on: December 07, 2015, 02:47:55 PM »

I believe I have seen this problem before; there has been a slight tweak to the way the styles list is generated in newer versions of the framework, and on some servers the backwards compatibility I programmed in seems to fail.  The fix is easy though.  If you edit templateDetails.xml in the theme folder, you will see a list near the top that is wrapped with <colors></colors> and has each item wrapped with <color></color>.  If you change that structure to <styles></styles> and <style></style> the list will reappear.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
kirstykiwi
Jr. Member
**
Offline Offline

Posts: 56



« Reply #2 on: December 07, 2015, 03:06:58 PM »

Changed it to look like this - but it still isn't working:
<styles>
      <color>-dark</color>
      <color>-none</color>
      <color>-inset</color>
      <color>-highlight1</color>
      <color>-highlight2</color>
      <color>-no_shadow</color>
      <color>-title_lines</color>
      <color>-title_lines_no_bg</color>
      <color>-centered</color>
      <color>-highlight1_title</color>
      <color>-highlight2_title</color>
      <color>-none_laptop</color>
   </styles>

I also replaced all color with styles  - just in case. but still nothing.
<styles>
      <styles>-dark</styles>
      <styles>-none</styles>
      <styles>-inset</styles>
      <styles>-highlight1</styles>
      <styles>-highlight2</styles>
      <styles>-no_shadow</styles>
      <styles>-title_lines</styles>
      <styles>-title_lines_no_bg</styles>
      <styles>-centered</styles>
      <styles>-highlight1_title</styles>
      <styles>-highlight2_title</styles>
      <styles>-none_laptop</styles>
   </styles>

Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #3 on: December 07, 2015, 03:11:56 PM »

Replace <color> with <style>.

The structure should be:
Code:
<styles>
<style>-style1</style>
<style>-style2</style>
</styles>
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
kirstykiwi
Jr. Member
**
Offline Offline

Posts: 56



« Reply #4 on: December 07, 2015, 03:26:50 PM »

Coolio... sorted!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.