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

Dizkus

Bottom
Adding options to Submit News
  • Posted: 06.11.2003, 21:34
     
    Techdaily
    rank:
    Registered User Registered User
    registered:
     November 2003
    Status:
    offline
    last visit:
    06.11.03
    Posts:
    1
    How hard would it be to add in the stories block for it to print the license (freeware/shareware) on the bottom left of each news submission? I have modified the /submit_news/index.php to have the option, but now I'm stuck. I know that the admin.php file in the /modules/NS_AddStory has to be changed too, but it's beyond my ability. Any guidance would be greatly appreciated.

    I have added the columns in the databases needed and added any entries to the pntables.php file.


    Don
    http://www.techdaily.ws
  • Posted: 09.11.2003, 22:41
     
    nate_02631
    rank:
    Professional Professional
    registered:
     September 2003
    Status:
    offline
    last visit:
    11.04.08
    Posts:
    3055
    Hi Techdaily,

    If you've got it so the add story/submit news collects and stores the data, it sounds to me like you just need to edit the theme of your website. Assuming your "liscence" info is passed to the theme with in the $info array, you just need to echo it in the themeindex() or themearticle() sections of your theme where appropriate. You might have to look at the "News" module though to get it to pass the data...

    --
    Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods

    Cape Cod Travel Info...

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula