Search the Community
Showing results for tags 'urlsegments pagename'.
Hi everyone Since this is my first post: thanks for this beautiful CMS/CMF und thanks for this high quality forum. I'm struggling with following: A client imports a list of books from a csv file (using module ImportPagesCSV). The page name gets autogenerated by the core (it takes the value from the title field). If the title is very long, the page name gets truncated to 128 characters. This works fine, as long as I don't use urlSegments. Using them, PW returns a 404: http://domain.tld/...long-title-hier-128-characters.../ : works http://domain.tld/...long-title-hier-128-characters.../urlSegment1/urlSegment2/ : does not work It works fine, when I shorten the page name manually to e.g. 100 characters. This is not a good practice, since the client imports the list every couple of weeks. Is this a correct behaviour? Should I limit the page name via API to 100 characters? If yes, would I do this in the ImportPagesCSV-Module or better implement as a hook? Thanks in advance for some light in the dark! Oliver