Results 1 to 8 of 8

Thread: Question

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

    Default Question

    in app/config we have parameters.yml. Can i somehow add one more .yml file and connect to contao?
    I need this because parameters.yml is excluded when i deploy from git and i need to add more parameters to contao.

  2. #2
    User Spooky's Avatar
    Join Date
    01-03-13.
    Posts
    339

    Default

    Depends on the parameters. What exactly do you want to do?

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

    Default

    Quote Originally Posted by Spooky View Post
    Depends on the parameters. What exactly do you want to do?
    Want to add contao parameters for email and for removing suffix .html parameters

  4. #4
    User Spooky's Avatar
    Join Date
    01-03-13.
    Posts
    339

    Default

    Quote Originally Posted by rawelja View Post
    Want to add contao parameters for email
    What exactly do you mean by that?


    Quote Originally Posted by rawelja View Post
    and for removing suffix .html parameters
    Add the following to your app/config/config.yml
    Code:
    contao:
        url_suffix: ''

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

    Default

    Quote Originally Posted by Spooky View Post
    What exactly do you mean by that?


    Add the following to your app/config/config.yml
    Code:
    contao:
        url_suffix: ''
    yes but that file is excluded when i build website. I push that to git and build but nothing happens becouse of excluding. I can add manually via ssh to parameters.yml

  6. #6
    User Spooky's Avatar
    Join Date
    01-03-13.
    Posts
    339

    Default

    Quote Originally Posted by rawelja View Post
    yes but that file is excluded when i build website. I push that to git and build but nothing happens becouse of excluding. I can add manually via ssh to parameters.yml
    Why is app/config/config.yml excluded? You should only exclude app/config/parameters.yml

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

    Default

    Quote Originally Posted by Spooky View Post
    Why is app/config/config.yml excluded? You should only exclude app/config/parameters.yml

    Sorry i readed it wrong. In folder app/config i only have parameters.yml and parameters.yml is excluded. In that folder i dont have config.yml

  8. #8
    User Spooky's Avatar
    Join Date
    01-03-13.
    Posts
    339

    Default

    You have to create the file yourself.


    Also please do not name all of your threads "Question"!

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
  •