Main Menu
Contact
Popular Plugins
Sign In

Element tag (elementTag)

The Quick List field type renders an unordened list (<ul>) by default, with list item element in them (<li>). The element tag, which by default is the <ul> HTML element, can be configured. You only need to provide a string like 'p' for paragraph or 'ol' for ordened list. Like so:

"myList" => [
    "type"     => "QuickList",
	"label"    => t("My List"),
	"view"     => [
		"elementTag" => "ol",
	],
],

Items tag (itemsTag)

Since there are multiple items in the Quick List, each item has a "tag". This tag is by default the list item tag, in HTML: <li>. You can change this to any other HTML element, as for the above "Element tag". It's adviced if you change the elementTag into something that's not ol/ul, to change the itemsTag too. This since ONLY a list (ol/ul) can have list items (li) in them.

"myList" => [
    "type"     => "QuickList",
	"label"    => t("My List"),
	"view"     => [
	    "itemsTag"   => "p"
		"elementTag" => "div",
	],
],

Class

When you want to style the anchor HTML element, you'd want to do this with CSS class names. You can set a class attribute by applying a "class" value as a string. By default, the anchor will have no class names applied. Once you set a value, be sure it's a string and nothing else (no array, or boolean or whatnot).

"facebook" => [
    "type"     => "Url",
	"label"    => t("Facebook Page"),
	"view"     => [
		"class" => "awesome multiple-classes-too",
	],
],

Use, by you or one client, in a single end product. The total price includes the item price and a buyer fee.

  • Quality checked by Concrete5
  • Future updates
  • 30 Day Support
  • Concrete5 buyer fee: $32.70
Add to Concrete5 Cart

Use, by you or a client, in 5 single end products. The total price includes the item price and a buyer fee.

  • Quality checked by Concrete5
  • Future updates
  • 30 Day Support
  • Concrete5 buyer fee: $130.80
  • Save an extra: $109.00
Add to Concrete5 Cart

Use, by you or a client, in x/xx single end products.

Upon request, quote will be made and sent to you via email.

  • Quality checked by Concrete5
  • Future updates
  • 30 Day Support
  • Saves extra $$
Request Quote
Released 4 years ago
Updated 3 years ago
Requires concrete5 5.7.5.3
Current version 0.9.7
Skill level Bleeding Edge

Buyer Rating:

5 average based on 2 ratings More information

Got something to say? Need help?

View support forum