Fork me on GitHub

News at FrontPage..  Bottom

  • Using RC03 PN.08
    Start page site = News
    Num. artcl in new frntpage = 1
    Num. artcl in News index = 25

    What I want to do is;

    Just showing only ONE latest article at startpage, but when I setting it like above, it display also ONE news at "index.php?module=News" and "index.php?module=News&func=view&cat=10001"

    Maybe.. I need creat news_user_FRONTP.htm ? Dont know how..
  • Hi viking,

    it's confusing to say the least. The storyhome param (# articles on frontpage) is only used in determining the nr of items to display. There is no seperation of frontpage or plain news display. That's also not really easy, cause in pnuser there is no seperate method for the frontpage display.

    Only code that uses the parameter in pnuser.php:

    Code

    $itemsperpage = (int)FormUtil::getPassedValue('itemsperpage', isset($args['itemsperpage']) ? $args['itemsperpage'] : $modvars['storyhome'], 'GET');


    BTW I'm working on a feature story block that will display just one article in a block. Alongside the extended story title block. They will in the end be part of the News value addons (after release of 0.8 final). Would that help in this case. A content plugin is also planned off course, just like it is there already in SVN for the extended story title block.

    --
    campertoday.nl, Module development, Dutch Zikula Community
  • Thanks aspaan.. glad to know it..

    Maybe, better to make your block as a Module, not just a block.. I mean StoriseXT Module? I`ll make it as my starting page.. icon_cool
  • Hey viking!
    The Blank module is cool for that cases.
    You can set it as the 'homepage module' and put the Erik's Extended Stories Block in the center position configured as you want! icon_cool

    You can have only blocks in your homepage with the Blank module in charge!

    --
    - Mateo T. -
    Mis principios... son mis fines

This list is based on users active over the last 60 minutes.