Difference between revisions of "noMoreSpam! Quickstart"
Jump to navigation
Jump to search
m |
m |
||
Line 23: | Line 23: | ||
#:{{folder|app/design/frontend/ *YOUR THEME FOLDER* /default/layout/moogento/nomorespam.xml}} | #:{{folder|app/design/frontend/ *YOUR THEME FOLDER* /default/layout/moogento/nomorespam.xml}} | ||
# In: {{folder|app/design/frontend/default/ *YOUR THEME FOLDER* /layout/local.xml}} | # In: {{folder|app/design/frontend/default/ *YOUR THEME FOLDER* /layout/local.xml}} | ||
− | #:look for | + | #:look for <code><reference name="tabreviews"></code> |
#:and add this before the end of the block: <nowiki><block type="nomorespam/nomorespam" name="nomorespam_review" as="nomorespam_review" template="moogento/nomorespam/nomorespam_review.phtml" /></nowiki> | #:and add this before the end of the block: <nowiki><block type="nomorespam/nomorespam" name="nomorespam_review" as="nomorespam_review" template="moogento/nomorespam/nomorespam_review.phtml" /></nowiki> | ||
# In: {{folder|app/design/frontend/default/ *YOUR THEME FOLDER* /template/review/product/view/list.phtml}} | # In: {{folder|app/design/frontend/default/ *YOUR THEME FOLDER* /template/review/product/view/list.phtml}} | ||
#: change from <code><?php echo $this->getChildHtml('review_form') ?></code> to | #: change from <code><?php echo $this->getChildHtml('review_form') ?></code> to | ||
− | #:<code><?php echo $this->getChildHtml('review_form') ?> | + | #:<code><?php echo $this->getChildHtml('review_form') ?></code> |
− | #:<?php echo $this->getChildHtml('nomorespam_review') ?></code> | + | #:<code><?php echo $this->getChildHtml('nomorespam_review') ?></code> |
Revision as of 08:39, 26 October 2014
Aims & Preparation
Short on time? We'll install this for you as part of our Installation & Setup Service
Magento has some basic spam protection built in, but it doesn't evolve - spammers have worked out Magento's system and you probably already have spam Product Reviews and occasional floods of spam contact form submissions.
NoMoreSpam! has a zero-config setup, which will automatically block automated spam from your Contact Form and Product Review pages.
There's no need to use annoying Captcha fields (does anyone not find those really 'nail-down-blackboard' annoying?!), it just works.
- If you haven't installed it yet, follow the Easy Install Guide to get NoMoreSpam! running.
- NoMoreSpam! works great with Magento 1.4x and later.
Double-check it works
- Send a message from your Contact Form.
- Add a product review.
- Check that both arrive where they should...
Working With Custom Themes
The Product Review and Contact Form spam checks need some quick edits if you have a custom theme for those pages. But, it's an easy change!
- Copy app/design/frontend/base/default/layout/moogento/nomorespam.xml
- to
- app/design/frontend/ *YOUR THEME FOLDER* /default/layout/moogento/nomorespam.xml
- In: app/design/frontend/default/ *YOUR THEME FOLDER* /layout/local.xml
- look for
<reference name="tabreviews">
- and add this before the end of the block: <block type="nomorespam/nomorespam" name="nomorespam_review" as="nomorespam_review" template="moogento/nomorespam/nomorespam_review.phtml" />
- look for
- In: app/design/frontend/default/ *YOUR THEME FOLDER* /template/review/product/view/list.phtml
- change from
<?php echo $this->getChildHtml('review_form') ?>
to <?php echo $this->getChildHtml('review_form') ?>
<?php echo $this->getChildHtml('nomorespam_review') ?>
- change from