Open Closed

Docs module: next and previous pages #7995


User avatar
0
epieters created
  • ABP Framework version: v8.2
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

It's not clear how and where to define the next and previous pages. Is this done in the doc-nav.json or in the page itself? Is this on the item itself?


4 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello

    This feature is not available in 8.2 it is available in 8.3 please update to 8.3 version.

    Thanks

  • User Avatar
    0
    epieters created

    ah OK. Thanks. We will upgrade soon.

  • User Avatar
    0
    epieters created

    Oh, but you didn't answer my question :-) Where should this code go? In each specific file? Can you please give an example?

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi

    You can try

    {
    
        "items": [
            {
                "text": "Overview",
                "path": "...",
                "Previous": {
    	      "Name": "Single-layer solution",
    	      "Path": "testing/overall"
    	    },
    	    "Next": {
    	      "Name": "Integration tests",
    	      "Path": "testing/integration-tests"
    	    }
            }
            
        ]
    }
    
Made with ❤️ on ABP v9.0.0-preview Updated on September 30, 2024, 13:13