xoops forums

goffy

Quite a regular
Posted on: 2016/9/4 5:33
goffy
goffy (Show more)
Quite a regular
Posts: 271
Since: 2010/12/27
#1

xoops 2.5.8 and tdmcreate 1.91

Hi

Xoops 2.5.9 Beta 1
TDMCreate 1.91 Alpha 3.4

following problem:
tdmcreate for a module in folder templates
- the subfolder 'admin' (for admin templates)
- the subfolder 'block' (for block templates)
- all user templates

if you create with System->Template Manager (...modules/system/admin.php?fct=tplsets) a new template set in your theme, you have only
- the subfolder 'block' (for block templates)
all user templates

the subfolder 'admin' (for admin templates) is missing

what should be changed? tdmcreate or System->Template Manager?

I suggest to change Template Manager

timgno

Module Developer
Posted on: 2016/9/9 17:19
timgno
timgno (Show more)
Module Developer
Posts: 1502
Since: 2007/6/21
#2

Re: xoops 2.5.8 and tdmcreate 1.91

The module tdmcreate isn't to blame, it's system that has never created the templates/admin

goffy

Quite a regular
Posted on: 2016/9/14 16:46
goffy
goffy (Show more)
Quite a regular
Posts: 271
Since: 2010/12/27
#3

Re: xoops 2.5.8 and tdmcreate 1.91

Hi timgno

thats strange

1) I downloaded and installed last version https://github.com/txmodxoops/tdmcreate-1.91
2) i created a module named testmodules1
3) I created a table named testtables1
4) I built the module

if I go now to ...\uploads\tdmcreate\repository\testmodules1\templates I see
- folder 'admin'
- file index.html
- file testmodules1_breadcrumbs.tpl
- file testmodules1_footer.tpl
....

timgno

Module Developer
Posted on: 2016/9/15 12:28
timgno
timgno (Show more)
Module Developer
Posts: 1502
Since: 2007/6/21
#4

Re: xoops 2.5.8 and tdmcreate 1.91

@goffy

Not long ago, I updated the TDMCreateArchitectures.php file,

I forget, is likely to be created them

goffy

Quite a regular
Posted on: 2016/9/16 11:55
goffy
goffy (Show more)
Quite a regular
Posts: 271
Since: 2010/12/27
#5

Re: xoops 2.5.8 and tdmcreate 1.91



not problem, and I like it, because I like structured folders.

but then we should adopt xoops core

timgno

Module Developer
Posted on: 2016/9/22 7:02
timgno
timgno (Show more)
Module Developer
Posts: 1502
Since: 2007/6/21
#6

Re: xoops 2.5.8 and tdmcreate 1.91

This was not done long ago, because it is not used in the admin templates files, but now it is, and we should adopt this method from within the core in system templates