Jump to content


How to remove fields like Company, e-mail, department...


27 replies to this topic

#1 felipemath

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 12 July 2009 - 01:18 AM

Hi people! How can i remove fields like Company, e-mail, department from the first page (welcome page) from LiveZilla? I tried remove any lines from livezilla.php but it did not work... Please, help me!

#2 Guest_Ratica_*

  • Guests

Posted 12 July 2009 - 05:22 AM

Hi :)

You will have to do this in the file "lz_chat_frame.3.2.login.1.0.tpl".

Filelocation: /LiveZilla (or what you call the livezilla directory)/templates/frames/lz_chat_frame.3.2.login.1.0.tpl

#3 felipemath

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 13 July 2009 - 02:35 PM

Very good!!! Thanks! It worked very well! :D

#4 Visuex

    Advanced Member

  • Members
  • PipPipPip
  • 308 posts

Posted 08 August 2009 - 09:19 PM

you could also just bypass the login/contact form screen

http://www.livezilla.net/forum/viewtopi ... 2412#p2412

#5 Guest_joshkraemer_*

  • Guests

Posted 13 August 2009 - 09:14 PM

Ratica said:

Hi :)

You will have to do this in the file "lz_chat_frame.3.2.login.1.0.tpl".

Filelocation: /LiveZilla (or what you call the livezilla directory)/templates/frames/lz_chat_frame.3.2.login.1.0.tpl

I removed the company field in the template file mentioned, but now, when the user clicks the button to start a chat, nothing happens.

Do I need to adjust some of the javascript validation or ??????

#6 Visuex

    Advanced Member

  • Members
  • PipPipPip
  • 308 posts

Posted 13 August 2009 - 09:24 PM

ok well since you dont want to bypass it and still want people to put their names (next time specify exactly what you are wanting)

you should NOT remove them...because of the validation requires them to be there and if you are sure about your skills with removal of javascript then go ahead and do that but the easiest way is to simply change the fields from text inputs to hidden inputs and force a value with the value attribute.

value="not@applicable.com"

Take the inputs you want to remove and instead of them being

type="text"
change them to
type="hidden"

then add the value code like listed earlier.

If you are fairly confident with your html skills you could remove the JS as well for the same effect.

#7 waitz

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 17 August 2009 - 06:39 PM

Quote

(...) the easiest way is to simply change the fields from text inputs to hidden inputs and force a value with the value attribute.
I don't find the values that you refer to...
This is the row that refers to the company in lz_chat_frame.3.2.login.1.0.tpl:


:
What do I actually do with this piece of code?

Grateful for answer

#8 Visuex

    Advanced Member

  • Members
  • PipPipPip
  • 308 posts

Posted 17 August 2009 - 10:25 PM

replace with


:


#9 waitz

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 18 August 2009 - 07:27 AM

Ahh, I see. I had to remove the first .. in the row also, because otherwise the line was still there, saying Company:

Thanks

#10 Visuex

    Advanced Member

  • Members
  • PipPipPip
  • 308 posts

Posted 18 August 2009 - 12:20 PM

your welcome...glad I could help

#11 LekeFly

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 24 September 2009 - 12:07 PM

I dont see how to remove department..



iv tryed to paste the type="hidden" field everywhere..

#12 Derek Punzova

    Support Team Member

  • Moderators
  • 6057 posts

Posted 24 September 2009 - 12:22 PM

Try:

style="visibility:hidden;"

- If you like to suggest a new feature, please click here.
Kind Regards,
Derek

#13 LekeFly

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 24 September 2009 - 12:34 PM

Woho! Thanks.

now off to figure out how to remove the text:) maybe just do it with CSS?

#14 lenscoat

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 26 December 2009 - 02:04 AM

This thread has been very helpful and i have successfully removed "company" and "department" from the chat window login, thank you.

Now i am looking to do the same thing on the email/leave message screen. If live chat is off and they customer wants to send a message I would like not to have Company and Department show up. i believe the file that needs to be edited is lz_chat_frame.3.2.mail.tpl ?? I tried making similar changes like on the chat window and was able to remove them but then when you press send message nothing would happen so i must be doing something wrong, any assistance would be appreciated (i am not a programmer but can stumble through this stuff ok i guess).

Also is there a way that after a message is sent and the the dialog box pops up to say someone will be in touch shortly that when they click ok the dialog and leave message window closes?

thanks again

BTW- i am running the beta 3.1.8.4

#15 Derek Punzova

    Support Team Member

  • Moderators
  • 6057 posts

Posted 28 December 2009 - 12:41 PM

Quote

I tried making similar changes like on the chat window
Did you remove them? Or did you mark them just as invisible/hidden?
- If you like to suggest a new feature, please click here.
Kind Regards,
Derek

#16 lenscoat

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 28 December 2009 - 02:38 PM

First, Im not a programmer, but i want to answer your question with both, I made the fields hidden and removed the text, this has worked for me on the chat window but now i am looking to do the same thing on the email/leave message screen.

















#17 Derek Punzova

    Support Team Member

  • Moderators
  • 6057 posts

Posted 28 December 2009 - 03:00 PM

Quote

and removed the text
Don't do that. Just add the attribute

style="visibility:hidden;"

That works for me on chat login and on the email form as well.
- If you like to suggest a new feature, please click here.
Kind Regards,
Derek

#18 lenscoat

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 28 December 2009 - 03:27 PM

Well, i had tried that but the text was still showing up so i must have did it incorrectly as others have in the posts i had searched.
Here is the original code, would you mind showing me exactly what to do?


:



:



:



thanks so much for your assistance.

#19 Derek Punzova

    Support Team Member

  • Moderators
  • 6057 posts

Posted 28 December 2009 - 03:50 PM

Just replace

[quote][/quote]

by

[quote][/quote]
- If you like to suggest a new feature, please click here.
Kind Regards,
Derek

#20 lenscoat

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 29 December 2009 - 02:28 AM

Thank you.

That does remove/hide the field for company but how do i remove he text to the left of where the field was that says "Company:"?

also what would the change be to remove the text "Department:" and the drop down box to the right?





3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users