[pLog-svn] resource links {blogdomain}?

Jon Daley plogworld at jon.limedaley.com
Wed Jan 17 12:43:54 GMT 2007


 	The rest of the URLs work fine, I think it can't figure out which 
blog the resource belongs to.  I might be remembering incorrectly.  Now I 
am thinking it just returns a blank page, though sometimes (in other 
situations) the content-type is an image, and so if LT was returning text, 
the browser wouldn't display it.
 	I'll get around to looking at it at some point.  I assume this 
works on regular subdomains, and not blogdomains, and no one is using 
blogdomains yet except me, so people haven't discovered it.
 	If you are interested, you can check this out - or try to see if 
there are any other bugs, by using {blogdomain} in your 
subdomain_base_url, even if you only have one blog.

On Wed, 17 Jan 2007, Oscar Renalias wrote:

> I wonder whether that's coming from LT or from the web server.
>
> On 17 Jan 2007, at 14:27, Jon Daley wrote:
>
>> 	Right, the subdomain URL is not working.  I get a 404 error.
>> 
>> On Wed, 17 Jan 2007, Oscar Renalias wrote:
>>> I don't understand the change... If you want to use the subdomains base 
>>> url, then why are you using 'false' in the call to getBaseUrl()? This will 
>>> effectively give you the base url using base_url instead of 
>>> subdomains_base_url.
>>> 
>>> On 17 Jan 2007, at 00:05, Jon Daley wrote:
>>>
>>>> 	I am having to change this code (and the other two places) to get the 
>>>> resources to show up correctly on 1.1.5.
>>>> 	I am using {blogdomain} in my subdomains.  I remember someone 
>>>> complaining about this at one point - that the base_url was used in the 
>>>> resources, rather than the subdomain - was this changed - maybe it is a 
>>>> blogdomain specific problem?
>>>> Index: net/customrequestgenerator.class.php
>>>> ===================================================================
>>>> --- net/customrequestgenerator.class.php        (revision 4526)
>>>> +++ net/customrequestgenerator.class.php        (working copy)
>>>> - $resourcePreviewLink = $this->getBaseUrl().
>>>> + $resourcePreviewLink = $this->getBaseUrl(false).
>>>> -- 
>>>> Jon Daley
>>>> http://jon.limedaley.com/
>>>> Music: A safe kind of high
>>>> -- Jimi Hendrix
>>>> _______________________________________________
>>>> pLog-svn mailing list
>>>> pLog-svn at devel.lifetype.net
>>>> http://devel.lifetype.net/mailman/listinfo/plog-svn
>>> 
>>> _______________________________________________
>>> pLog-svn mailing list
>>> pLog-svn at devel.lifetype.net
>>> http://devel.lifetype.net/mailman/listinfo/plog-svn
>> 
>> -- 
>> Jon Daley
>> http://jon.limedaley.com/
>> 
>> All who would win joy, must share it; happiness was born a twin.
>> -- Lord Byron
>> _______________________________________________
>> pLog-svn mailing list
>> pLog-svn at devel.lifetype.net
>> http://devel.lifetype.net/mailman/listinfo/plog-svn
>> 
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn

-- 
Jon Daley
http://jon.limedaley.com/

You are only as wise as others perceive you to be.
-- M. Shawn Cole


More information about the pLog-svn mailing list