1
Mazar
probelm with module templates
  • 2009/7/30 13:10

  • Mazar

  • Not too shy to talk

  • Posts: 191

  • Since: 2009/1/4 0


I developed a small module then i cloned it to many modules. i changed all the variables and corresponding language constants. now whenever i update one module it will insert some templates from other module all modules behaving like this. what can be the problem?

Please help

2
frankblack
Re: probelm with module templates
  • 2009/7/30 14:39

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


xoops_version.php correct? The template files should have unique names corresponding to their module. I guess you have to change also the templatle files name.

3
culex
Re: probelm with module templates
  • 2009/7/30 15:20

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


Also make sure your functions are renamed so they will not clash with the original functions. For instance

function1 -> renamed -> yourmodule_FunctionTwo
Programming is like sex:
One mistake and you have to support it for the rest of your life.

4
Mazar
Re: probelm with module templates
  • 2009/7/30 18:22

  • Mazar

  • Not too shy to talk

  • Posts: 191

  • Since: 2009/1/4 0


My functions and template files all are renamed accordingly to module names. Will fork them again. When i unistall and install them works fine. Only clashes after i update them. Confused.

5
irecog
Re: probelm with module templates
  • 2009/7/30 18:27

  • irecog

  • Just popping in

  • Posts: 1

  • Since: 2009/7/30


I have problem, i create a new module but style not include.

Login

Who's Online

225 user(s) are online (152 user(s) are browsing Support Forums)


Members: 0


Guests: 225


more...

Donat-O-Meter

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

Latest GitHub Commits