Magento Forum

   
How can i give the link of about us page in my home page
 
Nikunj Joshi
Member
 
Avatar
Total Posts:  59
Joined:  2008-12-05
SR. PHP Developer
 

Hi friends,

i have create a home page and i give the about us option,

i don’t know how to call or give the link of about us page in my home page..

can you help me to find out it?

Thanks.

Nikunj

 
Magento Community Magento Community
Magento Community
Magento Community
 
Damian Culotta
Enthusiast
 
Total Posts:  878
Joined:  2008-12-10
Argentina
 

You talk about get a link into your homepage to the abous Us page?.

I think that you can add content to your home page, and use a href link with something like this:

<a href="{{store url=""}}about-magento-demo-store">About Us</a>

(I just copied that example from the footer block)

wink

 
Magento Community Magento Community
Magento Community
Magento Community
 
Nikunj Joshi
Member
 
Avatar
Total Posts:  59
Joined:  2008-12-05
SR. PHP Developer
 

Hi Friend,

i have right this code on header.phtml file, but it doesn’t work,

can you explain me where to right this code?

Thanks

Nikunj

 
Magento Community Magento Community
Magento Community
Magento Community
 
Damian Culotta
Enthusiast
 
Total Posts:  878
Joined:  2008-12-10
Argentina
 

Sorry, I understood that yo’re talking about content inside the home page (but I’m talking about the home page as you can see on the backend into CMS -> MAnage pages).

You want to add this link like a category link?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Yooplaboom
Jr. Member
 
Total Posts:  30
Joined:  2008-11-25
 

Hi, I’ve just done this for a project, I wanted to add menus to the top nav :

Open : app\design\frontend\default\YOURTHEME\template\catalog\navigation\top.phtml

<?php //if(count($this->getStoreCategories())>1): ?>
    
<ul id="nav">
    <!-- 
additionnal menu  -->
        <
li><a href="<?php echo $this->getURL()."blog" ?>"><span>Blog</span></a></li>
    <!-- 
end additionnal menu -->
    
<?php foreach ($this->getStoreCategories() as $_category): ?>
        <?php 
echo $this->drawItem($_category?>
    <?php 
endforeach ?>
    
</ul>
<?php //endif; ?>

Add the line between the comments and replace “blog” with “about-magento-demo-store”

Hope that’s what you were looking for wink

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top