Fork me on GitHub

Start Page with more than one module  Bottom

  • 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
  • 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"]-->
  • 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
  • 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
  • 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
  • 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?
  • 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
  • I had to haxor a page for a very similar reason once. I don't remember how. I need to dig.
  • Thank you HalbrookTech,

    I tried your solution and it worked very well. God bless you!!!

    --
    Together We Are More Than Winners
  • 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
  • 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
  • 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.

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