Skip to Content Skip to Menu

add a class to form in editprofil view

  • sebnanou
  • sebnanou
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 0
  • Add-ons
11 years 5 months ago #225984 by sebnanou
add a class to form in editprofil view was created by sebnanou
Hi
In my template I have had this line :
echo str_replace( 'class="cb_form"', 'class="cb_form box style"', $this->regFormTag ); }
to add a class to the registration form but do you know if I can do the same for the edit profil view.
I would prefer not to touch the compofiler.html.php file by simply adding my class to this line :
<form action="<?php echo cbSef("index.php?option=$option".getCBprofileItemid(true)); ?>" method="post" id="cbcheckedadminForm" name="adminForm" enctype="multipart/form-data" class="cb_form" autocomplete="off">

and add this function in the template file if this is possible ?
Thanks
Vanessa

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

  • sebnanou
  • sebnanou
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 0
  • Add-ons
11 years 5 months ago #225985 by sebnanou
Replied by sebnanou on topic add a class to form in editprofil view
I would also like to remove the tabs in the edit view can you tell me how ?
thanks

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

Moderators: beatnantkrileon
Powered by Kunena Forum