xoops forums

Forum Index


Board index » All Posts (luciorota)




luciorota

Module Developer
Posted on: 2012/8/6 21:27
luciorota
luciorota (Show more)
Module Developer
Posts: 192
Since: 2007/4/20
#51

xhttperror 1.0 beta: ready for tests

ready for tests here:
http://xoops.svn.sourceforge.net/view ... httperror/trunk/?view=tar

This xHttpError is a module for displaying server error messages within your XOOPS site to give a more professional look, rather than the default/generic error message.
This module is new but inspired by the AM HTError module module.
There are three error messages already configured, 404 (not found), 500 (internal server error) and 403 (forbidden). You can easily add, edit or remove the error types as needed.
Error messages can be logged to help you track them, which is handy if you find another site is still linking to a file no that longer exists, or a page/script keeps failing.
This module is written with Apache in mind, so also needs the .htaccess file in the site's root folder (it should also work in other servers where you can add custom error messages) - xHttpError can not write to this file itself as this would be a security issue, so you will have to manually edit this upon first installing the module, and every time an error type is added or removed. The text for this is generated automatically in the module's admin index, and only needs to be copy & pasted.


luciorota

Module Developer
Posted on: 2012/8/6 21:26
luciorota
luciorota (Show more)
Module Developer
Posts: 192
Since: 2007/4/20
#52

ajaxfilemanager 1.0 beta: ready for tests

ready for tests here:
http://xoops.svn.sourceforge.net/view ... lemanager/trunk/?view=tar


luciorota

Module Developer
Posted on: 2012/8/6 21:24
luciorota
luciorota (Show more)
Module Developer
Posts: 192
Since: 2007/4/20
#53

xaddresses 1.0 beta: ready for tests

ready for tests here:
http://xoops.svn.sourceforge.net/view ... addresses/trunk/?view=tar


luciorota

Module Developer
Posted on: 2012/7/31 11:08
luciorota
luciorota (Show more)
Module Developer
Posts: 192
Since: 2007/4/20
#54

Re: smarty

try this code in "news_item.html" template

<{$story.morelink|regex_replace:'/</a>$/':''|regex_replace:'/^<a href=".*">/':''}>


luciorota

Module Developer
Posted on: 2012/7/31 8:29
luciorota
luciorota (Show more)
Module Developer
Posts: 192
Since: 2007/4/20
#55

Re: smarty

A small tip
It possible, but not easy, use a regular expression to extract a value using some Smarty variable modifiers like regex_replace.

Here a small exemple:
<{$story.morelink|regex_replace:"/<a href="XOOPS_URL/modules/news/article.php?storyid=/":""}>


more info here: http://www.smarty.net/docs/en/language.modifier.regex.replace.tpl

Here you can find a useful tool http://www.weitz.de/regex-coach/ to test your regular expression



luciorota

Module Developer
Posted on: 2012/7/12 10:26
luciorota
luciorota (Show more)
Module Developer
Posts: 192
Since: 2007/4/20
#56

Re: Idea : Norme for XOOPS tables

+1


luciorota

Module Developer
Posted on: 2012/3/21 13:43
luciorota
luciorota (Show more)
Module Developer
Posts: 192
Since: 2007/4/20
#57

formgooglemap: a new Xoops Form Object

a useful form object, users can insert a location (lon, lat, altitude, zoomlevel)
- Google Maps JavaScript API v3
- No API Key Needed ???

Resized Image


download here
http://luciorota.altervista.org/xoops ... nglefile.php?cid=2&lid=20
Rota Lucio
lucio.rota@gmail.com; l.rota@caritasbergamo.it
mobile: +39 338 9966321


luciorota

Module Developer
Posted on: 2012/3/18 21:09
luciorota
luciorota (Show more)
Module Developer
Posts: 192
Since: 2007/4/20
#58

Re: Problems with Xoops form objects and ajax

It's true but for exemple, a form object like XoopsFormTextDateSelect is not ready for use asynchronous, it adds scripts to the header section of you html page...
are there some tricks to bypass this kind of problems?

thanks
Rota Lucio
lucio.rota@gmail.com; l.rota@caritasbergamo.it
mobile: +39 338 9966321


luciorota

Module Developer
Posted on: 2012/3/17 6:48
luciorota
luciorota (Show more)
Module Developer
Posts: 192
Since: 2007/4/20
#59

Problems with Xoops form objects and ajax

Hi,
I'm working on a Xoops module having a lot of ajax techniques.
I would like to use Xoops form objects, but ... lot of problems with asynchronous calls...
Am I the only having this kind of problems?
Are there some solutions... or... has someone found solutions?
thanks


Rota Lucio
lucio.rota@gmail.com; l.rota@caritasbergamo.it
mobile: +39 338 9966321


luciorota

Module Developer
Posted on: 2012/3/12 9:25
luciorota
luciorota (Show more)
Module Developer
Posts: 192
Since: 2007/4/20
#60

Re: Tutorial: Debugging XOOPS with FirePHP/Firebug

Wow.....
I WANT IT in Xoops 2.6.X !



TopTop
« 1 ... 3 4 5 (6) 7 8 9 ... 15 »