Keyword

Show extra field on itemform.php but not item.php

  • lcp298
  • lcp298's Avatar Topic Author
  • Offline
  • New Member
More
10 years 7 months ago #125291 by lcp298
I need to hide an extra field (just 1 out of many extra fields) from public view, so I unpublished it. However I do need to show it on the itemform so it can be filled in by a registered user.

Is there a good way to do this?

Please Log in or Create an account to join the conversation.

More
10 years 7 months ago #125292 by Lefteris
Hi. There are two ways to do this:

1. Make a template override for item.php and in the loop where extra fields are displayed skip the one you want to be hidden by checking it's alias or id.
2. Hide it with CSS.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • lcp298
  • lcp298's Avatar Topic Author
  • Offline
  • New Member
More
10 years 7 months ago #125293 by lcp298
Hiding with CSS was the way I would have done it, just wanted to check there wasn't a better way.

Thanks

Please Log in or Create an account to join the conversation.

More
10 years 7 months ago #125294 by Lefteris
You are welcome.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum