2nd Main Page Route problem

For the fisrt time I want to add a second main page with it’s own content pages to a SPA site - one main page is for admin and a second is for the users. I am running into some problems. Hope someone can help.

My routes look like this. the bottom part works fine and as it should but the top part is the problem:

23

on the main page which is called dashboard.php my “routes” look like this:

 <div is="dmx-route" id="userproperties" path="/" url="_userproperties.html"></div>
 <div is="dmx-route" id="myprofile" path="/myprofile" url="_myprofile.html"></div>

When I click on a link on the page to load the content page it “adds dashboard” before the url link like this:

http://propertywealth.pixlapps.com/dashboardmyprofile

This is the route properties of my main page:

39

Hope I offered enough info.

Community Page
Last updated: