How to edit/change contact page form in magento
Wow after few searches i found the solution so, i didn't get that much headache at this time. This is how i changed my contacts page form in magento.
Step 1:
Change the contact form located at:
NOTE: The code available is same as the code used for this site at the time of release.
Codefight CMS is based on Codeigniter PHP Framework which is very easy to learn.
It would be nice to hear back some feedback. Also you can contribute with code and helping translating language files in your language.
You can use this CMS in anyway you want. You can modify as you like and use commercially for free.
Wow after few searches i found the solution so, i didn't get that much headache at this time. This is how i changed my contacts page form in magento.
Change the contact form located at:
How does TAG cloud works in Codefight CMS?
In admin when creating page, if tags are set split tags separated with commas. Then clean up every tag for tag-key as $tag. Then insert the tags into tag clouds table.
CODE:
<?php
if(isset($pages_tags))
{
$pages_tags = split(',',$pages_tags);
if(is_array($pages_tags) && count($pages_tags) > 0) foreach($pages_tags as $v)
{
//clean tag
$tag = $this->data_model->link_clean($v);
//add|increment tag count
$this->data_model->tag_cloud_add($tag, 'page', $v);
//insert tags to tags table
$this->db->insert('pages_tags', array('pages_id' => $page_id, 'tags' => $tag));
}
}
?>
Lately I Am Addicted To twitter and Facebook.
I was trying to avoid these top social media sites because i knew if i get into them i'll be buried unknowingly. I was getting so many invites in my email to join them referred by my friends. Then i wanted to give it a go and joined them. Then i started to be involved with them more and more.
With the twitter i tried to gain some followers on the first few days then i totally stopped it. Then again after few months i became more involved and started to watch the followers list grow & grow and follow back them plus follow the ones suggested by twitter. So when i am writing this i am following 1280 twitterers and my followers counts 731. When it crossed 500 it felt so good and waiting to see how i'll feel when it crosses 1000 and thats not too far away if i am actively participating in the tweets.