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.

Need Explanation of URL to "themes" folder and Theme Folder Path

March 06, 2011 1:13pm

Subscribe [4]
  • #1 / Mar 06, 2011 1:13pm

    hokua

    35 posts

    Hi All,

    I created a new topic a few days ago with question to why a change to my URL to “themes” folder and “Theme Folder Path” under Admin > General Configuration gave me an error in which I couldn’t see the Control Panel. Although that’s just background for this question, the thread is here: http://ellislab.com/forums/viewthread/182643/#864593

    I need to update my theme location to get an Add-On to work (Wygwam), but before I make any changes, I’d like to better understand why that happened. I’m working with a default installation, and I don’t plan on changing the default theme. I just need to make sure it points to the right place for this plugin to work. Currently, it does not work. (I will take this up with the add-on developer).

    Here are my current values for those fields:

    URL to your “themes” folder: http://appliedminerals.com/ee/themes/
    Theme Folder Path: http://appliedminerals.com/ee/themes/

    After the prior change (see forum link above), I couldn’t get the theme folder path to be what it was on install. After some experimenting I got it to the above URL via the following line in the config.php file:

    $config[‘theme_folder_path’] = “http://appliedminerals.com/ee/themes/”;

    So, my question is: what do “URL to your ‘themes’ folder” and “Theme Folder Path” mean, and what can I change them to? I have yet to find any documentation that details exactly what these two fields mean.

    Here are some details about my build/install:

    Host: GoDaddy (not my choice, believe me)
    Version 2.1.3 Build 20101220

    Thanks for any clarification here.

  • #2 / Mar 06, 2011 2:54pm

    Will Bolton

    30 posts

    The URL to your “themes” folder is a URL, while the Theme Folder Path is a folder path… That doesn’t really help you out much though does it? 😉

    A URL is in the form of http://domain.com/etc. whereas a folder path relates to the directory structure on the server, so it will look more like /home/username/public_html/etc.

    To find out what the folder path is create a file called path.php and place the following inside it:

    <?php
    $path = getcwd();
    echo $path;
    ?>

    Now upload path.php to your themes folder and take a look at it in your browser by visiting http://appliedminerals.com/ee/themes/path.php

    This should show you the folder path to your themes folder, so then copy and paste this into the Theme Folder Path field in the EE control panel. (You can remove the line you added to the config.php file). I’m not sure whether the path needs a trailing slash on the end or not - try both.

    Delete the path.php file from the server afterward.

    Assuming that your website is on a GoDaddy Linux box then you ought to end up with something like /home/content/u/s/e/username/html/ee/themes

    Hope that helps.

    P.S. You didn’t really need to start a new thread for this question since it is very much related to your prior thread.

  • #3 / Mar 07, 2011 3:31am

    John Henry Donovan

    12339 posts

    Thanks Will.

    hokua,

    Did the other (now resolved) thread help you here too?

  • #4 / Mar 07, 2011 10:19am

    hokua

    35 posts

    Thanks, Will!

    Yep, this helped a ton. Thank you!

  • #5 / Mar 07, 2011 3:19pm

    Ingmar

    29245 posts

    I’m very glad to hear that. Please post again in case there’s anything else.

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

ExpressionEngine News!

#eecms, #events, #releases