XF 2.1 Call external REST API based on current route

DarrylSSY

Member
Hello, I am trying to create a custom page which can be accessed from the following routes for example:

exampleforums.com/item/apple
exampleforums.com/item/orange

Accessing the url will call the REST API which I currently have, and display them those data on the page itself.

I am aware on creating a custom page using nodes, currently if I were to create a custom page of /item/ , I am not sure how I can make it so that /item/apple/ is based on /item/
 
Back
Top Bottom