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

TOPIC: disable fields

disable fields 1 year 3 months ago #7809

  • Dirk Juergens
  • Dirk Juergens's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 1
  • Karma: 0
Hi,
I want to disable some fields, too.
I was trying CSS Override, but only succeded in hiding the elements (input, textaerea) but not their labels, because the labels and the parent-elements (control-group) have no attribute to target them. So now I want to take a look at the code. But unfortunately the aforementioned path does not contain such html-code.
What is the path in the current version of jomclassifieds?
Is it default_edit.php and default_add.php? What about the default_editaccordion.php and the default_addaccordion.php?
Thanks in advance.
Dirk
The administrator has disabled public write access.

disable fields 1 year 3 months ago #7810

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 3010
  • Thank you received: 350
  • Karma: 46
Hi Dirk,
Yes, the html code for the listing form will be available default_edit.php and default_add.php from components/com_jomclassifieds/views/user/tmpl
The default_editaccordion.php and the default_addaccordion.php files will be called when you turn on accordion.

Thanks
The administrator has disabled public write access.
The following user(s) said Thank You: Dirk Juergens

disable fields 1 year 3 months ago #7811

  • Dirk Juergens
  • Dirk Juergens's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 1
  • Karma: 0
Hi,
Everything working fine now.
Many, many thanks.
Dirk
The administrator has disabled public write access.

disable fields 7 months 3 weeks ago #7943

  • i. ana
  • i. ana's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
Update:

If you belive you will change your mind later, in
components/com_jomclassifieds/views/user/tmpl/default_edit,
and in
components/com_jomclassifieds/views/user/tmpl/default_add,

you can simply replace
<div class="control-group">
with
<div class="control-group jomcl-hide">

Example
<div class="control-group jomcl-hide">
<label class="control-label"><?php echo JText::_('YOUTUBE_VIDEO'); ?>
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.143 seconds

Contact us

  No.2/A, Venkateshwara Nagar,
1st Main Road, 100 Feet Road, SBM Towers, Velachery,Chennai - 600 042,India.
 admin@jomclassifieds.com
 skype.jomclassifieds
 
 
Copyright © 2013-2019 Jomclassifieds.com. All rights reserved. The Joomla! name, and logo are used under a limited license granted in the United States and other countries.