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: [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: [chris] Help with Category Articles not showing

By design9 - August 17, 2010

Update:
I have tested this further an the issue is when you open an article and remove some of the tagged categories and then select some new ones and hit save. When you go back into the article, the previously tagged articles are back (the ones you unselected) and it does not save what you selected.

Thanks!

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/