Fork me on GitHub

Login Bar  Bottom

  • 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
  • I take it no one has any idea what to edit, or where to edit to move around the login username/password fields?

    7sm
  • There should be a folder inside the "Modules" folder containing the files you need to edit. I don't recall what the folder is called though.
  • 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!
  • 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
  • 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!
  • Ah, I kind of thought you had just typed the wrong thing. Cool, thanks so much for your help, I'm going to try it out tonight.

    7sm
  • 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
  • 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!
  • Hmm, maybe I should take a look at this AutoTheme....

    7sm

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