template color switcher doesn't work

Professional Joomla social template with metro design and JomSocial extension support.
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sat Sep 14, 2013 12:24 pm
Reply with quote
Report this post
Hi,
The template color switcher doesn't work. Nothing changes.
Same issue with the background, nothing happens
User avatar
Fresh Boarder

GK User
Sat Sep 14, 2013 12:27 pm
Reply with quote
Report this post
Hi,
1) have you any error message during saving in back-end?
2) Can you change any other settings?
3) Joomla 2.5 or Joomla 3.1 ?
User avatar
Platinum Boarder

GK User
Sat Sep 14, 2013 12:38 pm
Reply with quote
Report this post
About background, you're right I have this same issue from back-end.
Temporary you can use this solution


Code: Select all
body  {
    background-image: url("/templates/gk_msocial/images/patterns/pattern7.png");
}


We have 12 patterns so change number from 1 to 12

I will ask developer, and if it's a bug It will fix it soon.
User avatar
Platinum Boarder

GK User
Mon Sep 16, 2013 9:32 am
Reply with quote
Report this post
Yes, it was a bug.

Fix it here: gk_msocial/layouts/default.php

Find:
Code: Select all
$tpl_page_suffix = $this->page_suffix != '' ? ' class="'.$this->page_suffix.'"' : '';

Replace with:
Code: Select all
$tpl_page_suffix = $this->page_suffix != 'class=pattern"'.$this->API->get('template_pattern', '1').'"' ? ' class="'.$this->page_suffix.' pattern'.$this->API->get('template_pattern', '1').'"' : '';
User avatar
Platinum Boarder


cron