vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced Dynamics > Feedback & Suggestions

Reply
 
Thread Tools Display Modes
  #1  
Old 10-10-2007, 03:50 AM
tfw2005 tfw2005 is offline
Senior Member
 
Join Date: Aug 2004
Posts: 352
Default Category Custom Fields/Variables?

This is not a necessary situation, but just a thought.

I would like a situation where you can apply a variable to each category, similar to a customfield text entry area. This would be available to enter on the create/edit category pages for each one.

Then, this variable is available to call into modules, header/footer/pages of browsecategory and showentry pages.

Basically, I would like to have modules display wide ranging content based on the specific category you are viewing. Such as an RSS feed block on the category sidebar, or "more around the site for this topic" on the showentry page, without having to code if statements for all the cats.

I can just put "http://yahoo.com/feed.xml?topic=$variable" in my module, and it will pull the right feed from the desired site. So if my category is about Politics, it pulls Yahoo's Politics feed onto the sidebar. Because I entered the proper variable in their otherwise similarly-formatted RSS URLs (http://yahoo.com/feed.xml?topic=Politics). I have the RSS parser and coding to work for that already. Or folks can use javascript from the external site if they offer it, one would just need a specific variable in the code for most situations.

For showentry, non-RSS situations, a template variable would be nice, like "show adv_dyna_module_morearound_$variable" - Variable being specific to that category. And I custom code HTML links to other areas of the site about that topic. Forums, Gallery, Articles, etc.

Similar to how you can choose to only show other entries from the sub-cat you are in with the new/random module, but more open so that you can create as many different types of custom modules based on cats as you want.
Reply With Quote
  #2  
Old 10-10-2007, 01:14 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Category Custom Fields/Variables?

Honestly, I don't think that's something that would be used enough to really warrant adding it to the default files. You could always add a new column to the adv_dyna_categories table though and alter the admin files a bit to add a new input field to allow you to change the value of that column.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom fields attroll Feedback & Suggestions 10 01-17-2008 01:20 AM
Add Category Name to search fields? ludachris "How Do I..." Questions 1 08-30-2007 10:13 AM
Global variables - How do I capture vB data in custom CMPS scripts? Quarterbore "How Do I..." Questions 10 06-24-2006 04:53 PM
How do i create a custom page that will search a custom table/fields in the DB Devices "How Do I..." Questions 2 07-10-2005 04:37 PM
[REQ] Custom fields by category? bezzell Modifications 2 02-06-2005 09:58 PM


All times are GMT -4. The time now is 04:15 PM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.