Fork me on GitHub

Help on Gemini please  Bottom

Go to page 1 - 2 [+1]:

  • How can I add centreblock zone to frontpage of Gemini theme, so it shows up admin messages etc???

    Thanks

    Chris
  • Assuming that you've got the admin messages block in the center block postion then add the tag into the HTML where you want this block position to appear.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • Thanks Mark - is this in one of the xanthia template files???
  • That's what I did and it works fine.
  • where did you put

    I'm playing with the master.htm, but can't seem to get it to show up - i placed the command above leftblocks and rightblocks.

    Chris
  • place it above in master.htm

    Here is where I modified it.

    If you only want it to show up on the home page then create a new module template cut and paste the master HTML into a new module template and then create a new wrapper for *home and point it to that page. Then it will only show up on the homepage.

    Code

    <div id="main">
                    <div id="content">
                        <!-- end header -->
                            <!--[$centerblocks]-->
                        <div id="static">
                            <!--[$maincontent]-->
  • Thanks very much - xanthia is new to me, and I've had problems with other themes playing around to learn it.

    Chris
  • Can you give more explanation about :

    thedc

    If you only want it to show up on the home page then create a new module template cut and paste the master HTML into a new module template and then create a new wrapper for *home and point it to that page. Then it will only show up on the homepage.


    Learning themes modifications is quite difficult...for a newbie.

    The reason why (and I know there's a lot to do):

    Code

    Warning: Smarty error: unable to read resource: "blocks/ccblock.htm" in d:\***\includes\classes\Smarty\Smarty.class.php on line 1088
  • My problem is solved !

    The 'Smarty.class.php' cannot read 'ccblock.htm' in .\themes\Gemini\templates\blocks ? Sure, there's no such file ! icon_lol

    So, why not giving him a new HTM file called 'ccblock.htm' and copy the code lines of the 'block.htm' in the same folder... ?

    It looks great now...My admin messages are displayed.
  • (Is this related to the topic above ? icon_lol )

    You think that your admin messages aren't justified ?

    Try this:
    - edit the [color-theme].css
    - enter

    Code

    .justify {
             text-align: justify;
             }


    - edit your admin message
    - type your message between

    Code

    <div class="justify"> ...message contents...</div>


    NOTE : for the AddStory MODULE, you'd better choose this code

    Code

    <div style="text-align:justify"> ...news contents...
    <br /><br /></div>

    The twin
    avoid the 'News text' contents to stick to the bottom line.

    - save the modifications.

    It may work!
  • The admin message stays still no matter what you choose in the Main Menu or click on news topic...

    'News-article.htm', 'News-index.htm' & 'News-article_with_gravatar.htm' code lines :

    Code

    <a href="<!--[$links.fullarticle]-->" rel="bookmark"><!--[$info.title]--></a>


    What am I supposed to change to get a new Blank Page with the news on the top of it ? The same question is worth for the hypertext links in the Main Menu...

    Any idea ? Thanks. :)
  • You need to learn a little about how xanthia works. Take a look at how other themes define a specific page template for the homepage. Once you have a page template specific to the homepage you can include centre blocks here but exclude them from the master page template.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • Thanks for the advise but since my study on PostNukeBlue, I still don't get it...I know that a new template for 'home page' shoud be defined...But the way PN knows how page to display...I'm a bit confused..

    The hunt is still opened.
  • Xanthia gives me headache. icon_lol

    I discover the worth of 'Blocks Control' after editing the Gemini theme.

    The Admin_Messages disappear now whatever link in the main menu I can click except :

    - the My_Account MODULE ? (Is this a bug because I proceed the same way???)
    - the News MODULE ... with the DaMnEd Admin_messages.

    The fact is that my Settings MODULE don't allow me to load the Admin_Messages as my home page... Is there a link with the need to change the 'displayed' name of the Admin_Messages MODULE to 'Messages_Admin (see more threads about that) ?

    I cannot say at the same time :
    - load the homepage with the NEWS ... with the Admin_Messages
    - & when I click on the 'Read More' or News name, I want the Admin_Messages to go...

    I tried to create a new theme template (=News without Admin_Messages as homepage) and a Theme Zone as well to activate this 'homepage' but it failed...

    Any help, any thread on this (don't see any), any tutorial ? ...<think that="that" i="i" cannot="cannot" hold="hold" my="my" date="date" of="of" release="release" src="http://community.zikula.org/modules/bbsmile/pnimages/smilies_auto/cry.gif" alt="cry"></think> >
  • Xanthia gives me headache. icon_lol

    I discover the worth of 'Blocks Control' after editing the Gemini theme.

    The Admin_Messages disappear now whatever link in the main menu I can click except :

    - the My_Account MODULE ? (Is this a bug because I proceed the same way???)
    - the News MODULE ... with the DaMnEd Admin_messages.

    The fact is that my Settings MODULE don't allow me to load the Admin_Messages as my home page... Is there a link with the need to change the 'displayed' name of the Admin_Messages MODULE to 'Messages_Admin (see more threads about that) ?

    I cannot say at the same time :
    - load the homepage with the NEWS ... with the Admin_Messages
    - & when I click on the 'Read More' or News name, I want the Admin_Messages to go...

    I tried to create a new theme template (=News without Admin_Messages as homepage) and a Theme Zone as well to activate this 'homepage' but it failed...

    This thread http://forums.postnu…le+template+xanthia was unfortunately not the answer I asked for.

    Any help, any thread on this (don't see any), any tutorial ? ...<think that="that" i="i" cannot="cannot" hold="hold" my="my" date="date" of="of" release="release" src="http://community.zikula.org/modules/bbsmile/pnimages/smilies_auto/cry.gif" alt="cry"></think> >

Go to page 1 - 2 [+1]:

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