Viewing Navigation menu

Navigation menu



User: Steve G. 7 years ago
If I use directories, is there any way of having the first page in a directory visited if the directory name is clicked on instead of it doing nothing.
User: James G. 7 years ago
What do you mean by the "first page"? I have not used Directories in a long time.
Make sure you are linking to the first child page in a directory, if you are not.
User: Paul-RAGESW 7 years ago
HI Steve,

EverWeb will never link to "nothing". It is linking to the actual directory page. In EverWeb's web page list select the directory and you can either design your page there OR under Page Settings in the Inspector select the ‘Redirect to first child page' option.

This is actual the default behaviour in EverWeb.

-------------------------------
Paul
EverWeb Developer
User: Steve G. 7 years ago
OK here is my workspace



I kind of thought by checking the option shown that it would do what I wanted but no.



I was hoping that when the user clicked on 'Welcome' it would take them to the 'About Us' page.

Hope that makes sense and I hope my images show up (first timer)
User: James G. 7 years ago
What happens if you remove the two "More" and "What" pages from navigation in Page Inspector?
User: Paul-RAGESW 7 years ago
HI Steve,

Ok, sorry for the misunderstanding.

So you could unselect that option in the Inspector and design your web page in the actual directory page OR you can use the meta refresh tag in the Page Header code section of the Inspector (on the Page Settings tab).

This second option is kind of an advanced setting.

This user did it in this thread.

You would have to enter the meta tag as specified in the above the thread with the correct file name as the first page in the directory.

I believe for the Welcome directory the file name is About-Us.html

You can confirm it from viewing the first page in the directory in your web browser. Everything after the last / character is the file name.

Then enter the meta tag like this;

<meta http-equiv="refresh" content="0;url=filename.html" />

Replacing filename.html with the filename you got from above.

-------------------------------
Paul
EverWeb Developer
✔ Best Answer  
User: Steve G. 7 years ago
OK, I think I get it.

I started off on the wrong foot thinking the checkbox does something slightly differently than it does. As things stand I've done quite a bit of work now, so having the directory folder as a page would take a little re-organisation, so I'm inclined to go with the second option at this time.

I haven't published yet, so I'm not sure whether I should expect the redirect to work with local preview files (I got peculiar results. I'll likely publish the site as it works now when the time comes and test with one of the directories once it's live.


Post Reply
You must login or signup to post.