Path Question
Posted: 03 August 2004 05:28 AM   [ Ignore ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1506
Joined  05-15-2004

In the Global Variables section of the User Guide, the following is said:

“The path variable is substituted with the template group and template name you specify, and it will automatically include your base site path.”

Is the base site path the URL (and index file) specified in the General Configuration or the URL specified in the preferences for each weblog?

If it is the URL from General Configuration, am I then correct in assuming that you can’t use the path variable if you use multiple entry points for EE (either in regular subdirectories or in subdirectories that are setup as their own domains) , but rather have to hardcode all the paths?

 Signature 


:: Westeros :: Hippoi Athanatoi ::

Blackadder: “Baldrick, have you no idea what irony is?”   
Baldrick: “Yeah! It’s like goldy and bronzy, only it’s made of iron.”
Blackadder III, Amy and Amiability

Profile
 
 
Posted: 03 August 2004 08:55 AM   [ Ignore ]   [ # 1 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  9868
Joined  06-19-2002

It comes from the General Configuration setting in a standard setup.  Since it’s a “global variable” (available everywhere) there’s no way EE could know which of the ‘weblog’ paths you might want.

However, if you’re using the subdomains/multidomains/entry points bit, then part of what you are specifying is your $site_url which, I’m pretty sure, will be used in these cases as it basically “overrides” the General Configuration setting for that subdomain/domain/whatever.

 Signature 

Chris Curtis
chriscurtis.org

Profile
 
 
Posted: 03 August 2004 09:26 AM   [ Ignore ]   [ # 2 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1506
Joined  05-15-2004

Ah, okay, that makes sense. Thanks. smile

 Signature 


:: Westeros :: Hippoi Athanatoi ::

Blackadder: “Baldrick, have you no idea what irony is?”   
Baldrick: “Yeah! It’s like goldy and bronzy, only it’s made of iron.”
Blackadder III, Amy and Amiability

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 65087 Total Logged-in Users: 33
Total Topics: 82228 Total Anonymous Users: 16
Total Replies: 441927 Total Guests: 223
Total Posts: 524155    
Members ( View Memberlist )