English 中文(简体)
TopLinks在Magento被剥夺
原标题:TopLinks getting stripped in Magento
  • 时间:2012-04-10 04:04:54
  •  标签:
  • magento

我使用的是经过修改的<代码>空白_seo。 Magento与ES_ES 语文包的主题。

看来,<代码>topLinks栏块正在删掉案文,从而留下有意义的信息。 在这种情况下,我图表中的文章数量如下:

notice the (rtículos) that should have something like (4 artículos)

“entergraph

This comes from the frontend/default/blank_seo/template/page/template/links.phtml template file.

“enterography

:

<?php $_links = $this->getLinks(); ?>
<?php if(count($_links)>0): ?>
<ul class="links"<?php if($this->getName()): ?> id="<?php echo $this->getName() ?>"<?php endif;?>>
    <?php foreach($_links as $_link): ?>
    <li<?php if($_link->getIsFirst()||$_link->getIsLast()): ?> class="<?php if($_link->getIsFirst()): ?>first<?php endif; ?><?php if($_link->getIsLast()): ?> last<?php endif; ?>"<?php endif; ?> <?php echo $_link->getLiParams() ?>><?php echo $_link->getBeforeText() ?><a rel="nofollow" href="<?php echo $_link->getUrl() ?>" title="<?php echo $_link->getTitle() ?>" <?php echo $_link->getAParams() ?>><?php echo $_link->getLabel() ?></a><?php echo $_link->getAfterText() ?></li>
<?php endforeach; ?>

因此,我的第一次扣减是,$_link->getLabel()正在压缩案文(因此,$_link->getTitle()。

So the first question is how to disable the stripping of strings in getLabel()?

但是,这或许不会发生,而另外一件事情会发生,从而逃避我的理解(或许与语言包有关)

在这种情况下,我想知道,有人是否用西班牙语包裹进入了这套节目?

感谢

最佳回答

in the translation csv file (app/locale/es_ES/Mage_Checkout.csv), check that the translation string is correct, it should be: "My Cart (%s items)","Mi carrito (%s artículos)".
I have checked that it is correct in the language package, where did you get your translation? (I m just asking to notify the author)

问题回答

暂无回答




相关问题
Magento addFieldToFilter allow NULLs

When using the Magento collection method addFieldToFilter is it possible to allow filtering by NULL values? I want to select all the products in a collection that have a custom attribute even if no ...

Get product link from Magento API

I am new to Magento and using their API. I need to be able to get the product url from the API call. I see that I can access the url_key and url_path, but unfortunately that s not necessarily what ...

magento extension installation

I want to install a Magento extension in WAMP, but not from the Magento connect system. How can I do this? I have the module (extension) code and I already installed the sample data in the Magento ...

Link to a specific step in onepage checkout

Is it possible to redirect the browser to nth step in the onepage checkout? If so, how would one go about doing it? I m working on a payment module and have a sort of "cancel" action that i would ...

How do I filter a collection by a YesNo type attribute?

I have a ‘featured’ attribute, which has a Yes/No select-list as the admin input. I presume that the values for Yes and No are 1 and 0, as they are for every other Yes/No list. However, if I try and ...

热门标签