ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

set path to template foldder and third party?

February 08, 2012 1:22pm

Subscribe [3]
  • #1 / Feb 08, 2012 1:22pm

    fensterbaby

    289 posts

    Just installed 2.4

    Where do I set the path to third_party and templates folder if I want to move those?

    Looked everywhere,

    Thanks

  • #2 / Feb 09, 2012 3:40pm

    Dan Decker

    7338 posts

    Hi fensterbaby,

    To set the third_party path, you need to add this to /system/expressionengine/config/config.php

    $config['third_party_path'] = 'path/to/third_party';

    And for templates:

    $config['tmpl_file_basepath'] = 'path/to/templates';


    Cheers!

  • #3 / Feb 13, 2012 4:08am

    Heiko

    135 posts

    Nice! But what about /themes/third_party/ ?

    I have found info on PATH_THIRD_THEMES and URL_THIRD_THEMES, but where and how do I implement those?

  • #4 / Feb 13, 2012 5:07pm

    I’d also like to know how to change the path to something other than webroot/themes/third_party/.

  • #5 / Feb 13, 2012 5:17pm

    From the blog post here: http://ellislab.com/blog/entry/expressionengine_2.4.0_released

    Developers will also find a number of significant additions in this release.  Two new constants, URL_THEMES_THIRD and PATH_THEMES_THIRD, have been added with the goal of allowing users to fully customize the location of third party folders. These two constants point to the URL and the path of the themes/third_party/ directory. We’d like you to start using these right away and have your add-ons using them by our next major release because we’ll be introducing two new config variables that allow users to override these settings.  In conjunction with the new third_party_path config variable, users will then be able to keep third_party folders completely out of the system/ and themes/ directory, making upgrading easier.

    In other words, the path to the themes folder in the webroot cannot be overwritten yet; that will become available in 2.5, which, according to another post, should be available in the first half of March (6-8 weeks after January 24).

    Hat tip to @adrienneleigh on Twitter for pointing me in the right direction: http://twitter.com/#!/adrienneleigh/status/169181253533310976

  • #6 / Feb 13, 2012 8:23pm

    Sean C. Smith

    3818 posts

    Heiko,

    Does Nicks post help? Nick thanks for the help on this one.

    Sean

  • #7 / Feb 14, 2012 1:05am

    Heiko

    135 posts

    Yes, thanks, guys! I’m glad about these things getting implemented. They finally make switching between different environments a snap.

  • #8 / Feb 15, 2012 2:57pm

    Dan Decker

    7338 posts

    Hi Heiko,

    We’re pretty excited for 2.5 as well!

    If any of you need assistance in the future, just let us know in a new thread.

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases