I'm wanting to edit my theme so that the login bar is across the top in one line, kind of like it is on this site. Anyone have any idea where I can edit where that appears? I can set the login block to center, but I want it in say a cell of a table in one horizontal line.
Ideas?
7sm
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
Login Bar
-
- Rank: Expert
- Registered: Aug 20, 2002
- Last visit: Jan 12, 2010
- Posts: 1219
If you're using AutoTheme, then just disable that block and add into your theme.html wherever you want it.
If not, then copy the correct code from includes/blocks/search.php and use it in your theme.php wherever you want it to display.
-Shawn
--
Get the Revolutionary AutoTheme HTML Theme System! Currently for Zikula, PHP-Nuke, CRE Loaded, osCommerce and Wordpress! -
**unknown user**
- Rank: Freshman
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 53
I'm not using AutoTheme, so I'll look for that code. Thanks so much!!
includes/blocks/search.php ?? For the Login username/password field?
Cool, I'll get to it.
7sm - Adam -
- Rank: Expert
- Registered: Aug 20, 2002
- Last visit: Jan 12, 2010
- Posts: 1219
Hmmm... I don't know where my brain was :( In AutoTheme it's and for you, look in includes/blocks/login.php and get the form HTML. Then just put in themeheader() in your theme.php and modify it so it displays horizontally.
Sorry...
-Shawn
--
Get the Revolutionary AutoTheme HTML Theme System! Currently for Zikula, PHP-Nuke, CRE Loaded, osCommerce and Wordpress! -
**unknown user**
- Rank: Freshman
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 53
Man, everytime I get it in my theme.php my index.php returns errors.
This may be a stupid question, but how much of the login.php do I need in the theme.php? What I'm thinking is the form HTML is almost the entire file.
Ok, gotta take a break for a minute, I'll try again in a bit.
7sm -
- Rank: Expert
- Registered: Aug 20, 2002
- Last visit: Jan 12, 2010
- Posts: 1219
I haven't looked at it in a while, but it's just making sure you know what you need, everything from form and making sure you use valid PHP code. That's why I coded AutoTheme, so all you have to do is just put
;)
-Shawn
--
Get the Revolutionary AutoTheme HTML Theme System! Currently for Zikula, PHP-Nuke, CRE Loaded, osCommerce and Wordpress! -
**unknown user**
- Rank: Freshman
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 53
- Moderated by:
- Support
