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 to prepend www if the url string does not has www?
- Fetching URL vars into form and submitting to other page
- index.php url need to hide from homepage of php website
- Iframe not passing url parameters
- Object not found! The requested URL was not found on this server. PHP file not being accessed
- How can hide url value in php
- How parse makeHttpRequest with friendly url?
- Import .rda from URL into R
- Upload info that appear when share web link on Facebook
- Hiding param of struts.xml values in Struts 2
Related Questions in PLONE
- Can I use plone.protect 3.0 with Plone 4.3?
- How do I override the main template in Plone 3?
- Create copy of plone installed onto another server with data
- Where is the main space used up in Plone file upload?
- Create a folder in Plone and set uid
- Plone - Syntax Error when doing hello world tutorial
- collective.googleanalytics report with filter containing tag
- Redirecting Site Root URL to its Language Root Folder
- How to move a content type definition created TTW to the file system
- Multiple contact forms in a Plone website
Related Questions in XDV
- How to transfer changed content into plone theme with diazo?
- XDV condition based on a presence of a cookie
- uwsgi + xdv integration
- local-name() support in Collective.xdv
- collective.xdv and multiple theme files
- Passing dynamics attributes to collective.xdv inline XSL
- Setting doctype for XDV theme
- Rewriting URLs with XDV
- Unique URLs in plone
- How to transform block of content from plone being inserted into diazo theme
Related Questions in LINGUAPLONE
- Updating attached image of news item does not purge scaled image from varnish but only the news item view
- Translate navigation with LinguaPlone
- LinguaPlone Not Translating Home Page by default
- How can I add translations to a Plone site front-page
- plone.app.multilingual without language root folder?
- How to purge a Plone site completely of LinguaPlone
- switchLanguage does not load translated item using LinguaPlone
- Unique URLs in plone
- Using LinguaPlone in Plone 4, the TinyMCE editor is not showing up
- Forcing English as admin interface language on LinguaPlone sites
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?
Popular Tags
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.