Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: Article Manager 2:
Only One Category

 

 


jferry
User

Dec 12, 2006, 5:19 PM

Post #1 of 3 (200 views)
Shortcut
Only One Category Can't Post

Hello,

Suppose we only have one category. Can I hide the drop down field and make it default to my one category?

jferry


ross
Staff / Moderator


Dec 13, 2006, 2:16 PM

Post #2 of 3 (190 views)
Shortcut
Re: [jferry] Only One Category [In reply to] Can't Post

Hi again Smile.

You can definitely hide that category list. There are a couple things you'll need to do though so I'll walk you through it.

First, log into Article Manager and go to Categories. You are going to need to know the number of your one category. That's done by clicking on that category's modify link and looking in the URL. You'll see something like this:

/admin.cgi?action=categoryEdit&num=16

That 16 at the end is your category number. Make a note of this.

The next step will be to click back to Admin and then onto Database Editor. From there, click on "edit table & fields" for your articles table.

Because the category field is a system field, you need to enable system field editing. If you haven't done that already, just look for the little drop down below the main table there (Advanced Commands...). It's an option in there.

Once you have system field editing enabled, click modify for categoryNum and make the following changes:


Field Type => text field
Field Attributes => check off Hidden

Default Value => the category number you just made note of

Custom Field HTML =>

<input name="categoryNum" id="categoryNum" type="hidden" value=16>

And that's it. Make sure the 16 in that line of code above is changed to your category number. Save this page and you are done.

When you go back to create or modify an article, there will be no category menu and the article will automatically be set to your one category.

Does that all make sense? Give it a shot and let me know how you make out Smile.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Product Specialist
support@interactivetools.com


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.




jferry
User

Jan 5, 2007, 7:45 PM

Post #3 of 3 (165 views)
Shortcut
Re: [ross] Only One Category [In reply to] Can't Post

Ross,

Once again you've come through perfectly. That did it.

Thanks,

jferry

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4