Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Incorrect Page Title on My Account Page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-31-2007, 09:33 PM
  scoobie's Avatar 
scoobie scoobie is offline
 

Advanced Member
  
Join Date: Dec 2006
Location: Sydney
Posts: 84
 

Default Incorrect Page Title on My Account Page

Hi Guys,

Can someone give me some pointers here. You can see on my screen dump I am getting Contact Us as the page title. I am having trouble finding it and changing it to what it should be.

My login.tpl looks like this:-

{include file="page_title.tpl" title="My Account"}

{if $login eq "" }
<h2>Your Profile</h2>
<TABLE width="100%" cellpadding="0" cellspacing="0" border="0">
<TR>
<TD>{include file="auth_mod.tpl" }</TD>
</TR>
</TABLE>
{else}
{include file="authbox_mod.tpl"}
<h2>Your Profile</h2>
<TABLE>
<tr><TD width="50%">{ include file="menu_profile_mod.tpl" }</TD></tr>
</TABLE>
{/if}

I know it has something to with this array $location[position] but I don't know what to do next.
Attached Thumbnails
Click image for larger version

Name:	screen_dump5.jpg
Views:	162
Size:	52.1 KB
ID:	607  
__________________
X-CART 4.1.8 (Add-Ons: onSale, CDSEO, AOM, Thickbox)
PHP 4.4.4
SQL 4.1.21
Linux O/S
Reply With Quote
  #2  
Old 11-01-2007, 12:20 PM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default Re: Incorrect Page Title on My Account Page

You are right in that it normally would deal with the $location array. However, by looking at your screen shot, you are using the help.php file to display the login page. In the php code in help.php, it assigns the location as "Help Zone" but your <title> tag is not even showing that. This tells me that you have done some customization to the META tag display since it is showing Contact us as the <title>.

You would need to post the code that you are using for your meta tags to make a better guess...

Quote:
Originally Posted by scoobie
Hi Guys,

Can someone give me some pointers here. You can see on my screen dump I am getting Contact Us as the page title. I am having trouble finding it and changing it to what it should be.

My login.tpl looks like this:-

{include file="page_title.tpl" title="My Account"}

{if $login eq "" }
<h2>Your Profile</h2>
<TABLE width="100%" cellpadding="0" cellspacing="0" border="0">
<TR>
<TD>{include file="auth_mod.tpl" }</TD>
</TR>
</TABLE>
{else}
{include file="authbox_mod.tpl"}
<h2>Your Profile</h2>
<TABLE>
<tr><TD width="50%">{ include file="menu_profile_mod.tpl" }</TD></tr>
</TABLE>
{/if}

I know it has something to with this array $location[position] but I don't know what to do next.
Reply With Quote
  #3  
Old 11-02-2007, 01:30 AM
  scoobie's Avatar 
scoobie scoobie is offline
 

Advanced Member
  
Join Date: Dec 2006
Location: Sydney
Posts: 84
 

Default Re: Incorrect Page Title on My Account Page

Hi,

Thank you so much. I found I had changed a label some time ago when I applied a mod I found in one of the threads. I looked at the help.php file but I should have looked at the include/help.php file.
__________________
X-CART 4.1.8 (Add-Ons: onSale, CDSEO, AOM, Thickbox)
PHP 4.4.4
SQL 4.1.21
Linux O/S
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:21 AM.

   

 
X-Cart forums © 2001-2020