22 Posts
kail
6 years ago
Topic

I need to create a contact us form. which is publicly accessible. This is solely meant for site admin. So it need not be any content type.

I tried some ways but don`t know How to create a standalone content type without linking to any standard joomla table.

Any suggestions.

Get a VIP membership
4229 Posts
Kadministrator
6 years ago
4
Level 1

You always need a content type, but you can choose None as object, this way no records will be created in the database.

22 Posts
kail
6 years ago
3
Level 2

Thanks, Did you mean this by object.

Though, I don`t get it. 

You said," this way no records will be created in the database. "  did you mean some table in the database. 

In my contact form I have two fields labelled as subject and category which relates to the title and catid in the core joomla content table. these are the only field that relate to the core joomla tables.

if I remove these field than article do not get saved. 

Please suggest some alternative way as contact form is meant for site admin only.

4229 Posts
Kadministrator
6 years ago
2
Level 3

So what is actually your problem? You want to have a content type that does not save to the database or - content type that only uses some 3rd party table? If second is the case then you need to use Free object

22 Posts
kail
6 years ago
1
Level 4

OK Thanks a lot for your support.

But in the tutorial it only covered list view in the front end.

what should I do to get item view in the front end.

4229 Posts
Kadministrator
6 years ago
0
Level 5

Unfortunately there is currently no item view for free object.

Get a Book for SEBLOD