Help with Category Articles not showing

6 posts by 3 authors in: Forums > CMS Builder
Last Post: August 18, 2010   (RSS)

By design9 - August 9, 2010

Hello,
I am having issues with one of my article pages that has some special programming. On all of my article pages, I have special coding that displays all articles that have been tagged in the backend for a specific category. It works on all my pages except for my guides category. The coding is correct so I cannot figure out why it is not appearing on these specific topic pages. The category is under Guides: Baby Guide. Here is my coding on the page that indicates to pull the baby guide articles that are tagged:
list($allarticlesRecords, $articlesMetaData) = getRecords(array(
'tableName' => 'articles',
'where' => " category LIKE '%\tBaby Guide\t%' ",
));

However, the articles do not appear for this category. I have also attached the page as well. I can also provide my CMS info if needed to see category set-up, etc. All my other pages with this coding work fine.

Here is the url of a page that works:
http://www.charlotteparent.com/test/lifestyle/greenliving/greenarticles.php

Here is the url of the baby guide page where it is not working:
http://www.charlotteparent.com/test/publications/babyguide/babyguidearticles.php


April
Attachments:

babyguidearticles.php 45K

Re: [apdance9] Help with Category Articles not showing

By Chris - August 9, 2010

Hi April,

Have you changed the name of your Baby Guide category since you've last saved those records? Since you're storing the names of the categories instead of their nums, this can be a problem. Try modifying one of your Baby Guide articles and making sure that it does have the Baby Guide category selected, then save it.

If this doesn't help, could you submit a [url http://www.interactivetools.com/support/]2nd Level Support Request[/url] with FTP details and a link to this post (and my name in the comments section?) I'll be happy to help you figure this one out.
All the best,
Chris

Re: [chris] Help with Category Articles not showing

By design9 - August 16, 2010

Chris,
Somehow, I figured out the baby guide category and got this working.

The issue we are having now is with our other two sites and the same articles section. When you go into the CMS backend, and go to the articles section, I have a dropdown box where users can multi-select a category for the article to be tagged in. The issue we are having here is that (lets say you have baby guide, pregnancy, teens, health and family as the choices in the category box) when the user chooses two categories to put the article under, ex: teens and family, it will look fine and you can save it but when you go back to the article after saving, it has selected all categories instead of only the two the user previously selected. You may need to actually go into our CMS backend to look at this one and I can send you my CMS information or whatever you may need.

Thanks!
April

Re: [apdance9] Help with Category Articles not showing

By Chris - August 16, 2010

Hi April,

Oh wow, yes. I think we're going to need to look at your CMS Admin. Please fill out a [url http://www.interactivetools.com/support/]2nd Level Support Request[/url] with your CMS Builder login details and a link to this forum thread in the comments. We'll get right on this.
All the best,
Chris

Re: [apdance9] Help with Category Articles not showing

By Jason - August 18, 2010

Hi April,

I took a look at this, and was unable to replicate the problem you described. Could you give me an example of a specific article where you're experiencing this problem?

thanks.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/