Giter Club home page Giter Club logo

Comments (5)

dmitryd avatar dmitryd commented on May 25, 2024

#42 was about shortcuts but you don't mention shortcuts. Are you sure it is related?

I just tested with up to four levels (all of them are standard pages): works fine.

from typo3-realurl.

tobiwollender avatar tobiwollender commented on May 25, 2024

Thanks for the feedback. Tried it with a new subtree and everything worked there. So I checked my pagetree again and found the real cause I think.

Additionally to the page "navpoint" under "top navigation" I have a folder also named "navpoint" in my pagetree. So the pagetree looks like this:

  • top navigation
    • navpoint
      • subnavpoint
  • navpoint (sysfolder)

When I rename the sysfolder to something else (although I want the sysfolder explicitely named like the normal page in this case) I get a "Page not found" error.

Can I do anything else than renaming the folder? Shouldn't sysfolders be excluded from the whole url generation process?

from typo3-realurl.

dmitryd avatar dmitryd commented on May 25, 2024

Folders are valid containers for pages, so they can also be in the URL, so they cannot be excluded.

Also consider realurl decoding flow. It sees /navpoint/subnavpoint.html. Firsts, it selectes navpoint for decoding. It started from the 1st level and looks through all pages there. It finds navpoint folder, which matches the segment. So it saves this page as a starting point for further lookup. Next, it takes subnavpoint.html. It strips .html and fetches all subpages of navpoint folder. It tries to find a page, whose title can be encoded as subnavpoint. Since it cannot find it, it assumes that subnavpoint must be a postVar (like news in news/my-news-title). It cannot find such postVar and it complains.

from typo3-realurl.

dmitryd avatar dmitryd commented on May 25, 2024

I should update docs that page titles must be unique on the same level. If we have the following structure, it ill not be possible to decode news segment or news/backup correctly because segment can be decoded to two different pages.

Root
|- News <-- standard page
|-- Single
|- News <-- folder
|-- Backup

from typo3-realurl.

thomasmstein avatar thomasmstein commented on May 25, 2024

@dmitryd
Just a thought - without deeper technical background - would a check for same titles and possible adding of a suffix solve the accidental 'breaking' by site maintainer be an option. Function could be switched on and off etc. and suffice for path addition selected.
E.g.

Root
|- News <-- standard page
|-- Single
|- News_01 <-- folder Title with suffix "_01" if already on same level
|-- Backup

from typo3-realurl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.