In Admin Panel I can choose with what module I want Zikula begins... Almost everyone begins with news module, but I'm beggining with Addressbook...
What could I do to start with Addressbook and News modules?
--
Together We Are More Than Winners
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- rgasch created topic »Using PageUtil::addVar() to load script code« 11:48 AM
- 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
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
Start Page with more than one module
-
- Rank: Registered User
- Registered: Aug 12, 2003
- Last visit: Oct 21, 2009
- Posts: 46
-
- Rank: Moderator
- Registered: Mar 15, 2005
- Last visit: May 30, 2010
- Posts: 1077
edit your themes home.htm file with a module call specific to the module you want.
You can also use a block on the page with a block specific call:
Code
<!--[pnblockshow module="AddressBook" blockname="whatever" block="12"]--> -
- Rank: Registered User
- Registered: Aug 12, 2003
- Last visit: Oct 21, 2009
- Posts: 46
The problem is that this module doesn't have blocks, so I was thinking about to start it inside the
Code
<!--[$maincontent]-->
if it is possible, of course...
thanks for all repply
--
Together We Are More Than Winners -
- Rank: Developer
- Registered: Dec 31, 1969
- Last visit: Jun 01, 2010
- Posts: 6859
A couple ways I can think of to accomplish this.
1. Custom Template for the theme, replacing the maincontent tag with two calls to the two modules with the appropriate code.
2. Content, which is a very flexible module that probably could replace the whole blocks system.
3. SimpleTemplates http://code.zikula.org/simpletemplates/
edited by: HalbrookTech, Aug 17, 2009 - 08:41 AM
--
Home Page | Find on Facebook | Follow on Twitter
-
- Rank: Registered User
- Registered: Aug 12, 2003
- Last visit: Oct 21, 2009
- Posts: 46
I tried with Content... really it is very complet, but I use very javascript and it appears be in conflict with Userpicture and Scribite
Other options you have said I didn't understand very well, I could put the news in blocks but they don't show titles and resumed text, only title... The fact is that I've done so many things to integrate this site that I,m feeling really tired, and my brain is not helping me... Sometimes the solution is so near, but I'm not getting good results.
--
Together We Are More Than Winners -
- Rank: Developer
- Registered: Jun 16, 2003
- Last visit: May 29, 2010
- Posts: 1966
Quote
edit your themes home.htm file with a module call specific to the module you want.
could you give an example of how to do this? -
- Rank: Developer
- Registered: Dec 31, 1969
- Last visit: Jun 01, 2010
- Posts: 6859
Disclaimer, I haven't actually tried this, but it was indicated as a solution to this issue before
Code
<!--[pnmodfunc modname="Name" type="user" func="main"]-->
--
Home Page | Find on Facebook | Follow on Twitter
-
- Rank: Moderator
- Registered: Mar 15, 2005
- Last visit: May 30, 2010
- Posts: 1077
I had to haxor a page for a very similar reason once. I don't remember how. I need to dig. -
- Rank: Registered User
- Registered: Aug 12, 2003
- Last visit: Oct 21, 2009
- Posts: 46
Thank you HalbrookTech,
I tried your solution and it worked very well. God bless you!!!
--
Together We Are More Than Winners -
- Rank: Developer
- Registered: Dec 31, 1969
- Last visit: Jun 01, 2010
- Posts: 6859
I'm rapidly learning ways to bend Zikula to my will on the display side. I really need to get busy with my under-the-hood work.
--
Home Page | Find on Facebook | Follow on Twitter
-
**unknown user**
- Rank: Helper
- Registered: Mar 16, 2002
- Last visit: May 18, 2010
- Posts: 985
HalbrookTech
Code
<!--[pnmodfunc modname="Name" type="user" func="main"]-->
I do this all the time, don't worry, it works. I even use both sometimes at the same time
Code
<!--[pnmodapifunc modname="Name" type="user" func="main"]-->
- Igor -
- Rank: Moderator
- Registered: Mar 15, 2005
- Last visit: May 30, 2010
- Posts: 1077
Yeah, gg steven. I somehow missed Mike's post but that's what I used:
Code
<!--[pnmodfunc modname="Name" type="user" func="main"]-->
As Igor says, it works.
- Moderated by:
- Support
