rainlab / pages-plugin

Adds static pages and menus
MIT License
121 stars 100 forks source link

URL is empty on the frontend using the OFFLINE.BOXES type #525

Closed LeonKercmar closed 12 months ago

LeonKercmar commented 12 months ago

Description:

Url is empty on the frontend when i try using the OFFLINE.BOXES type.

webfalter commented 12 months ago

Why don't you use 2.0.3?

LeonKercmar commented 12 months ago

I've tried using the latest version but it didn't fix the problem.

daftspunk commented 12 months ago

Url is empty on the frontend when i try using the OFFLINE.BOXES type.

Can you elaborate on this? What is the expected behavior? What is the actual behavior?

LeonKercmar commented 12 months ago

So for an example in the backend under Pages > Menus I have a menu called Big Menu which has a menu item (picture bellow) image

In the editor under the header partial I get the items like this (picture bellow) image

In front end I get the item title but the url parameter is empty (picture bellow) image

daftspunk commented 12 months ago

This looks related to the Offline.Boxes plugin, instead of the pages plugin. The menu resolver is returning an empty link.

Instructions on this process is found here: https://docs.octobercms.com/3.x/element/form/widget-pagefinder.html#resolving-page-links