Changing Articles

Feed 2 posts, 2 voices

Aug 12, 2008 20:44
Avatar
2 posts

I'm trying to change Articles to news. I'm having a few problems with the "Archives By Month" part . What do I need to do to have the months work on another tab. I tried to copy over all the code from Articles and changed to news. What do I have to do?

And thanks for the help from whoever helps me!

 
Aug 13, 2008 04:39
Avatar
820 posts

Hi Dustin – If you’re working with a default installation, then you can change “Articles” to “News” by following these four steps. Open up your admin to the page view, then:

  1. Open the “Articles” page and change the name of the page to “News”.
  2. Click on its sidebar tab, change <?php $article = $this->find('articles'); ?> to <?php $article = $this->find('news'); ?>. Save.
  3. Open Homepage; in line 1 change $this->find('/articles/') to $this->find('/news/').
  4. Click on its sidebar tab, under the “Recent Entries” heading (h3), the next line is <?php $page_article = $this->find('/articles/'); ?>; change it to <?php $page_article = $this->find('/news/'); ?>. Save.

That should be you done!

If you have tried to recreate the Articles in a new “News” page/subpages, then make sure that all the “page types” (set underneath the content edit area in the page view) are set the same as they were in the Articles page/subpages.

Hope that helps! Let us know how you get on.

 
Aug 13, 2008 18:02
Avatar
2 posts

Works GREAT!! Thanks a lot!!!