News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Curve Theme Width

Started by WiiFan2012, March 07, 2011, 08:44:28 PM

Previous topic - Next topic

WiiFan2012

I know this has probably been asked many times before, but I would like to know how to modify the width of the curve theme to 1000 pixels wide. I'm doing the same with WordPress, so that's why.

Matthew K.

Admin -> Configuration -> Current Theme -> Forum Width: 1000px

WiiFan2012

Thanks.
Also, how can I place the wordpress header on every smf page?

I've found that with MediaWiki it is done like this:

LocalSettings.php:
"require_once(dirname(__FILE__) . '/../wp-load.php');"

MonoBook.php: (default theme)
get_header( $name );

What files do I need to insert the above code into?

Thanks!

Matthew K.

Take a peak at ./Themes/default/index.template.php and how the functions comprise the base of SMF's template.

WiiFan2012

Quote from: Labradoodle-360 on March 07, 2011, 11:48:53 PM
Take a peak at ./Themes/default/index.template.php and how the functions comprise the base of SMF's template.

Will do.

One more question; How would I manage to create a facebook-like popup that asks the user to login when the user presses the "login" button. With this, I need to know how to remove the login form at the top.

Thanks.

Matthew K.

Not sure what you mean...

WiiFan2012

Well, it would be like this:

The user presses the "Login" button on the menu bar, and a facebook-like dialog pops up that has the login form, and a choice of other login options at the side of the login form.

Layout of popup: (Example)

Login Form |  Login via one of these: Facebook, OpenID, etc



That is what I mean.


Advertisement: