1
limecity
How do you make the simplest module?
  • 2004/3/22 4:12

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


I am trying hard to fix the cdbase module even i have the slightest knowledge of php. I desprately need that module.

Is the any reference to make the simplest module? or a basic 1.

Lets say user enter his name and email and URL.
and the module shows it up accordingly. something like that.

2
Stewdio
Re: How do you make the simplest module?
  • 2004/3/22 4:15

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1



3
limecity
Re: How do you make the simplest module?
  • 2004/3/22 4:24

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


Is there a template of a module..
where i can just edit it?

4
Stewdio
Re: How do you make the simplest module?
  • 2004/3/22 4:31

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


There really isn't a 'blank template' that you can work from per-se, but what I would suggest is that you look around for a module that closely resembles what you have in mind. From there you can convert, add or delete features and learn from there.

It's probably the best way to go in terms of learning.

5
limecity
Re: How do you make the simplest module?
  • 2004/3/22 5:09

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


Ok.. now i successfuly created my first basic greeter module.
INstall is successful.

trying to understand the code for the past hours.

why is there always a file called index.html witht the content of :

<script>history.go(-1);</script>

what does it mean.

and also.. how do i get my module to show up in the admin area?

6
Stewdio
Re: How do you make the simplest module?
  • 2004/3/22 5:23

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


I'm not sure how you go about getting your module in the admin section, further reading may be required.

The <script>history.go(-1);</script> is a "go back" feature that you can use on your page, instead of having the user click on "back" in the browser menu. This script is usually accompanied with an image, check it's usage to see how it works, I'm sure you'll see how the link works.

7
carnuke
Re: How do you make the simplest module?
  • 2004/3/22 9:23

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


Hi Carcity and Studio,

Jan304 has made a very useful sample module. You can get it from his site HERE

Richard

Login

Who's Online

176 user(s) are online (132 user(s) are browsing Support Forums)


Members: 0


Guests: 176


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