I have an internal link to sectionA/pageA in a sidebar, when I click it from sectionB the url becomes sectionB/sectionA/post. I cannot use absolute URL because the sidebar is in an XDV static file and I use linguaplone. How can I create unique url?
1
There are 1 answers
Related Questions in URL
- how do I change a URL with form to include additional selection
- Blog Post URL In flutter Web
- Why does RFC 3986 (URI generic syntax) declare the "host" component to be case-insensitive when the syntax rules show it to be case-sensitive?
- Non-Expiring Direct Link Like When Clicked It Will Download Without Landing Any Page
- Curl URL syntax for uploading files
- Send a json command to an app at a known port/address?
- How do I resolve this error ? "ERR_TOO_MANY_REDIRECTS"
- I'm using the googlesearch library in Colab, but I can't import my websites to a list. How can I do that?
- Sharepoint document library URL Rewrite
- Apache2 redirection results in wrong URL
- Vue / Vitest : issues in snapshots with dynamic import assets URL
- How to redirect to the landing page when the domain name is searched?
- find out filename from URL
- How do I ping a website to see if its valid before entering?
- Unable to download CSV file from web URL with runtime using python
Related Questions in PLONE
- Remove all jobs from plone.app.async queue
- How to add view access to members in plone
- Plone Error After Migration: KeyError('language',)
- Exporting data from a .fs file. Plone 3.3.5
- How do I create a plone and volto project
- Manually start plone 6 instance inside docker container
- Plone 6 Volto generate app - Cannot find module 'is-ci'
- Pressing Enter key on input field does not work as expected
- Couldn't find index page for 'ploneconf.site' (maybe misspelled?)
- Python Could not import class
- Finding all views/namespace urls in a Zope3 system?
- Is it possible to add a if condition inside tal:define?
- Buildout - Allow hosts for package download
- Modify or clean form input in zope or plone
- Rename Dexterity object (id) after copy
Related Questions in XDV
- How to transfer changed content into plone theme with diazo?
- How can I preserve white spaces between tags with Diazo?
- How to copy element's children to an other element's specific attribute with Diazo
- Diazo: not style overlay windows in Plone
- Migrating an XDV theme product to Diazo
- Page unthemed when using overlay form
- plone.app.theming including content from external site
- Diazo is only for plone4?
- How un-theme all the tinymce windows using a diazo theme
- Best way to serve static resource (CSS, Images) with XDV in Plone
- Problems seeing my xdv changes in Plone
- Is it possible to remove base and Content-Type + alter HTML attributes in Diazo?
- Adding an class to body element with XDV
- Plone/XDV Related Item Overlay is Empty
- How to strip out character references inserted by Diazo into text nodes
Related Questions in LINGUAPLONE
- How can I change the order of Plone's LinguaPlone language buttons inside Zope?
- First steps to internatinalize the language in Plone 2.5
- Plone and linguaplone: LanguageIndipendent = true & no update / reindex
- Using LinguaPlone in Plone 4, the TinyMCE editor is not showing up
- How to purge a Plone site completely of LinguaPlone
- plone.app.multilingual without language root folder?
- Remove item from reference_catalog if it's UID is gone or purge broken reference_catalog in Plone
- Updating attached image of news item does not purge scaled image from varnish but only the news item view
- plone.app.multilingual language change URL
- How to override widget in the Plone control panel
- Error when importing a zexp site that uses LinguaPlone
- Changing workflow in multilingual site works only for one language
- How to fix the baseurl of plone?
- Making English portlet appear in other LinguaPlone translated folders
- LinguaPlone - link to available translations only
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
What you see a combination of a relative URL (not starting with a
/or full URL including protocol and hostname) and acquisition. The latter means thatsectionAcan be reached still after traversing oversectionB. You'll have to use absolute URLs in the sidebar.If you use a templating method to generate the sidebar (a ZPT pagetemplate, XDV, Diazo, etc.) you'll have to ensure you generate an absolute URL by either querying pageA directly for it's absolute url or any of it's ancestors and then add to the URL from there. Here are three TAL snippets that would achieve that:
If you use an external templating system such as XDV, the same principles apply, but you won't be able to directly query either sectionA or pageA for their absolute URLs, but you will have absolute URLs to reconstruct a URL to them available, like the
portal_urlin the last example.