Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / No headlines in the login area

No headlines in the login area

Locked

Views: 1,029

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
26 Mar 2009, 9:20 PM
#1
scrap avatar

scrap

Zen Follower

Join Date:
Mar 2009
Posts:
103
Plugin Contributions:
0

No headlines in the login area

Hi
I'm totally new at Zen Cart, including PHP and such, so bear with me :) I've searched Google and the forums with no help.

My shop is coming along anyhow, although I've run into some problems. I'm using 1.3.8a with a swedish language pack.

  1. I want to change the GV link text in the information box, but cannot find out how. In swedish this text spells out "Presentkort Frågor och svar". Where do I change this title?

  2. In my login section there are several screwups. I don't know wether the issue is the swedish language pack but there are no headlines for HEADING_RETURNING_INFO, HEADING_SHOP_CONFIDENCE or HEADING_CUSTOMER_SERVICE, nor are there instructions for SHOP_CONFIDENCE_TEXT. It seems these headlines aren't defined somehow... why, and how do I change it?

I've found some traces of evidence in includes-->templates-->my_template-->templates-->tpl_login_default.php:

<legend><?php echo HEADING_RETURNING_INFO; ?></legend>
<h3 class="AssuranceHeader"><?php echo HEADING_CUSTOMER_SERVICE; ?></h3>
<h3 class="AssuranceHeader"><?php echo HEADING_SHOP_CONFIDENCE; ?></h3>
<?php echo SHOP_CONFIDENCE_TEXT; ?>

Sure, I can just change the words in there, but i'm sure that'll just bring me into trouble later on.

  1. Furthermore, in the login area, there are no images for the buttons (Process and Create_account respectively). The source code points towards definitions that aren't defined (at least that's how I understands it):
<input type="image" src="includes/templates/template_default/buttons/swedish/BUTTON_IMAGE_CONTINUE_CHECK_OUT" alt="logga in" title=" logga in " />

Help! The shop is tagged "Under maintenance", but hopefully it wont matter for you guys

27 Mar 2009, 2:40 AM
#2
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: No headlines in the login area

Hi,

I see you're having lots of fun.

  1. The english version of that text is defined in includes/languages/english.php, so I'd look for the equivalent swedish file, in the same location I assume. (I've never installed a language mod, so take my advice with a large dose of skepticism.)

  2. I can't find those terms anywhere in my default copy of ZC v1.3.8a, and the code you quote from tpl_login_default.php also does not appear in that file in the default ZC 1.3.8a. Perhaps this is all part of the Swedish language pack? If so, whoever created it will have to come forward and explain things better.

  3. Are you sure the image is where it's supposed to be?

Rob

27 Mar 2009, 6:03 PM
#3
scrap avatar

scrap

Zen Follower

Join Date:
Mar 2009
Posts:
103
Plugin Contributions:
0

Re: No headlines in the login area

rstevenson:

Hi,

I see you're having lots of fun.

  1. The english version of that text is defined in includes/languages/english.php, so I'd look for the equivalent swedish file, in the same location I assume. (I've never installed a language mod, so take my advice with a large dose of skepticism.)

  2. I can't find those terms anywhere in my default copy of ZC v1.3.8a, and the code you quote from tpl_login_default.php also does not appear in that file in the default ZC 1.3.8a. Perhaps this is all part of the Swedish language pack? If so, whoever created it will have to come forward and explain things better.

  3. Are you sure the image is where it's supposed to be?

Rob

Hi and thanks for your reply.

  1. I haven't found the equivalent in the swedish.php-file. I guess I have to ask the one who contributed with the translation pack about that.

  2. The same thing here

  3. The "strange" thing here is that src points towards a PHP definition and not an actual file. I've searched all (kind of) PHP files I can think of using Notepad++ --> Search multiple files and haven't found the definition. Again, I can change the src to an image of choice and bypass the PHP definition, but I don't think that's the way to go.