Retrieve node alies path

rajitha somarathna asked on March 27, 2014 00:31

In my cms content tree, one product have two different locations...

As a example Carnaby-Wallet product has two locations as follows

1)/Shop-by-Category/Wallets-And-Purses/Ladies-Wallets/Carnaby-Wallet

2)/Shop-by-Collection/All-Collections/Carnaby/Carnaby-Wallet

What i need is,When i load the /Shop-by-Collection/All-Collections/Carnaby/Carnaby-Wallet location, I need to retrieve /Shop-by-Category/Wallets-And-Purses/Ladies-Wallets/Carnaby-Wallet nodealiaspath as a clickable link

How to do that?Help me

Recent Answers


Brenden Kehren answered on March 27, 2014 08:28

On the one that is NOT primary, set a redirect to the primary one in the Properties>URLs section of that document. You could also use URL aliases or a Linked document

0 votesVote for this answer Mark as a Correct answer

Richard Sustek answered on April 1, 2014 03:28

Hi,

Thank you for your message.

I believe he wants to retrieve the document and that depends on how those documents are connection to each other. If you you are using Linked documents thats it rather easily to get linked document Info, but if you dont then how the system would know which product belongs to which? You could also use Related document to establish some kind of connection or have custom table storing the connections there.

Let us know if you ahve further questions.

Kind regards,

Richard Sustek

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.