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

Dizkus

Bottom
Letting users pick what displays on their home page.
  • Posted: 22.02.2008, 21:22
     
    enchanted_illusions
    rank:
    Softmore Softmore
    registered:
     January 2008
    Status:
    offline
    last visit:
    14.11.08
    Posts:
    53
    Is there a way to let users choose what displays on the index page when they browse to the site/login? For instance, I would like my users to be able to choose to display articles from only certain news topics on their home page, or perhaps events they have added to their calendar.
  • Posted: 23.02.2008, 02:36
     
    kaffeeringe.de
    rank:
    Professional Professional
    registered:
     September 2002
    Status:
    offline
    last visit:
    19.11.08
    Posts:
    879
    mmmh. There is no read-made solution for that, but I think it could be achievable with not too much effort - but a bit coding skills.

    I suggest you use .8RC3 as basis for your work. There you can define custom Drop-Downs within the user profile. Define one with all the options for the frontpage. Next thing you have to work on your home.htm - pnusergetvar fetches the value that is selected in the dropdown for the active user according to that setting you can call the news module: Instead of using

    Code

    <!--[maincontent]-->
    you call the news module directly - I don't know the exact call but it could be something like

    Code

    <!--[pnmodfunc modname="news" func="main" topic="foobar" ]-->


    Do you get the idea? Do you think you can do some customizing in templates? Then start to work and ask when you have problems.

    --
    best regards from Kiel, sailing city

    Steffen Voss

    Member of the PostNuke Steering Committee
    Read The Zikulan's Blog

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula