xoops forums

bcartolo

Just popping in
Posted on: 2007/5/14 15:56
bcartolo
bcartolo (Show more)
Just popping in
Posts: 24
Since: 2006/7/8 1
#11

Re: How to build your own module ?

Hi
Where is the blank module and the module logo?
In the pdf says it is available for download, but it doesnt says where

stefan88

Community Support Member
Posted on: 2007/5/14 16:22
stefan88
stefan88 (Show more)
Community Support Member
Posts: 1085
Since: 2004/9/20
#12

Re: How to build your own module ?

Hi,

for the module logo templates go here:

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

or download direct from here

http://dev.xoops.org/uploads/ModuleBadges.zip

..

catalin12345

Just can't stay away
Posted on: 2007/5/14 19:26
catalin12345
catalin12345 (Show more)
Just can't stay away
Posts: 434
Since: 2004/7/19
#13

Re: How to build your own module ?

XBS ModGen
this should be installed as an module and then to do an module from 0?!
i have standalone script php but i don`t know exactly how to make it as an module for xoops!

bcartolo

Just popping in
Posted on: 2007/5/16 14:12
bcartolo
bcartolo (Show more)
Just popping in
Posts: 24
Since: 2006/7/8 1
#14

Re: How to build your own module ?

Thanks for those links.
Another question: Does XOOPS provide image functions to the developer?
I want to create a module to modify the web page's logo through the admin interface instead of using the ftp connection.
In order to do that I need to do some commons tasks like uploading files, forms, text sanitation, validation and image resizing. I also need to know the path to the logo, I suspect that is related to the theme.

I am asking those things because I haven't found any api documentation. I have downloaded several modules to try to see how they perform those task, but I have realized each developer do what the want (or can).

Any help would be appreciate.

bcartolo

Just popping in
Posted on: 2007/5/16 14:15
bcartolo
bcartolo (Show more)
Just popping in
Posts: 24
Since: 2006/7/8 1
#15

Re: How to build your own module ?

I will also try the XBS Modgen and see if it helps.

vanrel

Just popping in
Posted on: 2007/5/16 16:02
vanrel
vanrel (Show more)
Just popping in
Posts: 1
Since: 2007/5/15
#16

Re: How to build your own module ?

I install the XBS ModGen and create one module following the example of creation of module of document “XBS ModGen V1”, but the archives are not created of module it

chippyash

Friend of XOOPS
Posted on: 2007/5/19 5:58
chippyash
chippyash (Show more)
Friend of XOOPS
Posts: 501
Since: 2004/1/29
#17

Re: How to build your own module ?

Quote:
I want to create a module to modify the web page's logo through the admin interface instead of using the ftp connection.


What logo is displayed is controlled by the theme, not by XOOPS code. You'll usually find a line such as Quote:
<a href="<{$xoops_url}>"><img src="<{$xoops_imageurl}>logo.gif" alt="" /></a>

in theme.html

chippyash

Friend of XOOPS
Posted on: 2007/5/19 5:59
chippyash
chippyash (Show more)
Friend of XOOPS
Posts: 501
Since: 2004/1/29
#18

Re: How to build your own module ?

Support for Modgen is at http://xoobs.net

suico

Friend of XOOPS
Posted on: 2007/8/24 19:17
suico
suico (Show more)
Friend of XOOPS
Posts: 374
Since: 2003/7/24
#19

Re: How to build your own module ?

Can't this pdf doc (in first post of this thread) be updated? It is already in such a great format. Only needs to have a last update lift.
Yogurt Social Network Service
Visit: http://www.marcellobrandao.eti.br/

kerkyra

Just can't stay away
Posted on: 2008/3/28 8:06
kerkyra
kerkyra (Show more)
Just can't stay away
Posts: 553
Since: 2005/2/14
#20

Re: How to build your own module ?

hi, the link of the first post is taking me to a blank page! I'm trying to find out how to properly sanitize any text for a module i'm developing. is it through myts? should i sanitize every variable i get through _POST also?? tHanks
www.guidemap.gr - Beta is out...