Jump to content

Created a page in phpvms, how do i call it in the nav menu? SOLVED


Recommended Posts

Posted

This is probably going to be dead simple but I've tried a few ways and can't get it working.

So I have created a new page called "liveries" and have dumped my html content into it and when I preview the page it shows nicely. I have then tried to create the url link from the nav menu, but every time I click the link I get the "module does not exist" message. The code for the nav link I'm using is:

<li><a href="<?php echo url('/liveries'); ?>">Liveries</a></li>

Anyone got an idea as to what I'm doing wrong?

Posted

Oh my lord I'm such a baffoon! Sorted it now. I had copied another link in the nav menu and then just changed the filepath to /liveries whereas pages are stored in their own folder so it should have been /pages/liveries.

All sorted now :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...