[TYPO3-english] TYPO3 6.2, CoolURI and Disqus ext. problem

Luis E. Suarez nospam at please.com
Mon Jul 18 15:03:34 CEST 2016


Hi Jan,

I´m sorry about that, so, I will continue hacking it cause that's what I 
need.  Maybe some day very far in the future I will have the time to 
think about coding an extension for such simple task.

BTW, I have never used it but I wonder if RealURL is capable to do that.

Regards
Luis

On 17-Jul-16 02:16 AM, Jan Bednarik wrote:
> Hi Luis,
>
> since it's a BE hook, the configuration cannot be added to
> CoolUriConf.xml. It'd have to be extension configuration option if
> something.
>
> Well, there's always an option of writing .htaccess rule to dump this
> parameter (e.g.
> http://stackoverflow.com/questions/18935020/use-mod-rewrite-to-remove-parameter)
>
>
> Regards
>
> Jan
>
> Dne 15.07.2016 v 15:48 Luis E. Suarez napsal(a):
>> Hi Jan,
>>
>> I changed my mind.  The best approach is to include an option in CoolURI
>> to avoid adding ADMCMD_prev parameter in the URL.  The reason, aside
>> from the Disqus problem, is that I wish to be sure the URL is correct
>> when previewing a new page form the BE.
>>
>> For the time being I commented out the last line of code in
>> BackendUtilityHook.php, hopping that you add the option in
>> CoolUriConf.xml and appropriate code in  the script.  Will you  please?
>>
>> Best regards
>> Luis
>>
>>
>> On 14-Jul-16 02:54 PM, Jan Bednarik wrote:
>>> Hi,
>>>
>>> I remember there was a request not to redirect to nice URL when page is
>>> previewed from BE. I don't remember why, but it made sense, so it was
>>> implemented.
>>>
>>> Regards
>>>
>>> Jan
>>>
>>> Dne 14.07.2016 v 17:48 Luis E. Suarez napsal(a):
>>>> Hi,
>>>>
>>>> Using previous TYPO3 and CoolURI versions, each time I click "View
>>>> webpage" at the Backend the first not empty tx_realurl_pathsegment,
>>>> alias, subtitle or title is used to create the URI.  i.e.
>>>> www.example.com/page.html or whatever.
>>>>
>>>> Now, in ver 6.2 each time I click "View webpage" the
>>>> tx_realurl_pathsegment, alias, subtitle and title are all ignored.
>>>>
>>>> This is causing duplicate URI's for the same page in the Disqus
>>>> database
>>>> if the page includes the Disqus script. I.E. www.example.com/page.html
>>>> plus www.example.com/index.php?id=xxxx&ADMCMD_cooluri=1
>>>>
>>>> This happens because ADMCMD_previewCmds() is used at
>>>> \Utility\BackendUtility.php and \Controller\ViewModuleController.php
>>>>
>>>> Is there some way to avoid this behavior with "View webpage"?
>>>>
>>>> Thanks
>>>>
>>>> ---
>>>> This email has been checked for viruses by Avast antivirus software.
>>>> https://www.avast.com/antivirus
>>>>
>>>
>>
>>
>> ---
>> This email has been checked for viruses by Avast antivirus software.
>> https://www.avast.com/antivirus
>>
>
>



More information about the TYPO3-english mailing list