Styling issues

GK User
Wed Sep 21, 2011 4:25 pm
Hi

re: www.west5web.co.uk

couple of styling issues I could use help with please:

1. Trying to get the pink version of the site. I set pink in the template parameters yet it keeps changing to green. In the params.ini file, it changes to template_color=4. Any ideas?

2. Drown down menus - these work fine on all pages except the home page. I have tried disabling all the modules on the home page to see if anything is conflicting but still can't get the main menu drop downs to work.

3. Styling for K2 seems all messed up too. See for example: http://www.west5web.co.uk/health-a-fitness.html

cheers

Paul
User avatar
Senior Boarder

GK User
Wed Sep 21, 2011 9:20 pm
if it's the J!1.5, the same is happening to me. I believe the template package is all messed up and installs with errors, leading to problems in formating and losing the translations.

See the description in: 135-joomla-15/92274-wrong-packaging-in-template-file.html
User avatar
Fresh Boarder

GK User
Thu Sep 22, 2011 5:26 pm
yes, I am using 1.5.

Any ideas from the Gavick team??

Paul
User avatar
Senior Boarder

GK User
Thu Sep 22, 2011 6:08 pm
Hi Paul
No ideas. I got a reply that doesn't solve anything and am still waiting for a solution. I even opened a ticket.
Support here isn't the fastest...
User avatar
Fresh Boarder

GK User
Fri Sep 23, 2011 7:16 am
I ll try to help as much as i can.

Firstly for K2 its missing its language files. Can you check below files to make sure all K2 languages are available specially en-GB.com_k2.ini.
Code: Select all
languagesen-GBen-GB.com_k2.ini
languagesen-GBen-GB.mod_k2_comments.ini
languagesen-GBen-GB.mod_k2_content.ini
languagesen-GBen-GB.mod_k2_login.ini
languagesen-GBen-GB.mod_k2_tools.ini
languagesen-GBen-GB.mod_k2_users.ini

For styling error as you can see from the code last 3 options have the same value which is a bug on admins side, so whichever you select from last three style 4 gets applied.

Please edit following file.
Code: Select all
..templatesgk_twn2templateDetails.xml

Find lines 183 to 188 which is:
Code: Select all
                  <option value="1">red</option>
                  <option value="2">blue</option>
                  <option value="3">brown</option>
                  <option value="4">green</option>
                  <option value="4">grey</option>
                  <option value="4">pink</option>

Change it to
Code: Select all
                  <option value="1">red</option>
                  <option value="2">blue</option>
                  <option value="3">brown</option>
                  <option value="4">green</option>
                  <option value="5">grey</option>
                  <option value="6">pink</option>


Save and reupload file. Goto Template options and reselect pink style so correct value gets written in params.ini file so it takes effect.

For menu problem if you can be more specific or take a screenshot of the problem it will help to fully understand your query.

See ya around....
User avatar
Platinum Boarder

GK User
Fri Sep 23, 2011 4:25 pm
Hi normanUK

Ok, so got the pink style applied OK. The top menu bar (where the search is located) is white though is it possible to change this to pink (like in the red demo).

All K2 language files are present. Probably should have mentioned that this site was functioning and displaying OK using a different template. I copied the whole site from one domain to another to change the template and then intend to copy back to original domain. Could this have biggered up K2?

The menu issue is that the drop downs on the home page are not showing but show on every other page. At www.west5web.co.uk check the "health and fitnes" menu item in main nav - it doesn;t work on home page but does on every other page.

cheers

paul
User avatar
Senior Boarder

GK User
Fri Sep 23, 2011 7:08 pm
Menu in homepage is working fine it just gets stuck behind the slideshow so it looks kind of as if is not working.

Try this css change.
In Joomla Admin > Extensions > Template Manager > "gk_twn2"
On the right under "Dev Mode" please enable Use override.css

Then find and open override.css in "templatesgk_twn2cssoverride.css" and add below code.
Code: Select all
/* Brings Submenu forward in index */
#gk-subnav ul ul {
   z-index: 99999;
}



For Topmenu Pink Styling same as above add below code in the same file.
Code: Select all
#gk-top-menu1 .menu li a, #gk-top-menu1 .menu li a:hover {
    color: #FFFFFF;
   font-weight: bold;
}
#gk-top-menu1 .menu {
    text-shadow: none;
}
#gk-top-menu {
    background: url("../images/style6/menu_item.png") repeat-x scroll 0 0 transparent;
    border-bottom-color: #C1284C;
}


As for K2 we have to investigate more. You ve said you have moved your websites location, things you can try is clearing your joomla cache and urls if you have used a sef component.
If you believe it works fine with default joomla template but doesnt work with The World News 2 template then you might have to raise a ticket with an admin with access details so they can check.

See ya around...
User avatar
Platinum Boarder

GK User
Fri Sep 23, 2011 7:11 pm
It's a template packaging problem. Take a look ate my post here: 135-joomla-15/92274-wrong-packaging-in-template-file.html.
I have it installed in a site and by just changing the template to another gavick template, k2 translations work. The style issue actually gets solved, but gavick people should be delivering their templates without bugs (or at least solve them when warned by users, both in the forum and in the support tickets). None is the case...
I know: 100.000 users, 5 tech guys, and only the most serious problems get their attention...
User avatar
Fresh Boarder

GK User
Fri Sep 23, 2011 8:17 pm
I am sorry but blaming everything on Gavick doesnt solve anything. What i normally do is install the templates on my local server and if it works out of package that means problem is elsewhere. If the template doesnt work out of package obviously then it is Gavick's fault which they will fix it.

For "ukfish1" K2 problem. I have looked in below file and it is an old version language file. So if you can download your installed K2 version and re-transfer language files to yourwebsite/language/ folder.
Code: Select all
http://www.west5web.co.uk/language/en-GB/en-GB.com_k2.ini


Sample only part of your version of language see how the content is which is old style:
Code: Select all
/**
 * @version      $Id: en-GB.com_k2.ini 501 2010-06-24 19:25:30Z joomlaworks $
 * @package      K2
 * @author      JoomlaWorks http://www.joomlaworks.gr
 * @copyright   Copyright (c) 2006 - 2010 JoomlaWorks, a business unit of Nuevvo Webware Ltd. All rights reserved.
 * @license      GNU/GPL license: http://www.gnu.org/copyleft/gpl.html
 */

# COMMON
K2_DATE_FORMAT=%d/%m/%Y - %H:%M



# ---------------- COMPONENT FRONTEND ----------------
1 STAR OUT OF 5=1 star out of 5
2 STARS OUT OF 5=2 stars out of 5
3 STARS OUT OF 5=3 stars out of 5
4 STARS OUT OF 5=4 stars out of 5
5 STARS OUT OF 5=5 stars out of 5
ACCOUNT DETAILS=Account details
ADD A NEW ITEM IN THIS CATEGORY=Add a new item in this category
ADD TO DELICIOUS=Add to Delicious
ADD TO FACEBOOK=Add to Facebook
ADD TO GOOGLE BUZZ=Add to Google Buzz
ADD TO MYSPACE=Add to MySpace
ADD TO REDDIT=Add to Reddit
ADD TO STUMBLEUPON=Add to StumbleUpon


Sample part of New Language file which comes with the template quickstart is as below:

Code: Select all
;/**
; * @version   $Id: en-GB.com_k2.ini 836 2011-06-21 12:43:40Z joomlaworks $
; * @package   K2
; * @author      JoomlaWorks http://www.joomlaworks.gr
; * @copyright   Copyright (c) 2006 - 2011 JoomlaWorks, a business unit of Nuevvo Webware Ltd. All rights reserved.
; * @license   GNU/GPL license: http://www.gnu.org/copyleft/gpl.html
; */

K2_1_STAR_OUT_OF_5="1 star out of 5"
K2_2_STARS_OUT_OF_5="2 stars out of 5"
K2_3_STARS_OUT_OF_5="3 stars out of 5"
K2_4_STARS_OUT_OF_5="4 stars out of 5"
K2_5_STARS_OUT_OF_5="5 stars out of 5"
K2_ACCESS_LEVEL="Access level"
K2_ACCOUNT_DETAILS="Account details"
K2_ADD="Add"
K2_ADDITIONAL_DETAILS="Additional details"
K2_ADDITIONAL_INFO="Additional Info"
K2_ADD_ATTACHMENT_FIELD="Add attachment field"
K2_ADD_A_NEW_ITEM_IN_THIS_CATEGORY="Add a new item in this category"
K2_ADD_ITEM="Add Item"
K2_ADD_TO_DELICIOUS="Add to Delicious"
K2_ADD_TO_FACEBOOK="Add to Facebook"
K2_ADD_TO_GOOGLE_BUZZ="Add to Google Buzz"
K2_ADD_TO_MYSPACE="Add to MySpace"
K2_ADD_TO_REDDIT="Add to Reddit"
K2_ADD_TO_STUMBLEUPON="Add to StumbleUpon"


So when template looks for "K2_RATE_THIS_ITEM" in language file it cannot find it.
User avatar
Platinum Boarder


cron