ProsePoint Express: hosted newspaper website content management software

Channel Description in PHP

  • strict warning: Non-static method view::load() should not be called statically in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/views.module on line 879.
  • strict warning: Declaration of views_handler_argument::init() should be compatible with views_handler::init(&$view, $options) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/handlers/views_handler_argument.inc on line 0.
  • strict warning: Declaration of views_handler_filter::options_validate() should be compatible with views_handler::options_validate($form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/handlers/views_handler_filter.inc on line 0.
  • strict warning: Declaration of views_handler_filter::options_submit() should be compatible with views_handler::options_submit($form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/handlers/views_handler_filter.inc on line 0.
  • strict warning: Declaration of views_handler_filter_node_status::operator_form() should be compatible with views_handler_filter::operator_form(&$form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/modules/node/views_handler_filter_node_status.inc on line 0.
  • strict warning: Non-static method view::load() should not be called statically in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/views.module on line 879.
  • strict warning: Declaration of views_handler_filter_boolean_operator::value_validate() should be compatible with views_handler_filter::value_validate($form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/handlers/views_handler_filter_boolean_operator.inc on line 0.
  • strict warning: Declaration of date_api_filter_handler::value_validate() should be compatible with views_handler_filter::value_validate($form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/date/includes/date_api_filter_handler.inc on line 0.
  • strict warning: Non-static method view::load() should not be called statically in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/views.module on line 879.
  • strict warning: Declaration of views_plugin_row::options_validate() should be compatible with views_plugin::options_validate(&$form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/plugins/views_plugin_row.inc on line 0.
  • strict warning: Declaration of views_plugin_row::options_submit() should be compatible with views_plugin::options_submit(&$form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/plugins/views_plugin_row.inc on line 0.
2 replies [Last post]
zarrar
zarrar's picture
User offline. Last seen 3 years 39 weeks ago. Offline
Joined: 10/03/2009
Posts:

Perhaps over the last many days, I have run around in circles trying to circumvent the issue of the 'channel' not having a description box that uses the PHP filter.  From trying to create new content types, to using edtions, changing views, and much more in an attemtp to create a workable solution where an area exists at the top of channels decribing the channel in more than just plain text.  This requires the ability to use iFrames, at the very least.

It is my deepest wish, for the wish list,  that a channel description be implemented utilizing the PHP filter.  This allows much greater visual appeal to a channel without going into creating and maintaining editions. This is especialy useful for sites with a large number of user submitted 'stories' and content.

Currently I have about 700 or so channels, and creating an edition for each, and then actually maintaining it when a new story comes in is rather hairy.  Therefore the better alternative is to use the reverse chronological story listing for a channel, with a visually engaging display at the top of the lists that is without a teaser, or link.  Just a plain display area capable of handling PHP.

Here is something I found:

<?php
if (arg(0) == 'taxonomy' && arg(1) == 'term' &&

is_numeric(arg(2))) {
$tid = (int)arg(2);
$term = taxonomy_get_term($tid);
print (filter_xss_admin($term->description));
}
?>



http://www.norio.be/blog/2008/10/displaying-taxonomy-term-description-to...

Thanks for great piece of publishing genius.

__________________

Zarrar Sheikh Media Developer New York, NY

beng
User offline. Last seen 4 years 31 weeks ago. Offline
Joined: 27/02/2009
Posts:
I've noted this (PHP for a

I've noted this (PHP for a channel description) as a feature request and will see what I can do. However, I make no promises on a time frame for its implementation, partially because it seems of limited applicability, partially because we have other more pressing matters.

However, if you absolutely need this, and need this urgently, please consider sponsoring this work.

trilce
User offline. Last seen 8 years 19 weeks ago. Offline
Joined: 03/08/2009
Posts:
help! What is a channel description?

Hello to everyone!

Can anyone explain me in a few words what is a "channel description" in a - I want to create traffic for my website and I want to upload videos in the net- context?

Would be very much appreciated :)

 

Thanks!!