开发者

Magento loop through pages

I found enough documenatation about how to loop through all available categories in Magento, only the thing i want is to loop trough available pages in Magento to include them in my global navigation.

So im asking you guys, someone knows how to do this? I imagine myself it should look something like this

fo开发者_运维问答reach ($this->getPages() as $page) {
    echo '<li><a href="'.$page->getUrl().'">'.$page->getName().'</a></li>';
}

Your help is appreciated


Check this out - Magento static pages menu

And this - http://www.magentocommerce.com/boards/viewthread/12462/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜