Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Page 1 of 2
How can i have real title instead of ‘Customer login’ in all my website? 
 
xTasMe
Member
 
Total Posts:  49
Joined:  2008-07-23
 

Hi,

I have a probleme with my mini login box..
I’ve made 2 states for my mini login box, 1 for connected user and the other one for loggin in ...

I’ve do this like that :

<customer_logged_in>
        <
reference name="header">
            <
block type="core/template" name="customer_mini_login" template="customer/form/mini.loginIn.phtml"/>
        </
reference>
    </
customer_logged_in>

    <
customer_logged_out>
        <
reference name="header">
            <
block type="customer/form_login" name="customer_mini_login" template="customer/form/mini.login.phtml"/>
        </
reference>
    </
customer_logged_out>

I think that the only way to do this, and effectively, the login process work perfecly like this…
But i still have a problem, the title of all my website stay like the title when you are in customer login page… I don’t understand why ...
I just want know if someone had the same probleme and how can i do for have real title of my website instead of ‘Customer Login’..

thanks A lot for help ! !!

xTa

 
Magento Community Magento Community
Magento Community
Magento Community
 
xTasMe
Member
 
Total Posts:  49
Joined:  2008-07-23
 

no one have an idea ?

 
Magento Community Magento Community
Magento Community
Magento Community
 
got-bonsai
Sr. Member
 
Avatar
Total Posts:  136
Joined:  2008-10-25
Wales, UK
 

Hi, app/code/core/Mage/Customer/Block/Form/login.php causes this.

protected function _prepareLayout()
    
{
        $this
->getLayout()->getBlock('head')->setTitle(Mage::helper('customer')->__('Customer Login'));
        return 
parent::_prepareLayout();
    
}

comment out the setTitle command.
Duplicate the file and folder structure in your app/code/local directory to preserve the changes after updates.

Tom

 
Magento Community Magento Community
Magento Community
Magento Community
 
xTasMe
Member
 
Total Posts:  49
Joined:  2008-07-23
 

You’re my saver !!! I love you!!! Thank so much gotbonsai !

 
Magento Community Magento Community
Magento Community
Magento Community
 
Martin Ille
Jr. Member
 
Total Posts:  10
Joined:  2008-10-28
Bratislava, Slovakia
 

This helped me too, thanks a lot, gotbonsai !!

 
Magento Community Magento Community
Magento Community
Magento Community
 
dlw
Jr. Member
 
Total Posts:  27
Joined:  2007-09-02
 

That was a life saver for me as well. One thing though is there a way to set a title for the contact page? Mine just says the default now.

TIA,
Darren

 
Magento Community Magento Community
Magento Community
Magento Community
 
KWAVE
Member
 
Avatar
Total Posts:  53
Joined:  2009-04-04
Boston
 

You can change the titles for contact us, sitemaps pages by going to Admin>General>Design> then into HTML Head

You can change title, keywords and description.

 
Magento Community Magento Community
Magento Community
Magento Community
 
manisha_magento
Jr. Member
 
Avatar
Total Posts:  25
Joined:  2008-07-11
Toronto
 

it’s really a bug i think?  if we include blocks then it’s should not take that block title ..

 
Magento Community Magento Community
Magento Community
Magento Community
 
Krite
Guru
 
Total Posts:  301
Joined:  2009-05-31
 

What ‘s file edid in a topic?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Krite
Guru
 
Total Posts:  301
Joined:  2009-05-31
 

What ‘s file edid in a topic? and please show is result a picture

If I want use http://web-experiment.info/magento/grayscale/ and download to http://web-experiment.info/magento/media/downloads/wp_magento_theme_grayscale_01.zip in topic http://www.magentocommerce.com/boards/viewthread/71879/

Where did edit file same your tech code ?

 
Magento Community Magento Community
Magento Community
Magento Community
 
manisha_magento
Jr. Member
 
Avatar
Total Posts:  25
Joined:  2008-07-11
Toronto
 

in app\code\core\Mage\Customer\Block\Form\Login.php

there is a protected function _prepareLayout()

in that.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Krite
Guru
 
Total Posts:  301
Joined:  2009-05-31
 

If I wan show mini login box in front page. in a left ? What ‘s did I do a create box in a left. Please help me ! I’am not programmer ( download in http://web-experiment.info/magento/media/downloads/wp_magento_theme_grayscale_01.zip )

Image Attachments
login.jpg
 
Magento Community Magento Community
Magento Community
Magento Community
 
manisha_magento
Jr. Member
 
Avatar
Total Posts:  25
Joined:  2008-07-11
Toronto
 

hello Krite in layout/customer.xml find “<customer_logged_out>” tag and add

<reference name="left">
            <
block type="customer/form_login" name="customer_mini_login" template="customer/form/mini.login.phtml"/>
        </
reference>

see below complete tag.

<customer_logged_out>
        <
reference name="left">
            <
block type="customer/form_login" name="customer_mini_login" template="customer/form/mini.login.phtml"/>
        </
reference>
    </
customer_logged_out>
 
Magento Community Magento Community
Magento Community
Magento Community
 
Krite
Guru
 
Total Posts:  301
Joined:  2009-05-31
 

Hi Manisha in my theme. It’s don’t have in “layout/customer.xml” it have cms.xml , catalog.xml , checkout.xml and page.xml Please help me please ?  and can download in http://web-experiment.info/magento/media/downloads/wp_magento_theme_grayscale_01.zip

cms => static block
block title : Left info block
Identifier : left_info_block
Status : Enable
Content :
<div class="box base-mini mini-promotion">
<div class="head">
<h4>Promotion</h4>
</div>
<div class="content">
<img src="/skin/frontend/default/grayscale/images/promotion.jpg" />
</div>
</div>

<div class="block-service base-mini box">
<div class="head"> <h4>Customer service</h4></div>
<div class="content">
<div class="service-image"></div><div class="service-text"><h5>Chat support</h5><span>if we’re off- or online aswell</span></div><p> </p>
<div class="divider"></div>
<span class="service-t">(+1)</span><span class="service-phone">881-648-4399 </span><p> </p>
<span>9.00-21.00 Mon-Sun</span>
</div>
</div>

and in right

block title : Right info block
Identifier : right_info_block
Status : Enable

Content :
<div class="box base-mini mini-promotion">
<div class="head">
<h4>Promotion</h4>
</div>
<div class="content">
<img src="/skin/frontend/default/grayscale/images/promotion.jpg" />
</div>
</div>
<div class="base-mini box">
<div class="head"> <h4>Profiles</h4></div>
<div class="content">
<div class="profiles_icon"><a href="” title="Facebook" class="facebook"></a><a href="” title="YouTube" class="youtube"></a><a href="” title="Twitter" class="twitter"></a><a href="” title="Flickr" class="flickr"></a><a href="” title="Linkedin" class="linkedin"></a>
<div class="sp"></div>
</div>
</div>
</div>

Please help me Please

 
Magento Community Magento Community
Magento Community
Magento Community
 
Krite
Guru
 
Total Posts:  301
Joined:  2009-05-31
 

Please....... anyone help me please. 

Krite - 25 January 2010 06:21 AM

Hi Manisha in my theme. It’s don’t have in “layout/customer.xml” it have cms.xml , catalog.xml , checkout.xml and page.xml Please help me please ?  and can download in http://web-experiment.info/magento/media/downloads/wp_magento_theme_grayscale_01.zip


cms => static block
block title : Left info block
Identifier : left_info_block
Status : Enable
Content :
<div class="box base-mini mini-promotion">
<div class="head">
<h4>Promotion</h4>
</div>
<div class="content">
<img src="/skin/frontend/default/grayscale/images/promotion.jpg" />
</div>
</div>

<div class="block-service base-mini box">
<div class="head"> <h4>Customer service</h4></div>
<div class="content">
<div class="service-image"></div><div class="service-text"><h5>Chat support</h5><span>if we’re off- or online aswell</span></div><p> </p>
<div class="divider"></div>
<span class="service-t">(+1)</span><span class="service-phone">881-648-4399 </span><p> </p>
<span>9.00-21.00 Mon-Sun</span>
</div>
</div>


and in right

block title : Right info block
Identifier : right_info_block
Status : Enable

Content :
<div class="box base-mini mini-promotion">
<div class="head">
<h4>Promotion</h4>
</div>
<div class="content">
<img src="/skin/frontend/default/grayscale/images/promotion.jpg" />
</div>
</div>
<div class="base-mini box">
<div class="head"> <h4>Profiles</h4></div>
<div class="content">
<div class="profiles_icon"><a href="” title="Facebook" class="facebook"></a><a href="” title="YouTube" class="youtube"></a><a href="” title="Twitter" class="twitter"></a><a href="” title="Flickr" class="flickr"></a><a href="” title="Linkedin" class="linkedin"></a>
<div class="sp"></div>
</div>
</div>
</div>

Please help me Please

 
Magento Community Magento Community
Magento Community
Magento Community
 
Krite
Guru
 
Total Posts:  301
Joined:  2009-05-31
 

I want add block login and Register in my free theme but this theme not have customer.xml and I would like layout
Username : ********
Password : *********
button login
text link forget pawword | Register

Please Help me Please
and this code :

1. For CMS pages
Log into Admin Panel. CMS - Manage Pages
Select page to edit - you can set title in “Page Title”.
Page Title * : home
SEF URL Identifier * : home
Status * : Enabled
content : {{block type="catalog/product_list" template="catalog/product/home.phtml" category_id="2"}}

2. Custom Design -> Layout: 3 columns

3. Custom Design -> Layout Update XML:

<reference name="head">
<action method="addJs"><script>additional.js</script></action>
</reference>
<reference name="hometop">
<block type="cms/block" name="cms_home_top_block">
<action method="setBlockId"><block_id>home_top_block</block_id></action>
<action method="setTitle" translate="title"><title>Your custom title e.g. XYZ.com</title></action>
<block type="page/html_left" name="left" as="left">

</block>
</reference>

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top
Page 1 of 2