Troubleshooting

Why is my blog double posting entries?

Scenario:
"I don't know why but each time an entry is posted to my blog it shows up twice! I have looked through the code and can't seem to figure out what the problem is."

Solution:
Check the template of the current skin you are using only contains the variable <%body%< once.

Click on "Templates" in your Nucleus Admin Area navigation menu on the left. You will then see this screen:

Click on the "Edit" link next to your template to edit it.

In our example, we will use the default skin. The items posted on the Main Index page by the default skin uses the template default/index. Click on the "Edit" link next to the template default/index to edit it.

Check that <%body%< only appears once. If it appears twice, like the incorrect example below, you need to delete one of the <%body%< variables:

This is an example of an INCORRECT template.

Your template should only have <%body%< appearing once, like the correct example below:

A correct template showing &lt;%body%&gt; only ONCE.

Original forum thread (thanks, ftruscot!):
http://forum.nucleuscms.org/viewtopic.php?t=13281

section: Troubleshooting | submitted by Leng on 2007.Jan.15 | 1300 views

item rate
This answer was not rated yet.

Please tell us how useful this answer was to you (0 = useless, 10 = very very helpful):

10