Welcome, Guest
Username: Password: Remember me
1. The "search..." box above searches the Docs & Forum Posts. The "Search" tab above just searches the Forum Posts. :side:
Please use these to search for your issue *before* creating a new message topic, as your issue may have been previously solved.
2. Please put your Club # and Club Web Address in your Forum Signature (best) OR in each post to get faster support from us.
Click here to edit your signature at the bottom of the Profile Information tab.
3. Our user and admin docs are available at: support.toastmastersclubs.org/doc "There's a doc for that!" ;)
4. There is an "Opt In" Feature for newly added members. The Opt In document explains the strikethrough member information. Click Here to View the Post
5. When posting a New Topic , please include all relevant details and be specific. When did your issue 1st occur? What operating system, browser, & browser version are you using? Did you refresh your browser cache? Are your cookies enabled? Lastly, a screen shot is often helpful.
6. Please abide by the Terms of Use . We are volunteers contributing our spare time. We are happy to assist you, so long as you are respectful and courteous.
7. We are always looking for new FreeToastHost Ambassadors to join our team and support fellow Toastmasters in their use of the FreeToastHost website system. If you are familiar with the system and have some interest, send a Send Us a Private Message.
  • Page:
  • 1

TOPIC:

How to put menus in your content... 9 years 2 months ago #45433

  • SteveTheTechie
  • SteveTheTechie's Avatar Topic Author
  • Offline
  • FreeToastHost Developer
  • FreeToastHost Developer
  • Posts: 13529
  • Thank you received: 3831
We use the jQuery code library for FreeToastHost, but in reality any club can make use of some of its features.

Here is how to set up real, functioning menus, including with submenus in your home page, meeting info page, or custom page...

In the simplest sense, all that is needed is just an unordered (bulleted) list which you can easily create with the rich text editor. However, typically you will want your menu to do something when someone makes a selection from the menu, so generally I would recommend that each item in the list be made into a hyperlink using the link icon of the editor. These links could direct a website visitor to one of your other webpages, including an unlisted page, or to an external website/webpage. What this does is to allow you to set up a very simple navigation menu that can have sub-menus in it and takes up less space than the standard FTH menus. BTW, we will be using these menus in the future as part of the system interface, so for now, I am enabling you to get ahead of our implemented user interface. ;)

First of all, for a single level menu, copy the following to the clipboard to use as a template for your menu...
<ul id="myMenu" class="userMenu">
	<li>Menu Entry 1</li>
	<li>Menu Entry 2</li>
	<li>Menu Entry 3</li>
	<li>Menu Entry 4</li>
	<li>Menu Entry 5</li>
</ul>

Alternately, for a multi-level menu, copy the following to the clipboard to use as a template for your menu...
<ul id="myMenu" class="userMenu">
	<li>Menu Entry 1</li>
	<li>Menu Entry 2</li>
	<li>Menu Entry 3
		<ul>
			<li>Sub-menu Entry 3-1</li>
			<li>Sub-menu Entry 3-2</li>
			<li>Sub-menu Entry 3-3</li>
			<li>Sub-menu Entry 3-4</li>
			<li>Sub-menu Entry 3-5</li>
		</ul>
	</li>
	<li>Menu Entry 4</li>
	<li>Menu Entry 5</li>
</ul>

Please copy the above to an empty custom web page in Source View, then you can test it out until you get it working the way you want. In practice, you will want to convert the text inside each <li></li> pair to a link enclosed in <a href="mytarget.com">Link Text so that the menu actually takes the user some place when an item is selected.
There are two parts to this... (must be created in Source View for best results)
1. An overall enclosing <ul> block that encloses the overall list. Use the "userMenu" class as indicated to make FTH automatically convert this to a menu--FTH does the script part, then. You can have an id specified (e.g. like "myMenu"), but it is optional. (If you use an id then put your club number on end to make sure you do not clash with FTH ids.) Including script text is not necessary. FTH will handle setting this up as long as you correctly use the "userMenu" class name.

2.a. <li> blocks. (list items) You need one of these for each menu entry, like I am showing above. These define the text that is shown on the menu, but do not define what happens when that item is selected. To make the item do something when selected, convert each item to links inside the <li></li> pairs.

2.b. Each <li> block can contain another, "nested" list starting with another <ul> tag. This nesting is how you get submenus.
Again, no JavaScript is needed for this if you use the "userMenu" class name as indicated above. This is an FTH 2.20 advanced feature.

Do not use the same ID as I used above--make up your own and append your club number it to make them distinct from those used in FTH. (otherwise you can create name clash problems)

If you view the above in normal editor WYSIWYG view, you will just see a bulleted list. You have to save your page and exit the Admin Console to see the actual menu.

Enjoy! Please share your webpage address on here so that we can admire your work!
Regards,

Steve James, DTM
FreeToastHost System Developer
Officer Emeritus, Mindful Communicators (Club 1966, District 52) A President's Distinguished Club for each of the last 10 years.

>>> Please put your club number in your forum profile. CLICK here to edit your profile.
The following user(s) said Thank You: Jane Atkinson, Pam
Last edit: by SteveTheTechie.
The topic has been locked.

How to put menus in your content... 8 years 10 months ago #50240

  • harminder
  • harminder's Avatar
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 49
  • Thank you received: 7
How can I change the UserMenu background color?

d29.toastmastersdistricts.org/menu.html
Brambleton Toastmasters
#03025105
Tech Toast
#04005547
The topic has been locked.

How to put menus in your content... 8 years 10 months ago #50243

  • SteveTheTechie
  • SteveTheTechie's Avatar Topic Author
  • Offline
  • FreeToastHost Developer
  • FreeToastHost Developer
  • Posts: 13529
  • Thank you received: 3831
My hunch is that you could put a
style="background:red;"
in the ul tag. (or similar with your desired color code)

Look up online references on HTML to help you get it right. My objective with this is *not* to teach people HTML... there are plenty of available online references for that.
Regards,

Steve James, DTM
FreeToastHost System Developer
Officer Emeritus, Mindful Communicators (Club 1966, District 52) A President's Distinguished Club for each of the last 10 years.

>>> Please put your club number in your forum profile. CLICK here to edit your profile.
Last edit: by SteveTheTechie.
The topic has been locked.

How to put menus in your content... 8 years 10 months ago #50259

  • harminder
  • harminder's Avatar
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 49
  • Thank you received: 7
Steve,

Thank you. I was trying in the li tag and it was suppressing onMouse background color.
Brambleton Toastmasters
#03025105
Tech Toast
#04005547
The topic has been locked.

How to put menus in your content... 6 years 3 months ago #67001

  • 2284DLV
  • 2284DLV's Avatar
  • Visitor
  • Visitor
Steve, I've tried creating sub-menus using the directions you've listed, but find that only the first two links work from the sub-menu . The third and beyond default to the home page. I can use the same URLs from a browser and link directly to the page desired using the same URL. We publish a weekly newsletter and there are too many for the main menu. I need to create a sub-menu for Newsletters.

Note -Another issue has to do with the quality of the newsletter image when uploaded to FTH. An image that has excellent quality before being uploaded has poor quality once on the FTH website. Since PDFs can't be used is there any way this can be improved? Thanks in advance #2284
The topic has been locked.

How to put menus in your content... 6 years 3 months ago #67002

  • Brian
  • Brian's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 11647
  • Thank you received: 3880
If you must an image for your newsletter use a PNG image the text will resize much better.

Thank you,

Brian McDonald DTM, PDD D61
FTH Lead Technical Support
member Cataraqui Valley Toastmaster 9560
The topic has been locked.

How to put menus in your content... 6 years 3 months ago #67011

  • Pam
  • Pam's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3597
  • Thank you received: 1071

Steve, I've tried creating sub-menus using the directions you've listed, but find that only the first two links work from the sub-menu . The third and beyond default to the home page. I can use the same URLs from a browser and link directly to the page desired using the same URL. We publish a weekly newsletter and there are too many for the main menu. I need to create a sub-menu for Newsletters.

Note -Another issue has to do with the quality of the newsletter image when uploaded to FTH. An image that has excellent quality before being uploaded has poor quality once on the FTH website. Since PDFs can't be used is there any way this can be improved? Thanks in advance #2284


You seem to be looping around by creating submenu items that link to existing menu items (which means you'll have to keep all of the existing pages, even if you hide them).
You might have a better result if you upload your newsletters as pdf documents to file manager. After that you can make a page with links (and / or sub-menus) to the individual newsletters. You could even make submenus by year / month. You can also hide your public downloads page if there is nothing else of relevance stored there.
Pam Holley, DTM
FreeToastHost Ambassador
Redlands Toastmasters Club, Secretary 2023-2024 redlands.toastmastersclubs.org/
HOT, President 2023-2024 hot.toastmastersclubs.org
The following user(s) said Thank You: SteveTheTechie
The topic has been locked.
  • Page:
  • 1
Moderators: Pamrhtaylor3jliumarc33NotLiabledeedubbleyooNSBPhyllis Kirouac
Time to create page: 0.042 seconds
Powered by Kunena Forum