Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 07:01 AM
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 06:41 AM
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 06:27 AM
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 01:29 AM
- mdee created topic »How to implement returnpage ?« 01:00 AM
- nestormateo responded to »Fillters in Clip« 24. May
- damon responded to »Can the Updated Version Check be Turned Off (Z 1.3)« 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
autotheme blocks and <!--[user]-->
-
- Rank: Softmore
- Registered: Jan 29, 2005
- Last visit: Oct 21, 2009
- Posts: 269
When I place in the body of my theme it displays the users name, however when I place it in an HTML block it does not. Can someone explain this to me? -
- Rank: Expert
- Registered: Mar 15, 2003
- Last visit: Oct 21, 2009
- Posts: 1221
That is a theme command not an HTML code.
It is too late in the process to get parsed by the theme engine if you put it in an HTML block.
--
Zikula Themes -
- Rank: Softmore
- Registered: Jan 29, 2005
- Last visit: Oct 21, 2009
- Posts: 269
-
- Rank: Softmore
- Registered: Jan 29, 2005
- Last visit: Oct 21, 2009
- Posts: 269
-
- Rank: Softmore
- Registered: Jan 29, 2005
- Last visit: Oct 21, 2009
- Posts: 269
The code you sugguests does show the name if you are logged in, however unregistered users shows a blank where the name could be. How can you get it to say "guest" ?
Since I don't know much PHP code this is my block so far
I would like the whole thing to be bold. How do you do this? -
- Rank: Expert
- Registered: Dec 02, 2002
- Last visit: Apr 30, 2010
- Posts: 1474
-
- Rank: Softmore
- Registered: Jan 29, 2005
- Last visit: Oct 21, 2009
- Posts: 269
-
- Rank: Expert
- Registered: Dec 02, 2002
- Last visit: Apr 30, 2010
- Posts: 1474
What do you mean, it did not work originally?
edit: ah you mean take out the PHP tags?
--
-Lobos
Professional PHP Framework Services: Concept, Development and Deployment -
- Rank: Softmore
- Registered: Jan 29, 2005
- Last visit: Oct 21, 2009
- Posts: 269
well actually in your original code the last squiggly bracket was backwards...should have been } But not that I know what I am doing :P
- Moderated by:
- Support
