Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Hide fields in the event creation form

Hide fields in the event creation form 3 months 4 weeks ago #26075

Hello in the event creation form, I want to hide the fields:
- title
- alias
- in the spotlight
- situation
- access

Is this possible and how can it be done?

Thank you to you.

Christophe

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

Hide fields in the event creation form 3 months 4 weeks ago #26077

  • Egnarts
  • Egnarts's Avatar
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 262
  • Karma: -3
  • Thank you received: 110
Do you want to hide that in the fronend or backend?
I think hiding the title is not good, because it is required for creating an event.

What do you mean with "in the spotlight" and "situation".

Why do you want those fields?
Take a look at the responsive version of JEM: The Responsive JEM

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

Hide fields in the event creation form 3 months 4 weeks ago #26078

  • jojo12
  • jojo12's Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 3074
  • Karma: 45
  • Thank you received: 322
Sorry, I don't understand: Can you use the official names please!

Normally you need for an event: WHO offers WHAT, WHEN, WHERE, for WHOOM, HOW MUCH costs.
Title = WHO
in the placeholder for ALIAS there should be written: is generated automatically

what do you mean with: in the spotlight, situation, access?
5.5.5-10.0.30-MariaDB-0+deb8u1
PHP 7.2.9 on different sites
Apache
JEM 2.3.0dev 2.0M and specials with Joomla! 3.9.3 stable on livesites
ja_simply, ja_purity_iii, multilingual DE EN IT FR

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

Hide fields in the event creation form 3 months 4 weeks ago #26080

Hello and thank you for answering me.

1. it is in the "public" part, in the Front End, when a user wants to create an event
2. after reflection I would only like to hide the fields "status", "access" and "star" and assign default values:
- featured = no
- Status = published
- access = public

I would like to know where to intervene, on which file?

Thank you, very cordially

Christophe
Attachments:

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

Hide fields in the event creation form 3 months 3 weeks ago #26084

  • hekla
  • hekla's Avatar
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 148
  • Karma: 8
  • Thank you received: 75
you can do this with a template override – just delete these fields there
JEM 2.2.3 / JEM 2.2.3 with core mods (custom fields) / 2.3dev (Egnarts Version)
Joomla always up to date
php 7.2/7.3
The following user(s) said Thank You: jojo12

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

Hide fields in the event creation form 3 months 3 weeks ago #26086

  • Egnarts
  • Egnarts's Avatar
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 262
  • Karma: -3
  • Thank you received: 110
Copy the file <JoomlaRoot>/components/com_jem/views/editevent/tmpl/edit.php to <JoomlaRoot>/templates/<YourTemplate>/html/com_jem/editevent/edit.php and uncomment the following lines:
137 (featured)
138 (published)
139-143 (access)
Take a look at the responsive version of JEM: The Responsive JEM

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

Last edit: by jojo12.
  • Page:
  • 1
  • 2
Time to create page: 0.216 seconds

Donate

If you find JEM useful and if you use it on your site, please consider a donation to the project.

Private Messages

You are not logged in.