Fork me on GitHub

Little help with my new theme  Bottom

  • Ok so i'm in the middle of making a new theme(based off of halbrook's 960 theme which my version so far is located at m46sg.frih.org ) but having a few issues/questions icon_confused :
    1.) What are the modules that handle login/welcome messages to those who login?(i need to put in a block i've positioned in the header)
    2.) On the site in the forums/several other spots the footer isn't in the right spot, how do i fix that?
    Thanks in advance for any help icon_wink
  • 1) Zikula includes a plugin to print a user welcome, it can be invoked in your 1.2 Theme Templates with:

    Code

    <!--[userwelcome]-->
    . You can check the available Core plugins on the folder system/Theme/plugins.

    2) It seems that something is wrong with the styles loaded or something, but I do not see correct styles for the maincontent container.

    I hope Michael Halbrook give you the answer.
    Greetings

    --
    - Mateo T. -
    Mis principios... son mis fines
  • What about if i wanted to say something like this(the following is just psuedocode):
    If not logged in:
    show login
    else:

    ?
  • Yeah, solved the footer issue, the header opens the main div, the footer closes it, and he had closed the Div in the header file. Took the extra out and it was working fine :)

    --
    Home Page | Find on Facebook | Follow on Twitter
  • And here's the solution to the other thing:

    Code

    <!--[pnuserloggedin assign=loggedin]-->
         <!--[if $loggedin eq false]-->
              <!--[userlogin]-->
         <!--[else]-->
              <!--[userwelcome]--> <!--[userlinks start="[" end="]" seperator="|"]-->
         <!--[/if]-->


    --
    Home Page | Find on Facebook | Follow on Twitter
  • Amazing gotta love Halbrook icon_smile always seems to solve the problems i've had so far almost got the theme done just a some tidying up and it should be done....



    Edited by milleja46 on Jun 14, 2011 - 05:59 AM.
  • 0 users

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