How can I add centreblock zone to frontpage of Gemini theme, so it shows up admin messages etc???
Thanks
Chris
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- internetking created topic »password problem« 25. May
- 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
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 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
- nestormateo responded to »Fillters in Clip« 24. 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
Help on Gemini please
-
- Rank: Team Member
- Registered: Mar 18, 2002
- Last visit: Oct 21, 2009
- Posts: 6606
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. -
**unknown user**
- Rank: Softmore
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 151
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.
-
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 28
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 -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 28
My problem is solved !
The 'Smarty.class.php' cannot read 'ccblock.htm' in .\themes\Gemini\templates\blocks ? Sure, there's no such file !
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. -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 28
(Is this related to the topic above ?
)
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! -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 28
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. :) -
- Rank: Team Member
- Registered: Mar 18, 2002
- Last visit: Oct 21, 2009
- Posts: 6606
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. -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 28
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. -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 28
Xanthia gives me headache.
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> > -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 28
Xanthia gives me headache.
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> >
- Moderated by:
- Support
