Author Topic: Override Login View  (Read 768 times)

Offline Antoine

  • Sr. Member
  • ****
  • Posts: 154
    • View Profile
Override Login View
« on: 28/June/2011, 12:59:18 AM »
Where can we edit the 'You are not connected' page view ?

Offline netshine

  • Administrator
  • Hero Member
  • *****
  • Posts: 4,952
    • View Profile
Re: Override Login View
« Reply #1 on: 28/June/2011, 10:46:28 AM »
Sorry, I think something was lost in translation there! I don't know what you mean by "the 'You are not connected' page view"...

Offline Antoine

  • Sr. Member
  • ****
  • Posts: 154
    • View Profile
Re: Override Login View
« Reply #2 on: 28/June/2011, 12:10:43 PM »
Please see enclosed the page / login form I want to make pretty.

Offline netshine

  • Administrator
  • Hero Member
  • *****
  • Posts: 4,952
    • View Profile
Re: Override Login View
« Reply #3 on: 28/June/2011, 01:17:59 PM »
That is output in /components/com_nbill/nbill.html.php (display_login_box function), but as always I advise against customising core files unless absolutely necessary as it makes it more difficult to upgrade.

Offline Antoine

  • Sr. Member
  • ****
  • Posts: 154
    • View Profile
Re: Override Login View
« Reply #4 on: 12/July/2011, 01:59:32 PM »
Perfect, made my modifications, will look after when upgrading.
What about $login_control->render_control();
Where could I edit the markup ?

Offline netshine

  • Administrator
  • Hero Member
  • *****
  • Posts: 4,952
    • View Profile
Re: Override Login View
« Reply #5 on: 12/July/2011, 02:34:37 PM »
That is a field control, which you can override using the custom file at /administrator/components/com_nbill/form_editor/field_controls/custom/nbill.field.control.oo.php (this file can be used to override the ../default/nbill.field.control.oo.default.php file).

Offline Antoine

  • Sr. Member
  • ****
  • Posts: 154
    • View Profile
Re: Override Login View
« Reply #6 on: 12/July/2011, 02:37:43 PM »
Great! Thank you ?

 

anything