Anchor keywords for nested asset listings?


(Jesstp) #1

Hi,

 

I have a publication page with an asset listing nested in 5 boxes (as per screen shot).

 

  1. Publications 
  2. Reports
  3. Fact Sheets
  4. Releases 1
  5. Releases 2

Is there a keyword that I can place at the top of the page to act as an anchor the the below headings? I have tried what is on the nest content page and stated the GET variable name as what I want listed, but it doesn't seem to work.

 

At the moment, it is being done manually on other pages, but I'm thinking ahead for an other folders that may be added in the future.

 

[attachment=801:Screen Shot 2016-04-06 at 3.16.45 PM.png] Screen Shot 2016-04-06 at 3.16.45 PM.png (99.9 KB)


(Jesstp) #2

Another issue I'm having on this page is that Releases 1 and Releases 2 have about 40 documents in each folder. I have listed the amount shown to 6 and want to add a pagination listing the number of pages via a paint layout that I've applied to only these 2 nested content.

 

I've copied the keywords from another asset listing on the site that uses a numbers for pagination, but once placed inside a paint layout it only prints Next and Previous.

 

<p>
%previous_page_href^notempty:<a href="%%previous_page_href%%previous_page_href^notempty:"><span class="prev-next">Previous</span></a>%
%page_list%
%next_page_href^notempty:<a href="%%next_page_href%%next_page_href^notempty:"><span class="prev-next">Next</span></a>%
</p>
 
I have tried replacing Previous and Next with %page_number% and it prints it on the page.

(Bart Banda) #3

The only way you could do the anchor links at the top of all your listings would probably be to have first 1 asset listing that actually lists each folder and name and it's link at the top before all your other asset listings. So basically asset list the folders, add it as another nested asset listing at the top of that page. Would that work?

 

The pagination keywords need to be printed within the asset listing page contents, they won't work in the paint layout. Any reason why you can't add them to the asset listing? 


(Jesstp) #4

Thanks Bart. I thought there might have been a keyword that could pick up it up.

 

The problem with what you suggested is that I'm only pulling certain folders under the document folder (where all the documents are filed). So I guess it would be same either way - putting in the anchors manually or selecting the folders to appear manually.

 

When I was doing it I was referencing it with the same asset listing and thought that I may be able to add it through a paint layout. But have now added another asset listing.

 

Thanks again for your assistance.


(Bart Banda) #5

You could also do it via link filtering and set link values on the folders you want to list, or use a search page and filter it on metadata values perhaps? Still a manual process, but you are specifying which folders to list from the folders themselves rather than at the listing level.