[pLog-svn] r4576 - plog/trunk/templates/admin

Oscar Renalias oscar at renalias.net
Fri Jan 26 04:40:46 EST 2007


> Hello,
>    I'll revert the change.  But how do you support using the Custom  
> url format described here:
>
> http://wiki.lifetype.net/index.php/ 
> Custom_URLs#How_to_customize_URLs_when_we_are_the_only_user_in_the_sit 
> e

This is unfortunately not supported anymore. In exchange users get a  
performance boost when handling resources, as the web server will now  
be serving them instead of LT.

> I just created a new 1.2 blog, and I wanted to use this Custom URL  
> format.  Also will the 1.2 upgrade break the links to resources, if  
> a 1.1 is using the Custom url format as described above?

I haven't tested this specific case but I don't see why it should be  
broken.

The code that handles custom URLs for resources has not changed since  
LT 1.1. The only difference is that now after parsing the blog name,  
album name and file name, it will send an HTTP redirect to the new  
URL instead of serving the file from PHP code. Users won't even  
notice that this is happening...

>
>
> --Paul
>
> On Jan 25, 2007, at 10:06 PM, Oscar Renalias wrote:
>
>> These fields are actually meant to be uneditable :-)
>>
>> LT 1.2 uses static links to resources so in order to keep pre-1.2  
>> links to resources working, we need to know what format was  
>> previously used. If you change these fields, it won't be possible  
>> for LT to keep old links working.
>>
>> I should probably update the strings describing these fields to  
>> reflect this.
>>
>> On 26 Jan 2007, at 06:21, pwestbro at devel.lifetype.net wrote:
>>
>>> Author: pwestbro
>>> Date: 2007-01-26 04:21:02 +0000 (Fri, 26 Jan 2007)
>>> New Revision: 4576
>>>
>>> Modified:
>>>    plog/trunk/templates/admin/globalsettings_url.template
>>> Log:
>>> Fixed a problem where several of the url formats couldn't be  
>>> changed.
>>>
>>>
>>> Modified: plog/trunk/templates/admin/globalsettings_url.template
>>> ===================================================================
>>> --- plog/trunk/templates/admin/globalsettings_url.template	 
>>> 2007-01-26 04:00:32 UTC (rev 4575)
>>> +++ plog/trunk/templates/admin/globalsettings_url.template	 
>>> 2007-01-26 04:21:02 UTC (rev 4576)
>>> @@ -81,19 +81,19 @@
>>>     <div class="field">
>>>      <label for="config 
>>> [resource_preview_link_format]">resource_preview_link_format</label>
>>>      <div class="formHelp">{$locale->tr 
>>> ("help_resource_preview_link_format")}</div>	
>>> -    <input disabled="disabled" style="width:100%" type="text"  
>>> id="config[resource_preview_link_format]" name="config 
>>> [resource_preview_link_format]"  
>>> value="{$resource_preview_link_format}"/>
>>> +    <input style="width:100%" type="text" id="config 
>>> [resource_preview_link_format]" name="config 
>>> [resource_preview_link_format]"  
>>> value="{$resource_preview_link_format}"/>
>>>     </div>
>>>     <!-- resource_preview_link_format -->
>>>     <div class="field">
>>>      <label for="config 
>>> [resource_medium_size_preview_link_format]">resource_medium_size_pre 
>>> view_link_format</label>
>>>      <div class="formHelp">{$locale->tr 
>>> ("help_resource_medium_size_preview_link_format")}</div>	
>>> -    <input disabled="disabled" style="width:100%" type="text"  
>>> id="config[resource_medium_size_preview_link_format]" name="config 
>>> [resource_medium_size_preview_link_format]"  
>>> value="{$resource_medium_size_preview_link_format}"/>
>>> +    <input style="width:100%" type="text" id="config 
>>> [resource_medium_size_preview_link_format]" name="config 
>>> [resource_medium_size_preview_link_format]"  
>>> value="{$resource_medium_size_preview_link_format}"/>
>>>     </div>
>>>     <!-- resource_download_link_format -->
>>>     <div class="field">
>>>      <label for="config 
>>> [resource_download_link_format]">resource_download_link_format</ 
>>> label>
>>>      <div class="formHelp">{$locale->tr 
>>> ("help_resource_download_link_format")}</div>	
>>> -    <input disabled="disabled" style="width:100%" type="text"  
>>> id="config[resource_download_link_format]" name="config 
>>> [resource_download_link_format]"  
>>> value="{$resource_download_link_format}"/>
>>> +    <input style="width:100%" type="text" id="config 
>>> [resource_download_link_format]" name="config 
>>> [resource_download_link_format]"  
>>> value="{$resource_download_link_format}"/>
>>>     </div>
>>>     <!-- page_suffix_format -->
>>>     <div class="field">
>>>
>>> _______________________________________________
>>> 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
>
> --
> Paul Westbrook
> paul at westbrooks.org
> <http://www.westbrooks.org>
>
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn
>



More information about the pLog-svn mailing list