Zen Cart Logo
Forums / General Questions / Need help with 3 things!

Need help with 3 things!

Views: 1,175

Results 1 to 15 of 15
15 May 2011, 8:42 AM
#1
dkunev avatar

dkunev

Zen Follower

Join Date:
May 2011
Posts:
117
Plugin Contributions:
0

Need help with 3 things!

Hello dear frientds!

I need help with 3 things! I'm runing verion 1.3.9! I did try do search for the problems, but didn't find a solution!

The three problems are:

1: The part in the top navbar saiying: "Welcome: 'user' or "Logout" part is missing when you log in!
When you're not logged in it has the "Sign in" or "Register" links, but once you log in they dissapear!

2: When viewed in Firefox the store is ok visualy... When viewed in IE the store logo hides behind the top nav bar!

3: It seems i can't use html in formatting text! For example when i'm edditing the new customer greeting email in create_account.php when using html code for bold, italic, new line etc. it doesent affect the way the text is displayed!

Please help me resolve that issues!

Thank you!

15 May 2011, 10:22 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Need help with 3 things!

As this can be template controlled you need to tell us where we can see your site
Post it like
zen-cart dot com

15 May 2011, 11:40 AM
#3
dkunev avatar

dkunev

Zen Follower

Join Date:
May 2011
Posts:
117
Plugin Contributions:
0

Re: Need help with 3 things!

Hi, thanks for the reply!

The site is at gadgetshop(dot)bg

Thanks!

15 May 2011, 12:37 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Need help with 3 things!

  1. In the stylesheet, you need to increase the height of #logoWrapper to at least the height of your header image (114px).

  2. Exactly what version of Zencart ? 1.3.9g has an HTML bug that is fixed by updating to 1.3.9h.

15 May 2011, 12:45 PM
#5
dkunev avatar

dkunev

Zen Follower

Join Date:
May 2011
Posts:
117
Plugin Contributions:
0

Re: Need help with 3 things!

Issue No.2 is fixed! :clap: THANK YOU stevesh The logowraper was the problem it was only 58px

About No.3: I'm running 1.3.9h

No 1 bothers me the most! Help!!!

15 May 2011, 1:10 PM
#6
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Need help with 3 things!

  1. I created an account and that part of the navbar is still there, but there's a define constant instead of the define value - TOP_MENU_HELLO, which suggests you have a file that is missing, corrupted or mis-edited. That constant doesn't exist in a stock Zencart installation, so it's probably part of the template, so I'd look there first.

Use **Admin - Tools - Developers Tool Kit **to search for that constant.

If I logoff and log back in, that part of the navbar disappears.

15 May 2011, 1:17 PM
#7
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,176
Plugin Contributions:
0

Re: Need help with 3 things!

#1...
What happens when you change your template back to the classic view...

notice you have purchased or got for free a template called: black pure free..

Looks like you have installed a language module also..
Your language module do not have the proper files interegrated with black pure free...

I would contact both of the modules creatures to write the .php code to view this...

15 May 2011, 2:19 PM
#8
dkunev avatar

dkunev

Zen Follower

Join Date:
May 2011
Posts:
117
Plugin Contributions:
0

Re: Need help with 3 things!

OK guys,

I have this code in a file called tpl_top_nav.php:

<div id="login_logout_section" class="float-right"> <?php if ($_SESSION['customer_id']) { ?> <ul class="list-style-none inline-list"> <li> <?php echo(TOP_MENU_HELLO);?><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo ($_SESSION['customer_first_name'].' '.$_SESSION['customer_last_name']);?></a> </li> <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li> </ul> <?php } else { if (STORE_STATUS == '0') { ?> <a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a> <?php echo HEADER_OR; ?> <a href="<?php echo zen_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_REGISTER; ?></a> <?php } } ?> </div>

What's wrong with it?

Unfortunately the template is free and i don't think the creators will help me...

15 May 2011, 2:22 PM
#9
dkunev avatar

dkunev

Zen Follower

Join Date:
May 2011
Posts:
117
Plugin Contributions:
0

Re: Need help with 3 things!

When tying to search for TOP_MENU_HELLO in the Developers toolkit no results come out!

Maybe thats the problem!

15 May 2011, 2:26 PM
#10
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Need help with 3 things!

From the view source

<div class="topper-menu float-right">
</div>

Try searching for that - - topper-menu

15 May 2011, 2:51 PM
#11
dkunev avatar

dkunev

Zen Follower

Join Date:
May 2011
Posts:
117
Plugin Contributions:
0

Re: Need help with 3 things!

Nope...

topper-menu returns no results!

:(

15 May 2011, 3:00 PM
#12
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Need help with 3 things!

TOP_MENU_HELLO doesn't appear in any of your template's files, either. Do you have other header-specific mods installed ?

15 May 2011, 3:07 PM
#13
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Need help with 3 things!

15 May 2011, 3:26 PM
#14
dkunev avatar

dkunev

Zen Follower

Join Date:
May 2011
Posts:
117
Plugin Contributions:
0

Re: Need help with 3 things!

I have no header mods installed at all!

That's from the template files...

If i replace TOP_MENU_HELLO with plain text somehow that will probably fix the issue....

I see what you see stevesh but when I log in with my test accounts it dissapears... at first login it appears like your pic then it disappears...

If the template file is overriding somethin what if i remove it?

Thanks for the help you guys!!!

15 May 2011, 5:14 PM
#15
dkunev avatar

dkunev

Zen Follower

Join Date:
May 2011
Posts:
117
Plugin Contributions:
0

Re: Need help with 3 things!

OK guys!!!

I resolved the 2nd issue!

I added a line: define('TOP_MENU_HELLO', 'Hello'); before the code that included TOP_MENU_HELLO and it worked!

Unfortunately there was a problem with longer names... mabe there is a maximum character thing going on and when it's exceded it disapears again!

So I modified the line to be: define('TOP_MENU_HELLO', ' ');

And now it works like a charm!

Thanks for the help!


One question still isn't resolved though!

Why HTML doesen't work when editing text for let's say... Greating e-mail?