Having issue while implement resources page design


#1

Hi,

I want to create resource page where all the landing page are list up. But i am unable to fetch all the landing pages. Please help me how can do this job.

Here is the page URL
https://www.fly.biz/resources

In the right section you will seen the landing pages listing. and on the left hand side that was landing pages filter option.


#2

As far as I know, this can only be achieved via API right?

You can get list of pages then print them out according to the subcategory property.

However, I’m not sure if there’s a way to do it via Hubl.

For mine, I’ve used the list.js to list a set of data I put into an excel sheet that I update whenever there’s a new resource available. You can filter by category or content using the plugin.


#3

Yes, But my Pages API is not working on website. it is showing this error.
" Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. "


#4

Hi @Chander,

The Pages API doesn't allow for CORS AJAX requests, since doing so would expose your authentication details to the client. You'll need to make your requests server side instead.