Fork me on GitHub



Make donations with PayPal!
Goal: $100.00
Due Date: Oct 31
Gross Amount: $25.00
Net Balance: $23.72
Left to go: $76.28

kakos  ($25)Oct-25

GitHub Twitter

Learn XOOPS Core

Local Support


XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

- 2 2.5 2.6 4 6 admin adslight Android AntiHarvesting AntiSpam API Apple Battlefield billige Blocks Bootstrap Captcha cell cent chronolabs Clicks Cloud content CĂN demo download Dresses facebook Fat floor Gateway giải Google Guide herre Home Honeypot html5 Human HỘ IP iPhone jQuery Language Law Legal List Loss module modules Monster new newbb news nhiệt NHÀ online PARK Payment phone PHP Prevention profile project Protector publisher RESIDENCE responsive review Rights Room security Sentry Signatures Signed site Smartphone Smarty Smoking Solution Spam stem Studio support tag tdmcreate The Theme themes tháp User userlog weight xoops Xortify XPayment ZendFramework

New Users

Registering user

# 139434


Welcome to XOOPS!


News archives

CuErPa module 0.9 beta

Posted by chco2 on 2013/9/15 9:50:00 (5867 reads) | Posted on Modules
Resized Image
Today we ( release a beta version of the CuErPa module for XOOPS. This module allows the creation of Custom Error Pages for within your website.

This can be very handy in case e.g. a visitor enters your website using an url that does not exist. Normally they would get a File not found error, now they will be forwarded to an Url you can set using CuErPa (CustomErrorPages).

Please give it a try and lets us know if you find anything we need to address before we take it our of Beta. Version 1 will also include a set of error pages and a quick setup button.

The file can be downloaded here.

Printer friendly page Send this story to a friend Create a PDF from the article
Bookmark Me
Bookmark to Google Plus
The comments are owned by the author. We aren't responsible for their content.

Release date 15 Sept ? It's the 18th ..

Get it.. Xoops news on top ;)
Published: 2013/9/18 11:34 • Updated: 2013/9/18 11:35
nice module.Thank you
Published: 2013/9/19 4:32 • Updated: 2013/9/19 4:32
I installed the module on this afternoon and made some custom error pages. This is a nice little module Charlot, working great!
Published: 2013/9/20 12:42 • Updated: 2013/9/20 12:45
Thanks good to hear!
Published: 2013/9/20 13:20 • Updated: 2013/9/20 13:20
v1.0 Released
+ default templates (example pages)
+ When changing .htaccess file, a backup is created with current date and time
+ Set default templates as error pages (one click)
+ Dutch language support

Same download link..
Published: 2013/9/21 8:23 • Updated: 2013/9/21 8:23
Wondering why a module was neccesary for something that can be done in a few lines in the htaccess. This must be for people whose hosts do not provide .htaccess capability to their users?
Published: 2013/9/22 9:33 • Updated: 2013/9/22 9:33
One of the goals of a cms is making life easier for not technically skilled webmasters xoobaru
Published: 2013/9/22 9:49 • Updated: 2013/9/22 9:49
Guess how many admins know how to create custom error pages
Not many.. CuErPa is actually part of a larger module I made to create and manage the .htaccess files. E.g. rewrite rules etc.. Simply because so many people had problems getting it right.
In my opinion, it would be a great asset if Xoops had it in its preferences, saving a lot of people the trouble of getting rewrite rules etc.. setup. Such an easy installer we have, and the admin section is also pretty easy to work with. But for errorpages or rewrite rules admins need to know more than just clicking a few buttons and entering their hosts information.
Basically in short.. I agree with Flipse ;)
Published: 2013/9/22 12:31 • Updated: 2013/9/22 12:31
OK... I see the logic in that (not because I just found out I am one of the rare superior webmasters ). One point worth considering is for the module to account for the possibility that a custom .htaccess already exists, and if so make its changes, and save without losing original .htaccess contents. For instance, mod rewrite engine may already be on, although in my experience it doesn't hurt if it is redundant.
Published: 2013/9/22 15:30 • Updated: 2013/9/22 15:30

The module does take it into account. Well..CuErPa only deals with errordocuments, but it simply reads and parses a .htaccess file and only changes what needs to be changed, the rest stays intact. If there's no .htaccess file it will be created, and just to be safe it makes a backup of the original .htaccess file everytime changes are made.
Published: 2013/9/22 16:17 • Updated: 2013/9/22 16:17
Hi chco2

if you give me an email by PN, I can send you german language files



only for cosmetic correction
there is text in code

please make in language admin.php
define('_CUERPA_FORM_FILL_DEFAULT'"Fill form with default pages");
define('_CUERPA_FORM_FILL'"Fill fields");

and replace in main.php line 136 till 138 by
echo '<tr><td style="border-top:1px dotted #999;border-bottom:1px dotted #999;"><label for="fill">'._CUERPA_FORM_FILL_DEFAULT.'</label></td>';
'<td align="left" style="border-top:1px dotted #999;border-bottom:1px dotted #999;"><button type="button" name="fill" id="fill">'._CUERPA_FORM_FILL.'</button></td></tr>';
'<tr><td colspan="2" align="center"><BR><BR><a href="'.XOOPS_URL '/modules/' $xoopsModule->getVar("dirname") . '/admin/main.php"><button type="button" name="cancel" id="cancel">'._CANCEL.'</button></a>&nbsp;&nbsp;<input type="submit" id="submit" name="submit" value="'._CUERPA_FORM_SUBMIT.'"></td></tr></table>';

there are some defines like "_AM_QRCODE_...", maybe should be replaced by "_AM_CUERPA_..."
Published: 2013/11/21 8:58 • Updated: 2013/11/21 11:52