ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Weblog Description Field

March 28, 2009 9:50pm

Subscribe [2]
  • #1 / Mar 28, 2009 9:50pm

    tulkul

    45 posts

    Admin› Weblog Administration›  Weblog Management› Edit Weblog Preferences

    How can I (or is it possible to) change the weblog description field so that I can include more text including somee hard-coded hyperlinks.

    Alternatively .. can I add another field to this page (and if so, how)

    I guess I’m looking for a text-area rather than just a limited text input.

    What I want to do is use this field to provide a short introduction (with some basic hyperlinks) to each ‘channel’ in a multi-channel site in such a way as it can appear in the narrow (navigation) column as an intro to the page that is being viewed.

    I can already do this with the categories, but being able to do it with the channel can provide me with another (root) level of introduction

    My reasoning is that this should be less resource intensive than setting up a specific embedded global template just to do this.

    Christopher Wynter

  • #2 / Mar 29, 2009 8:40am

    sfgolfer

    41 posts

    A possible reference to the form fields could be in this file: cp.publish_ad.php in the cp directory.

    Line 1190 blog description
    Line 5259 cat_description

    Notice that each field is “formed” differently.  Also, both are setup differently in the database:

    cat_description is a TEXT field
    blog_description is limited to 255 characters

    I suppose you can play around with the code to achieve your desired result.  Personally I would save the effort and not touch the core code at all and stick to the tools that EE provides, including the global variable method you mentioned.

    You could either put html code in the Weblog Description field up to 255 characters or if that’s not enough then use a global variable.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases