%asset_sibling_prev% doesn't work on Type 2 links


(gja) #1

Hi,

 

I'm attempting to implement a replacement for an existing Multiple Page Asset using standard pages, as per http://forums.squizsuite.net/index.php?showtopic=12919 I'm using %asset_sibling_prev% and %asset_sibling_next%  to create links for paging through the assets.

 

I've just discovered that the keywords are not working when the sibling standard pages are type 2 links.  This seems odd, there is no suggestion in the manuals that it is only for type 1 links and I need to hide these pages from the navigation menus so have set to be type 2 links.

 

Is this a bug or by design?

 

Can anyone suggest a work around for this issue?

 

Thanks Georgina.


(Anthony Ponomarenko) #2

Hi Georgina,

 

It looks to have been built this way, so I have created a ticket to get it changed to include type 2 links.

 

https://squizmap.squiz.net/matrix/8273


(Anthony Ponomarenko) #3

Good news Georgina,

 

The work has been completed on this issue so in the next versions of matrix (5.2.8.1, 5.3.1.1) there will be a fix to the current keyword, along with 2 new keywords.

  • %asset_sibling_next% - Prints Type 1 and 2 links
  • %asset_sibling_next_type_1% - Prints Type 1 only
  • %asset_sibling_next_type_2% - Prints Type 2 only

(gja) #4

Hi Anthony,

 

This is great news, I'll look forward to using them when we perform our next matrix upgrade.

 

Thanks Georgina.