21
AAINC
Re: Include Own Contents in Layout??
  • 2003/12/29 13:42

  • AAINC

  • Not too shy to talk

  • Posts: 121

  • Since: 2003/10/18


Quote:

Stewdio wrote:
to make your own custom error pages


Errodocs beta 0.1
works good. server must allow htaccess. ErrorDocs for XOOPS allows the 404, 401, 400 and 403 errors to look like your site, not the plain ones the server shows.
Really basic, one file in your root directory and an addition to your htaccess.

example of 404
http://archangelartifacts.com/nofile.php

xoops news article:
https://xoops.org/modules/news/article.php?storyid=1072

download:
http://archangelartifacts.com/modules/mydownloads/viewcat.php?cid=2

I hear there was an olde XOOPS module to do similar, though I do not have link to it.

AAINC

22
AAINC
Re: Include Own Contents in Layout??
  • 2003/12/29 14:02

  • AAINC

  • Not too shy to talk

  • Posts: 121

  • Since: 2003/10/18


Quote:

hui11 wrote:

hope this will help some of you guys out.


hui11,
Most excellent, please get with XOOPS doc developers and post this technique in the wiki.
Alot can benefit from this, if they want to go this route.
Me I am lazy and would have made simple mod with blocks to do same or used a clone of the news mod.

Thank you for sharing the code.

Site is coming along nicely. Last year I got into Diablo II for a while, after playing about six months I started selling the items i found through a friends ebay account, i could not believe people were buying digital items found in a game.

I keep going back to FPS, still addicted to Tribes 2 Renegades Mod, Play everyday. Recently downloaded the XMP addon for unreal II, sweet addon. Full multiplayer fraggfest. No lag or resource hog like the single player was/is.

AAINC

Olde Heat.Net Saying:

Total World Peace Through Cyberviolence.

Stimulate the reptilian part of your brain.

23
CBlue
Re: Include Own Contents in Layout??

Thanks for those Errordocs, AAINC. I missed that news article before!

24
Stewdio
Re: Include Own Contents in Layout??
  • 2003/12/29 17:28

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


Crikey! I missed it too

I did however manage to create my own custom error page with includes and stuff. Finaly, I opened the hood of php and dove in! Actually, it wasn't that hard to do an include, I'll admit, but learning the correct php syntax to echo server variable's was interesting

One giant leap for me, one little yawn for the community...

Admit it, you yawned

25
JackJ
Re: Include Own Contents in Layout??
  • 2003/12/29 18:34

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


This is very good work. A lot of talent about here.

I have a simple little module that creates "one of" pages and automatically includes the page in the main menu. Then it occurred to me that the page is not included in the global site search?

For many CMS's it is very important for users to be able to find information quickly, like this site for example.

Wfsections and some other content modules are included in the site global search.

Perhaps not as important for gaming sites. But it would be brilliant if someone could come up with additional code to add these pages to the site search.

Login

Who's Online

187 user(s) are online (119 user(s) are browsing Support Forums)


Members: 0


Guests: 187


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