First, I believe this is posted in the correct forum, if not I apologize. I am not cross posting it into another forum.
My main question is this:
When someone, anyone of any status, permission level, group, social level, race, color, creed, etc comes to our site I want them to see the basic introduction message. This message should only appear on the 'HOME' page and nowhere else at anytime for any reason.
I tried creating an Admin Message with the HTML, text, pics, etc that make of this introduction. This kind of works but not very well. It still might work or they may be a far superior solution, here are the problems I am encountering using an Admin Message for this purpose with a Xanthia Theme (3rd Party).
1. The Admin Message shows up at the top of every single module and I have to go in under BLOCK CONTROL and manually remove it.
2. When I install a new module the Admin Message is automatically attached in the Center block at the top of the module forcing me to go to block control and remove it.
The obligatory link to the web site so you can see for yourself is: http://www.iccidaho.org
I would appreciate any comments helping me come up with a better way to do this 'Home Page' thing.
Thanks in advance,
Joe
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
Site Design Question - Xanthia Theme
-
**unknown user**
- Rank: Helper
- Registered: Mar 16, 2002
- Last visit: May 18, 2010
- Posts: 985
Normally under your themes you have
themes/_YOURTEMPLATE/templates/master.htm
if you do have another subfolder, called modules/ and you find there home.htm
you could deleteCode
<!-- [centerblocks] -->
assuming you only have one centerblock, with your admin message in it.
For now I guess that's the fastest en easiest way.
-Igor
edited by: videokid, Sep 11, 2006 - 08:43 PM -
**unknown user**
- Rank: Helper
- Registered: Mar 16, 2002
- Last visit: May 18, 2010
- Posts: 985
Belgium has the best beer... LOL...
but back to your question,
no not really, check it in your admin panel
admin.php --> blocks
there you can see which blocks are already used ...
-Igor
joedunn
I'm buying beer if you can help me get this worked out!
-
**unknown user**
- Rank: Softmore
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 354
Belgium does have great beer. I was suggesting a donation to your beer fund, not a personal delivery of the beverage. However, if you wish, you could stop by my local pub/house anytime.
I see what you mean!! However, this may be the simplest solution but is it the best solution? I don't mind doing some extra work if that means I don't have to completely eliminate CENTER BLOCKS from my web site.
Is this a problem with my 3rd party theme? Should I just pay someone to look at the entire 3rd party theme and fix any problems that may or may not exist?
I want to learn to do it correctly, I do love a good short cut, however.
Joe -
**unknown user**
- Rank: Helper
- Registered: Mar 16, 2002
- Last visit: May 18, 2010
- Posts: 985
Probably not the best solution, no.
You could add a content-wrapper, especially for the admin messages.
name: Admin Message
label: admin_message
template: adminblock.htm [to be created and uploaded]
That way admin messages are assigned to the template and not the ccblock [or dsblock] will be used.
Personnally I never uses the Admin messages, you could also hard code it in you home.htm and leave it out in master.htm, since everybody is allowed to read your welcome message. No matter how many 3th part modules you will install, the message will never show up.
- Igor - santé... schol... hips...
-
**unknown user**
- Rank: Softmore
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 354
Problem - - -
Now this message won't be able to be translated into multiple languages. This web site will eventually be in several languages.
Hardcoding might be the answer for the short term but how do I do it so that I can assign a language to it other than English.
Joe -
**unknown user**
- Rank: Helper
- Registered: Mar 16, 2002
- Last visit: May 18, 2010
- Posts: 985
Sure, I do it all the time
Code
<!--[if pnUserGetLang() == "nld"]-->Nederlandse tekst
<!--[elseif pnUserGetLang() == "eng"]-->English text
<!--[else]-->Default Text<!--[/if]-->
or
Code
<!--[if pnUserGetLang() == "nld"]-->Nederlandse tekst<!--[/if]-->
<!--[if pnUserGetLang() == "eng"]-->English text<!--[/if]-->
assuming you have the multilangual option 'on' in Settings...
- Igor
joedunn
Hardcoding might be the answer for the short term but how do I do it so that I can assign a language to it other than English.
- Moderated by:
- Support
