Results 1 to 5 of 5

Thread: Contao 4.x Website Development - User Registration, Email needs to be set as Username

  1. #1
    User
    Join Date
    02-05-19.
    Posts
    66

    Frage Contao 4.x Website Development - User Registration, Email needs to be set as Username

    Registration page has been created. But still there are 2 issues.
    1. Email cannot set as Username.
    2. Registration confirmation and activation pages are opening in the same Registration page.

  2. #2
    User
    Join Date
    05-21-18.
    Posts
    126

    Default

    Quote Originally Posted by alahiri View Post
    Registration page has been created. But still there are 2 issues.
    1. Email cannot set as Username.
    2. Registration confirmation and activation pages are opening in the same Registration page.
    If this is not late, you can use module terminal42 module "mailusername"

  3. #3
    User
    Join Date
    02-05-19.
    Posts
    66

    Default Select records from table and display & Extension Development

    Quote Originally Posted by rawelja View Post
    If this is not late, you can use module terminal42 module "mailusername"
    Thank you. I have already used this.

    I am sticking to some issues now. Please have a look into the thread Select records from table and display.
    Could you please bring some light on how can I start developing Extension in Contao 4?
    Also tell me, if it is possible to embed an extra PHP page into Contao Article / Site structure / Module. Suppose I wish to display 'Hello World' and run custom SQL query.

    Looking forward to good help.
    Last edited by alahiri; 03/28/2019 at 12:11.

  4. #4
    User
    Join Date
    05-21-18.
    Posts
    126

    Default

    Quote Originally Posted by alahiri View Post
    Thank you. I have already used this.

    I am sticking to some issues now. Please have a look into the thread Select records from table and display.
    Could you please bring some light on how can I start developing Extension in Contao 4?
    Also tell me, if it is possible to embed an extra PHP page into Contao Article / Site structure / Module. Suppose I wish to display 'Hello World' and run custom SQL query.

    Looking forward to good help.
    Again i am late. You can get records from database by this code. This is example please search whole project for something similar
    $data= \Database::getInstance()->execute("SELECT * FROM tl_table");

  5. #5
    User
    Join Date
    05-21-18.
    Posts
    126

    Default

    If you want to create a custom module follow this:
    https://docs.contao.org/books/cookbo...ule/part1.html
    To insert into the database, you need to create dca field, update the database after that. You need also to set up the config and autoload templates.
    If you want I can provide you with simple hello world module

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •