Redirect pages in an asset list also display their file path


(David Avery) #1

Hi all,

 

I've currently got an A-Z asset list of over 190 redirect page assets and when they are displayed in the asset list they are in the format link (file > file > file). Can anyone help me to remove the (file > file > file) bit that's added to the end as users of the website don't need to know where the redirect pages are located. I've looked all throughout the options and can't find where I would edit this option.

 

Many thanks,

 

Dave


(Nic Hubbard) #2

Have you tried %redirect_url%?


(David Avery) #3

What I'm asking is, what option would I change to "%redirect_url%" to change the link that is displayed in the asset list?

 

Maybe I should have formatted the question better, the assets are in the format <link><(folder > folder > folder)> Whereas all I want is <link>

 

Cheers for the quick reply :)


(Nic Hubbard) #4

Can you show me what code you are currently using in your Type Format?


(David Avery) #5

Menubar:

    %page_list%

Result Wrap:

    %page_list%

Content Div:

    %page_list%

Result Wrap Close:

    %page_list%

(David Avery) #6

Hey Nic, I've linked you the wrong stuff there, this is in my Type format:

  • %asset_name_linked% (%asset_lineage%)
  • I just simply removed the lineage and it's fine. Sorry, I'm relatively new to Squiz and learning all these little tricks may take a bit of time :)

     

    Cheers for pointing me in the right direction.


    (Bart Banda) #7

    I think you might be after

    <li>%asset_name_linked% (%redirect_assetid%^as_asset:asset_lineage%)</li>
    

    That will print the lineage of the asset you are redirecting to, if that's what you were after?


    (David Avery) #8

    Cheers for the help Bart, but my aim was to REMOVE the lineage :) Nic helped me to find the location in which I could do this.