drsdvwsvo78320812 2016-06-29 06:51
浏览 10

magento 1.8 auto check订阅时事通讯

YES i know this topic has been covered, however, out of the 6 different options/posts/tutorials, none of them have worked for me.

I just need to change the "Signup for newsletter" text to something better like "Get Receipt and notifications" AND make it CHECKED to on.

NOW, the problem is, i have followed 6 tutorials, and none of them work.

NOTHING i change on the file affects magento. I even purposely deleted 3/4 of the page and put in a bunch of keyboard slop and DESTROYED the file, uploaded it, and it did not a D#&$ thing!!! NOTHING affects this file!

As you can see i'm way WAY more than frustrated.

I've even tried clearing the caches.


the LAST one i did, said to change THIS:

<li class="control">

                    <div class="input-box">

                        <input type="checkbox" name="is_subscribed" title="<?php echo $this->__('Sign Up for Newsletter') ?>" value="1" id="is_subscribed"<?php if($this->getFormData()->getIsSubscribed()): ?> checked="checked"<?php endif; ?> class="checkbox" />

                    </div>

                    <label for="is_subscribed"><?php echo $this->__('Sign Up for Newsletter') ?></label>

                </li>

TO THIS:

<input type="hidden" name="success_url" value="<?php echo $this->getSuccessUrl() ?>" />
<input type="hidden" name="error_url" value="<?php echo $this->getErrorUrl() ?>" />
<input type="hidden" name="is_subscribed" value="1" id="is_subscribed"  />

and save it....

The file i am working with is

/public_html/app/design/frontend/galaeva/default/template/customer/form

anyone please??????

</div>
  • 写回答

1条回答 默认 最新

  • dongzhisang5342 2016-06-29 08:27
    关注

    If you have Mage_Persistent module enabled and Persistence is enabled from:

    System >> Configuration >> Persistent Shopping Cart >> Enable Persistence
    

    then file which is called for customer registration, login etc will be called from:

    app\design\frontend\\\template\persistent\customer\form folder.

    Please check whether this is in your case or not.

    评论

报告相同问题?

悬赏问题

  • ¥15 远程桌面文档内容复制粘贴,格式会变化
  • ¥15 关于#java#的问题:找一份能快速看完mooc视频的代码
  • ¥15 这种微信登录授权 谁可以做啊
  • ¥15 请问我该如何添加自己的数据去运行蚁群算法代码
  • ¥20 用HslCommunication 连接欧姆龙 plc有时会连接失败。报异常为“未知错误”
  • ¥15 网络设备配置与管理这个该怎么弄
  • ¥20 机器学习能否像多层线性模型一样处理嵌套数据
  • ¥20 西门子S7-Graph,S7-300,梯形图
  • ¥50 用易语言http 访问不了网页
  • ¥50 safari浏览器fetch提交数据后数据丢失问题