You are not logged in.

Announcement

Forum database was corrupt and an old backup was restored as temporary replacement. Registrations closed until the database is recovered. Please ask questions using the Contact form

#1 08-07-2014 18:28:39

michal
Contributors
Registered: 12-04-2014
Posts: 3

Problem with main-nav

Hello,

how to open from main-nav the page like welcome.php

When I try to do it for example:

<a href="pages/contact.php">
    Contact
</a>

it opens only page contact.php without template.

Last edited by michal (08-07-2014 18:32:26)

Offline

#2 08-07-2014 19:25:19

Thomas
Administrator
Registered: 10-03-2013
Posts: 897

Re: Problem with main-nav

If you've filled in the pageURL array in config/pages.php, you need to specify urls like:

href="#!/my_filled_in_thing"

Page url, this will be visible in the url bar, for example if you fill in "welcome" the url for that page will become yoursite.com/#!/welcome

If you didn't fill it in (but you should wink ) #!/contact will work too (so remove the .php)

Offline

Board footer

Powered by FluxBB