I want to use ListItExtended to receive Form data (instead of Form Browser as that is no longer in development and has limitations for what I need).
The annoying thing is that ListItExtended creates default fields for Title and Alias which I do not need. I can't see any way of removing or disabling these fields which will just confuse the users who need to use this module to add/edit/modify the form form data.
Is it possible to remove or hide these default fields? The Title field also interferes with my form because I am recording a Personal Title i.e. Mr, Mrs, Ms, Dr etc. In the form it is called "Title" and so of course it gets placed in the wrong place.
ListItExtended - want to remove alias and Title defaults
-
d4creative
- Forum Members

- Posts: 58
- Joined: Mon Nov 01, 2010 10:40 pm
-
Stikki
Re: ListItExtended - want to remove alias and Title defaults
Answer short:
Nope.
We have already removed all fields from templates that ain't mandatory. These two will remain mandatory, as item needs 1 printable value and alias to identify item with something else than based on ID.
So sorry but this won't change.
Nope.
We have already removed all fields from templates that ain't mandatory. These two will remain mandatory, as item needs 1 printable value and alias to identify item with something else than based on ID.
So sorry but this won't change.
-
d4creative
- Forum Members

- Posts: 58
- Joined: Mon Nov 01, 2010 10:40 pm
Re: ListItExtended - want to remove alias and Title defaults
I did suspect that was the case. Oh well. Nothing a bit of workaround and client education wont fix.
Thanks.
Thanks.
-
gocreative
- Power Poster

- Posts: 265
- Joined: Mon Mar 14, 2011 1:16 am
Re: ListItExtended - want to remove alias and Title defaults
Why don't you adjust the ListIt editor template to hide those fields using CSS? If you wanted to be super tricky you could hide them only for non-admin users (e.g. yourself) with some Smarty code.
-
d4creative
- Forum Members

- Posts: 58
- Joined: Mon Nov 01, 2010 10:40 pm
Re: ListItExtended - want to remove alias and Title defaults
Thanks for the thought. If it was a publicly displayed list on a page then I would, but I am using it to receive form data for a conference registration and also need to be able to add manual registrations via the backend admin. It's not public and the content is only displayed in the admin via the module.
-
gocreative
- Power Poster

- Posts: 265
- Joined: Mon Mar 14, 2011 1:16 am
Re: ListItExtended - want to remove alias and Title defaults
Sorry, I should have been clearer. I was talking about making those changes to the admin interface, i.e. if a form submission is received into your ListIt2 module, when your client goes to Content > YourListIt2Instance, the Title is not displayed (due to custom admin template/CSS override). Similarly when editing the item, the Title and Alias would be hidden due to your custom admin overrides/CSS.
And the other point I was making was that if you wanted to hide the Title and Alias from your client but you can still see them when you log in, you could use Smarty inside your template to check whether it's yourself or the client logged in, and hide/show the fields accordingly.
I've done this myself before (not the Smarty stuff) by creating a new folder under /module_custom for the relevant LI2 instance, copying the relevant template files there and making my changes.
Let me know if this still isn't making sense.
And the other point I was making was that if you wanted to hide the Title and Alias from your client but you can still see them when you log in, you could use Smarty inside your template to check whether it's yourself or the client logged in, and hide/show the fields accordingly.
I've done this myself before (not the Smarty stuff) by creating a new folder under /module_custom for the relevant LI2 instance, copying the relevant template files there and making my changes.
Let me know if this still isn't making sense.
