Results 1 to 9 of 9

Thread: Where to set API key?

  1. #1
    New user
    Join Date
    07-05-09.
    Posts
    27

    Default Where to set API key?

    this may sound a dumb question but I've been searching for 10 minutes where to put the API Key.

    in the extension page it reads "Store this key in the root page of the chosen website."

    In Layout > Site Structure I can't click on the website root :|



    what am I doing wrong??

  2. #2
    User MacKP's Avatar
    Join Date
    06-19-09.
    Location
    Duisburg (Germany)
    Posts
    211

    Default Re: Where to set API key?

    Hi JTO,
    make a new Page and set it to "Startpoint of a new Website" there you can set the key and the fallbacklanguage!
    Than copy all pages in that Startpoint!
    Now you are ready to play with TL ;-)

    You can look at demo.typolight.org there you can look in the backend what it must look like.

    regards
    Mediendepot Ruhr
    For real-time chat the (inofficial) Chatroom in IRC:
    -> irc.freenode.net #contao | irc.freenode.net #contao.de

  3. #3
    User
    Join Date
    06-19-09.
    Posts
    417

    Default Re: Where to set API key?

    Then it should look something like this:

    [attachment=0:25ntgo4a]site-root.PNG[/attachment:25ntgo4a]

  4. #4
    New user
    Join Date
    07-05-09.
    Posts
    27

    Default Re: Where to set API key?

    now I see where to put the api key: I didn't get an typoilight website needs a website root inside the main root

    thank you

  5. #5
    User
    Join Date
    06-19-09.
    Posts
    417

    Default Re: Where to set API key?

    Yep, I was in the same situation with my 1st site. I'm sure this will be covered in the new User Guides.

    Problem is at the moment, you only realise you need this structure once you come to implement the Googlemaps extension, probably some others as well.

    At least the way TL handles site structure it's easy to move everything inside your new root.

  6. #6
    New user
    Join Date
    07-10-09.
    Posts
    13

    Default Re: Where to set API key?

    Excuse me for sounding stupid but I still can't work out where the api key can be written. I have a root page obviously but cannot find a field that appears suitable. Help welcomed

  7. #7
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: Where to set API key?

    Just to say the latest version DOES NOT REQUIRE an api key, the module doesn't generate this field anymore as Google do not require it for the V3 API.

  8. #8
    New user
    Join Date
    08-28-11.
    Posts
    1

    Default Re: Where to set API key?

    Hi all,
    I think MacKP is absolutly correct.

  9. #9
    User MacKP's Avatar
    Join Date
    06-19-09.
    Location
    Duisburg (Germany)
    Posts
    211

    Default Re: Where to set API key?

    Hmm I was right, but at the new version you don't need an api-Key. The version now use the new way of google. And there you don't need it ;-)

    regards
    Mediendepot Ruhr
    For real-time chat the (inofficial) Chatroom in IRC:
    -> irc.freenode.net #contao | irc.freenode.net #contao.de

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
  •