1
Longrifle
a very simple question
  • 2010/6/14 23:03

  • Longrifle

  • Just popping in

  • Posts: 28

  • Since: 2010/2/16


OK, so I have a theme with links accross the top, how do I make it so that when I click link, it points to a simple html block that I created.

basically when I click on "events" on the top bar, I want my block to appear in the center main page.

I can't believe I can't figure out how to do this.

sorry guys I know it's a silly question.

thanks for the help in advance

2
tcnet
Re: a very simple question
  • 2010/6/15 1:59

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


You can not link to a custom block. You will need to wrap xoops around your code to create a new web page.
Take a look at this faq: include my own HTML pages in xoops

3
Runeher
Re: a very simple question
  • 2010/6/15 6:41

  • Runeher

  • Module Developer

  • Posts: 825

  • Since: 2008/1/24


Or make a 'blank' module and assign the block to show only in that module... Then you can edit the module from blocks admin... ;)


4
vamptrix
Re: a very simple question
  • 2010/6/15 6:55

  • vamptrix

  • Theme Designer

  • Posts: 424

  • Since: 2008/5/3 1


Or use Mastop Publish, which can do the same thing ;)
I used to use this account, but no longer.

5
Runeher
Re: a very simple question
  • 2010/6/15 7:02

  • Runeher

  • Module Developer

  • Posts: 825

  • Since: 2008/1/24


So you see... XOOPS is never stuck... :)

6
Longrifle
Re: a very simple question
  • 2010/6/16 0:32

  • Longrifle

  • Just popping in

  • Posts: 28

  • Since: 2010/2/16


thank you all for the answers... I think I will use the PHP code, otherwise I will have a bunch of blank modules and I don't even know how to make a blank module... Is it easy to make one?

I did try Waku, but found that I can only point to it once and I have 6 different pages I wanted to link :(

7
ghia
Re: a very simple question
  • 2010/6/16 7:04

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


If you search for blank module, you will find several as eg Ghost.
Then you need only to paste your HTML or PHP code in it and then install it as a regular module. Rename the module subdirectory to anything you like.

8
Burning
Re: a very simple question
  • 2010/6/16 8:25

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

As Ghia said, you can use Ghost module and if you want something else than /ghost in url just :
• rename folder
• edit xoops_version.php to put same name

Other blank modules :
• dummy (http://www.xuups.com)
• blankpaper (http://linux2.ohwada.net/modules/wfdownloads/singlefile.php?cid=1&lid=35)
Still learning CSS and... english

9
Longrifle
Re: a very simple question
  • 2010/6/17 5:24

  • Longrifle

  • Just popping in

  • Posts: 28

  • Since: 2010/2/16


ok, so I tried to install a second ghost module and I get an error that says, ghost module already exist.

how do I install new ghost modules so that I can use for different pages?

Login

Who's Online

438 user(s) are online (329 user(s) are browsing Support Forums)


Members: 0


Guests: 438


more...

Donat-O-Meter

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

Latest GitHub Commits