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..
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
News at FrontPage..
-
- Rank: Registered User
- Registered: Dec 31, 1969
- Last visit: Jan 23, 2010
- Posts: 45
-
- Rank: Developer
- Registered: Aug 23, 2003
- Last visit: May 31, 2010
- Posts: 1428
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 -
- Rank: Registered User
- Registered: Dec 31, 1969
- Last visit: Jan 23, 2010
- Posts: 45
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..
-
- Rank: Team Member
- Registered: Sep 06, 2006
- Last visit: May 09, 2010
- Posts: 2446
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!
You can have only blocks in your homepage with the Blank module in charge!
--
- Mateo T. -
Mis principios... son mis fines
- Moderated by:
- Support
