Google Custom search Engine Integration Into “AW_Blog community edition”

Google Custom search Engine Integration Into “AW_Blog community edition” Magento store.

Very popular extension from Ahead Works, but without search Blog functionality.
Make your blog more usable and userfriendly for visitors and customers by adding
there search functionality.
Useing commercial Search Engine from Google, will increase SEO of yours website
in world biggest Search Engine – Google.com

Buy Our Extension!

1. Create Custom Search at google.com/cse, as described in post “Google Custom search Engine Integration Into Magento store.“,
Write in field “Sites to search” your url like http://www.yoursite.com/{path_to_your_blog}/ where {path_to_your_blog} folder where exists your blog eg. “news”, “blog” etc.;

2. Find files app/design/frontend/default/default/templates/aw_blog/blog.phtml and
app/design/frontend/default/default/templates/aw_blog/post.phtml

Add code at begining of files:

<?php $action_url = Mage::getUrl(‘gsearch’); ?>
<form action=”<?php echo $action_url; ?>” method=”get”>
<table>
<tr>
<td>
<input type=”text” name=”q” >
</td>
<td>
<input type=”submit” value=”<?php echo $this->__(‘Search Blog’) ?>” />
</td>
</tr>
</table>
</form>

Visit Our Demo

Tags: , ,

Tuesday, July 12th, 2011 Magento Development

1 Comment to Google Custom search Engine Integration Into “AW_Blog community edition”

  • Hope this works well. Its interesting as well.

  • Leave a Reply