[TYPO3-ttnews] Remove "article" from tt_news URL
Eric Blom
ericb at piap.com
Sun Feb 18 18:27:11 CET 2007
Than you Andreas.
I understand now what I have to do. Thank you also for pointing out
tscobj, it looks like it could be quite useful.
Cheers,
Eric
Andreas Kießling wrote:
> Hi Eric,
>
> The first article comes from your subpage, the second one is from the
> realURL setup from your localconf.php
>
> You need it to "hide" all the GET-parameters.
>
> You can change that string "article" to whatever you like, but you can't
> just remove it.
>
> Have a look at the manual from tt_news, how to put list and single view
> on ONE page, so you get rid of your subpage.
> You have to configure and insert tt_news via Typoscript, but it's not
> very complicated.
>
> If you still want to use tt_news as a content element, have a look at
> the extension: tscobj
>
> So you can configure a news object, and insert it with that extension
> whereever you like.
>
>
> Regards,
> Andreas
>
>
> Eric Blom schrieb:
>> Hello,
>> I'm trying to figure out how to remove the word article from my
>> tt_news single view URLs. I want to remove it because I end up with
>> article twice in my URL due to my single page also being named
>> article. Even if my page were not names article it seems that I have
>> an extra string in the URL.
>>
>> Here is an excerpt of my page tree:
>>
>> + cwfb (tt_news list view)
>> |- article (tt_news single view)
>>
>>
>> I get this URL for the list view, which is just what I want.
>> http://stmp.piap.com/cwfb/
>>
>> However, when I click on an item in the list I get this URL.
>> http://stmp.piap.com/cwfb/article/article/bob-falkner-42/
>> ^^^^^^^
>> Which has article twice int he URL. I would like to have
>> http://stmp.piap.com/cwfb/article/bob-falkner-42/
>> or
>> http://stmp.piap.com/cwfb/bob-falkner-42/
>>
>>
>> It is not clear to me if this requires changes to realURL, tt_news, or
>> perhaps page tree alias settings?
>>
>> Thank you,
>> Eric
>>
More information about the TYPO3-project-tt-news
mailing list