Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Add on fields News hack?
  • Posted: 28.08.2003, 19:27
     
    nolimit966
    rank:
    Softmore Softmore
    registered:
     April 2003
    Status:
    offline
    last visit:
    13.05.04
    Posts:
    85
    Hello,
    Is there some sort of a news hack around that allows you to add custom fields within news?
    Like the standard news has 2 boxes -(one the snippet and one the full story) Is there a hack to add extra boxes for more items of news that could appear somewere else on the page within the full story?

    So i could add pictures that would all appear in the same section of the news page without me having to copy, paste or link them all and alighn them.
    Thaks for your help
  • Posted: 28.08.2003, 22:01
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    offline
    last visit:
    02.12.08
    Posts:
    13418
    well, there is no hack that does this, nor would I reccomend it if there was. It makes upgrading virtually impossible = not a good thing.

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • Posted: 28.08.2003, 22:05
     
    nolimit966
    rank:
    Softmore Softmore
    registered:
     April 2003
    Status:
    offline
    last visit:
    13.05.04
    Posts:
    85
    But coranto news script has a add on field feature which works great when upgrading?!
    Coranto is just far to customisable which can get extremley confusing though.
    So there isnt a way too add extra fields into the news posting?
  • Posted: 28.08.2003, 22:09
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    offline
    last visit:
    02.12.08
    Posts:
    13418
    when you upgrade, you overwrite the old files with the new files and new code - therefore any changes you make to the old file get lost. So, when you upgrade any changes you make to the news module would have to be re-implemented.

    You can do it, but you would have to hack the news module, and hacks of core things are not advisable.

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • Posted: 28.08.2003, 22:11
     
    nolimit966
    rank:
    Softmore Softmore
    registered:
     April 2003
    Status:
    offline
    last visit:
    13.05.04
    Posts:
    85
    ok thanks - The additional news fields was a part of the core of corantos script thats probably why you could upgrade ok
  • Posted: 28.08.2003, 22:14
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    offline
    last visit:
    02.12.08
    Posts:
    13418
    I expect that adding extras to the news module would be possible through hooks (which would mean that upgrading would not be a problem as core code isnt modified), but Im not a coder so I dont know. One thing I do know is that there isnt a module to do this :)

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula