1
kimmo
how to make a button
  • 2004/11/27 16:27

  • kimmo

  • Just popping in

  • Posts: 3

  • Since: 2004/11/24


Hi

Do anybody know how to make a button that apears where the other buttons are and when I click the button it shows a webpage that I have made in the middle.

This must be the most basic thing to do

But I have not really yet figured out

Thanks

Best regards
Kimmo

2
carnuke
Re: how to make a button
  • 2004/11/27 16:46

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


Hi Kimmo

I was abit puzzled about your term 'buttons' Unless your theme uses buttons, we usually describe these as 'links'

Anyway, let me suggest you install a module called multimenu. You can read and adownload it HERE
This will allow you to add your own custom menu that links to any pages you want.

However, they will not automatically load in the XOOPS website, to do this you need to either use some code like this

----------------------------------------------------
include("path/to/mainfile.php");

include(
XOOPS_ROOT_PATH."/header.php");
?>
The content of your original html file goes here!!
include(XOOPS_ROOT_PATH."/footer.php");
?>

-----------------------------------------------------

After you have done that, save your file as filename.php and no longer filename.html! The extension is important! Now when you call filename.php from your menu it will be perfectly included into your XOOPS theme!

oruse another module like tiny content, wf sections, or mypage. These will allow you to create your own content and link to it from a menu.

Login

Who's Online

499 user(s) are online (57 user(s) are browsing Support Forums)


Members: 0


Guests: 499


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits