1
Ronaldus
How to define links?
  • 2004/10/11 17:22

  • Ronaldus

  • Friend of XOOPS

  • Posts: 389

  • Since: 2004/5/8 1


Hai,

actually, my question comes in two parts:

1) I made a custom menu block on the left with Multi Menu (great module, by the way). I intend let them link to a few pages, which I want to look very clean. Just like a plain HTML page. How do I create such a page?

2) How do you get the link adres in the link field in Multi Menu? At this moment the URL could look like:http://localhost/mysite/modules/etc. When I have uploaded my site (in a few weeks I hope), the link ishttp://www.mysite.nl/modules/etc.
When I use {X_SITEURL}, can I put the rest of the link behind it? Like {X_SITEURL}/modules/etc ?
Or how does this work?
Is there a way to make no mistaken with a complicated URL like the one that's in my and your address field at this moment? (Sorry, a third question...)

So, two questions about the basic principles of XOOPS, I think. I hope I can learn from your answers.

Thanks and greetings,

Ronaldus

2
Anonymous
Re: How to define links?
  • 2004/10/11 18:03

  • Anonymous

  • Posts: 0

  • Since:


Quote:
1) I made a custom menu block on the left with Multi Menu (great module, by the way). I intend let them link to a few pages, which I want to look very clean. Just like a plain HTML page. How do I create such a page?


there is a module to create this

Quote:
When I use {X_SITEURL}, can I put the rest of the link behind it? Like {X_SITEURL}/modules/etc ?


yes

3
Ronaldus
Re: How to define links?
  • 2004/10/11 18:08

  • Ronaldus

  • Friend of XOOPS

  • Posts: 389

  • Since: 2004/5/8 1


1) which module do you mean?
2) thanks, that's just what I hoped for.

Greetings,

Ronaldus

4
pessi
Re: How to define links?
  • 2004/10/11 20:07

  • pessi

  • Quite a regular

  • Posts: 204

  • Since: 2004/5/16


hi

This is very easy I suppose, you dont need any other module for that. If i understood you correctly.

Just install the multimenu module module in the normal way.

The in the multimenu you can define the links your want and where they should go.

Main Menu
Link1
Link2
etc and direct define their urls in the options as

http://yoursite.com/link1.html
etc...

Hope that helps.

cheers,
prasad..

5
Ronaldus
Re: How to define links?
  • 2004/10/11 20:38

  • Ronaldus

  • Friend of XOOPS

  • Posts: 389

  • Since: 2004/5/8 1


Thanks Prasad.

I installed Multimenu.
When I define a link like you said:http://www.mysite/modules/link1,
I can't test it on my remote site (I'm not online with it yet).

I tried {X_SITEURL}/modules/etc, but that doesn't work either: when I click the link in my browser the URL ishttp://localhost/mysite/{X_SITEURL}/modules/etc, so I get a 404, page not found message.

Isn't there a way to define links so they work both local and remote?

Thanks and greetings,

Ronaldus

6
pessi
Re:How to define links?
  • 2004/10/12 7:06

  • pessi

  • Quite a regular

  • Posts: 204

  • Since: 2004/5/16


hi

i am not an expert but what i found is in the main.php file in the root dir.

// Physical path to your main XOOPS directory WITHOUT trailing slash
define('XOOPS_ROOT_PATH', '/home/something/public_html');

// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
define('XOOPS_URL', 'http://www.somethingelse.com');

I think this the place where XOOPS rooth path is defined. Just play with them to see if you can get it to work.

But i should warn you that, please take a backup of these files so that you can revert back if it doesnt work.


Hope it helps.

Cheers,
prasad..

7
Ronaldus
Re:How to define links?
  • 2004/10/12 7:31

  • Ronaldus

  • Friend of XOOPS

  • Posts: 389

  • Since: 2004/5/8 1


All right Pessi, that's what I shall do: play and learn!!

Thanks for your replies and greetings,
Ronaldus

8
pessi
Re:How to define links?
  • 2004/10/12 8:08

  • pessi

  • Quite a regular

  • Posts: 204

  • Since: 2004/5/16


hi Ronaldus

Please dont forget to post if you solved your problem. It will help others.

cheers,
prasad..

9
Ronaldus
Re:How to define links?
  • 2004/10/13 5:25

  • Ronaldus

  • Friend of XOOPS

  • Posts: 389

  • Since: 2004/5/8 1


Yep, I'll do that.

In fact, I experimented a few things, but it doesn't really work out as I want.

Login

Who's Online

132 user(s) are online (105 user(s) are browsing Support Forums)


Members: 0


Guests: 132


more...

Donat-O-Meter

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

Latest GitHub Commits