Dynamic Drop-Down Lists in the Front End Using a TV with MODX
Last Updated on Wednesday, 5 June 2013 11:54 Written by Bob Ray Friday, 7 June 2013 12:00
You can use a drop-down list to show Manager Users options for a TV value, but what if you want to show those options in a form in the front end instead? The simplest way to do this is with a regular text TV and a simple snippet to generate the drop-down list HTML for the front end.
This technique is useful if you want to let the Manager users enter the options as a comma-separated list in the TV and show those options as a drop-down list in a front-end form.
Learn MoreHow to Convert Your Primary ocPortal Menu to a Full Width Dropdown Menu
Last Updated on Saturday, 15 June 2013 02:34 Written by Steve Jarvis Thursday, 9 May 2013 12:00
One change I like to make on most of the sites I build using ocPortal is to convert the standard menu to be a full width dropdown menu. Using this type of menu gives you a great deal of flexibility in the long term as your site grows, and allows you the freedom of being able to expand your primary navigation if you need to.
ocPortal includes the coding, and there are CSS styles for the elements within the global.css file. You will probably want to change the CSS style if this is to be used on your main navigation. I also like to move the menu further down the website design, to give me a little more freedom for my logo and header information.
Learn MoreWorking with Selects (dropdowns) in knockout.js
Last Updated on Wednesday, 3 April 2013 06:39 Written by David Bauernschmidt Friday, 5 April 2013 12:00
If you’re like me, I am always excited to try new tools and technologies so in this article I am going to show you how to use knockout.js to bind a dropdown list. It is very similar to non-knockout.js but there is a little bit of a difference. Let’s get started. One quick note is that there are a couple of different ways to do this. If the select name is the same as the value then there is a little easier way to do this, however; in this example I want the name and the value to be different.
Start with creating a jQuery Ajax call. This is pretty much the same as you would for any AJAX method.
Learn MoreHow to Make Dropdown Menu for Silverstripe CMS Theme
Last Updated on Sunday, 31 March 2013 04:33 Written by Teet Bergmann Tuesday, 2 April 2013 12:00
1. In your Navigation.ss file add following code (navigation file must be in folder themes/yourtheme-name/templates/Includes):
Learn MoreHow to Remove the Menu of the Profile Icons in Elgg
Last Updated on Friday, 8 July 2011 11:31 Written by Rodolfo Hernandez Friday, 24 June 2011 07:49
I’ve been consulted by several users on how to remove the dropdown menu that appears on every member thumbnails in elgg. In this article I will show you how to How to remove that menu of the profile icons in Elgg. With an FTP manager log in to your website and follow these steps:
Learn More
Recent Comments