ListIt2 and module_custom

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
psy
Power Poster
Power Poster
Posts: 463
Joined: Sat Jan 22, 2005 11:19 am

ListIt2 and module_custom

Post by psy »

Been trying to create a customised admin template for a ListIt2 instance but cannot get it to work. Folder structure is:

module_custom
- ListIt2
--framework
---templates

then my altered itemtab.tpl

Does LI2 support module_custom and if so, what should I be doing differently?
chandra

Re: ListIt2 and module_custom

Post by chandra »

Think default path is /module_custom/ListIt2/templates. Have you tried that?
psy
Power Poster
Power Poster
Posts: 463
Joined: Sat Jan 22, 2005 11:19 am

Re: ListIt2 and module_custom

Post by psy »

Thanks but that's the path to the ListIt2 module itself, not a custom instance.

I need to change the custom ListIt2 instance itemtab.tpl which is in the framework templates directory.

The changes can apply to all ListIt2 instances on the site. The template has to display data from another module for field types FEUDropDown and XLink, instead of simply the associated id when they're specified to show in the Item tab list.

That bit I've figured out how to do but I do not want to change the original itemtab.tpl file.
chandra

Re: ListIt2 and module_custom

Post by chandra »

The path with framework inside is not supported by module_custom.

Have you tried /module_custom/ListIt2Instance_name/templates?
uniqu3

Re: ListIt2 and module_custom

Post by uniqu3 »

module_custom is supported, like chandra explained "module_custom/ListIt2Whatever/templates/" or directly in instance module folder "modules/ListIt2Whatever/templates".
psy
Power Poster
Power Poster
Posts: 463
Joined: Sat Jan 22, 2005 11:19 am

Re: ListIt2 and module_custom

Post by psy »

Thanks Chandra and Uniq3 :-*
Post Reply

Return to “Modules/Add-Ons”