Forums / Templates, Stylesheets, Page Layout / Problems with a template

Problems with a template

Locked

Views: 1,659

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
31 Mar 2010, 7:29 PM
#1
kray avatar

kray

New Zenner

Join Date:
Mar 2010
Posts:
15
Plugin Contributions:
0

Problems with a template

Hi,
I installed a few days ago the latest zen-cart, and today i have downloaded a free template for it.

My problem is that it looks messed up, and i don't know what to do.

Here's the link: https://www.revolutionman.com/shop

I installed a hungarian language pack, and easy populate, before installing the template.

Thank you for the support.

31 Mar 2010, 7:54 PM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Problems with a template

Try uploading the template again. It looks like a file may have been missed or gotten garbled in the upload.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

31 Mar 2010, 8:09 PM
#3
kray avatar

kray

New Zenner

Join Date:
Mar 2010
Posts:
15
Plugin Contributions:
0

Re: Problems with a template

I uploaded the template again, and i get the same result.

31 Mar 2010, 8:29 PM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Problems with a template

The template is OK.

You are seeing:

* TOP_MENU_HOME
* TOP_MENU_NEW_PRODUCTS
* TOP_MENU_SPECIALS
* TOP_MENU_FEATURED_PRODUCTS

because of the language pack, but that is not a problem.

You need to add DEFINES (labels) for the CONSTANTS above...

https://www.zen-cart.com/tutorials/index.php?article=95

20 years a Zencart User

31 Mar 2010, 9:15 PM
#5
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Problems with a template

Here's what you need to do...

In the Lite_Grey template, you will see a folder called languages.

Inside that folder you will see one called english.

Inside that, you will see one called lite_grey

You now need to send THAT folder (lite_grey) to your HUNGARIAN language folder.

So, on your SERVER, go via FTP to

includes/languages/hungarian

On your HOME computer, use the other FTP frame to go to:

Lite_Grey_Template/includes/languages/english

... then, ftp the lite_grey folder to your hungarian language folder.

You see... the template does not know that you are using Hungarian language pack. It provides for ENGLISH only, so you must send a COPY of what they provide for the English defines, for your Hungarian defines also.

When you have competed the procedure (above) your menu will be in English (whether you choose english or hungarian), but you will now be able to write in hungarian words into the right place.

20 years a Zencart User

1 Apr 2010, 2:59 PM
#6
kray avatar

kray

New Zenner

Join Date:
Mar 2010
Posts:
15
Plugin Contributions:
0

Re: Problems with a template

Thank You, again, but this doesn't help, i still get the same results.
I did exactly what you requested.
And my only problem isn't that those menus APPEAR_LIKE_THIS, but the whole coloumn that should be on the left appears in the middle of the browser.

I would really appreciate some further assistance.

Thank You.

1 Apr 2010, 3:02 PM
#7
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Problems with a template

I will be away for a few days, returning on Tuesday 6 April.

You may require some specialized help, and I will only be able to offer that when I return.

20 years a Zencart User

1 Apr 2010, 3:08 PM
#8
kray avatar

kray

New Zenner

Join Date:
Mar 2010
Posts:
15
Plugin Contributions:
0

Re: Problems with a template

Hey, now i checked again, and it works.
The question now i have is how do i change those menus(so i can write the menu names in hungarian)?

1 Apr 2010, 3:26 PM
#9
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Problems with a template

Start with the menu headers...

includes\languages\hungarian\lite_grey\header.php

Open the file for EDITING using a good, plain text editor

// header text in includes/header.php
  define('HEADER_TITLE_CREATE_ACCOUNT', 'Create Account');
  define('HEADER_TITLE_MY_ACCOUNT', 'My Account');
  define('HEADER_TITLE_CART_CONTENTS', 'Shopping Cart');
  define('HEADER_TITLE_CHECKOUT', 'Checkout');
  define('HEADER_TITLE_TOP', 'Top');
  define('HEADER_TITLE_CATALOG', 'Home');
  define('HEADER_TITLE_LOGOFF', 'Sign Out');
  define('HEADER_TITLE_LOGIN', 'Sign In');
  define('HEADER_TITLE_REGISTER', 'Register');
  define('HEADER_OR', 'or');
  define('HEADER_TITLE_CREATE_ACCOUNT', 'Regisztráció');

... and so on...

20 years a Zencart User

1 Apr 2010, 3:45 PM
#10
kray avatar

kray

New Zenner

Join Date:
Mar 2010
Posts:
15
Plugin Contributions:
0

Re: Problems with a template

This works fine, the only things i have left to change are:

"Your cart is empty"
"search"
"advanced search"
and the logo "OnlineStore"

Guess that's all.

Thank You for your time and patience.

1 Apr 2010, 3:47 PM
#11
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Problems with a template

It is a pleasure...

Boldog Húsvéti Ünnepeket:smile:

20 years a Zencart User

1 Apr 2010, 3:53 PM
#12
twaddle avatar

twaddle

Banned

Join Date:
Jul 2009
Location:
Prague, Czech Republic
Posts:
478
Plugin Contributions:
0

Re: Problems with a template

includes\languages\hungarian.php

1 Apr 2010, 3:57 PM
#13
twaddle avatar

twaddle

Banned

Join Date:
Jul 2009
Location:
Prague, Czech Republic
Posts:
478
Plugin Contributions:
0

Re: Problems with a template

Oh, and the logo, if you mean to change it per language it's not straightforward - there was a recent thread about how to change it, but it looked more trouble than it was worth - the suggested solution was to use banner images I think

If you mean to just change the existing template logo, it's here - /includes/templates/lite_grey/images/logo.gif

1 Apr 2010, 3:59 PM
#14
twaddle avatar

twaddle

Banned

Join Date:
Jul 2009
Location:
Prague, Czech Republic
Posts:
478
Plugin Contributions:
0

Re: Problems with a template

schoolboy:

Boldog Húsvéti Ünnepeket:smile:
Only word I know in Hungarian is egezegedre which oddly I learnt in Corfu of all places :P