71
luciorota
xhttperror 1.0 beta: ready for tests
  • 2012/8/6 21:27

  • luciorota

  • Module Developer

  • Posts: 218

  • Since: 2007/4/20


ready for tests here:
http://xoops.svn.sourceforge.net/viewvc/xoops/XoopsModules/xhttperror/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.



72
luciorota
ajaxfilemanager 1.0 beta: ready for tests
  • 2012/8/6 21:26

  • luciorota

  • Module Developer

  • Posts: 218

  • Since: 2007/4/20





73
luciorota
xaddresses 1.0 beta: ready for tests
  • 2012/8/6 21:24

  • luciorota

  • Module Developer

  • Posts: 218

  • Since: 2007/4/20





74
luciorota
Re: smarty
  • 2012/7/31 11:08

  • luciorota

  • Module Developer

  • Posts: 218

  • Since: 2007/4/20


try this code in "news_item.html" template

<{$story.morelink|regex_replace:'/$/':''|regex_replace:'/^/':''}>



75
luciorota
Re: smarty
  • 2012/7/31 8:29

  • luciorota

  • Module Developer

  • Posts: 218

  • Since: 2007/4/20


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:"/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




76
luciorota
Re: Idea : Norme for XOOPS tables
  • 2012/7/12 10:26

  • luciorota

  • Module Developer

  • Posts: 218

  • Since: 2007/4/20


+1



77
luciorota
formgooglemap: a new Xoops Form Object
  • 2012/3/21 13:43

  • luciorota

  • Module Developer

  • Posts: 218

  • Since: 2007/4/20


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/modules/wfdownloads/singlefile.php?cid=2&lid=20
Rota Lucio
lucio.rota@gmail.com;
mobile: +39 338 9966321



78
luciorota
Re: Problems with Xoops form objects and ajax
  • 2012/3/18 21:09

  • luciorota

  • Module Developer

  • Posts: 218

  • Since: 2007/4/20


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;
mobile: +39 338 9966321



79
luciorota
Problems with Xoops form objects and ajax
  • 2012/3/17 6:48

  • luciorota

  • Module Developer

  • Posts: 218

  • Since: 2007/4/20


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;
mobile: +39 338 9966321



80
luciorota
Re: Tutorial: Debugging XOOPS with FirePHP/Firebug
  • 2012/3/12 9:25

  • luciorota

  • Module Developer

  • Posts: 218

  • Since: 2007/4/20


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




TopTop
« 1 ... 5 6 7 (8) 9 10 11 ... 17 »



Login

Who's Online

430 user(s) are online (298 user(s) are browsing Support Forums)


Members: 1


Guests: 429


Mamba

more...

Donat-O-Meter

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

Latest GitHub Commits