Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I want to implement a list of items and descriptions that I will ultimatly display as the following HTML:
<dl> <dt>Coffee</dt> <dd>- black hot drink</dd> <dt>Milk</dt> <dd>- white cold drink</dd> </dl>
I am a little unsure as to how to best achieve this although I have a hunch it is through a custom Data Type.
Can anyone help please?
Hey Brendon,
Could probably do with a little more info, but yea, you could achieve this with a custom data type. Shouldn't be too dificuilt to achieve.
Take a look at this blog post for an idea on how you could do this:
http://www.nibble.be/?p=62
Another option, though not sure whether it would be a bit overkill, you could use the repeatable custom content package
http://our.umbraco.org/projects/backoffice-extensions/repeatable-custom-content
You should be able to make a title and description field, and allow editors to add as many items as they like, you'd then just format this as a dl in your XSLT.
Matt
Sweet Matt, thansk for the reply.
Just looked at the Repeatable Custom Content Package, it looks like it will be the quickest way for me to get what I want and a whole lot more.
Thanks again,
B
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How can I get a list of items and descriptions
I want to implement a list of items and descriptions that I will ultimatly display as the following HTML:
I am a little unsure as to how to best achieve this although I have a hunch it is through a custom Data Type.
Can anyone help please?
Hey Brendon,
Could probably do with a little more info, but yea, you could achieve this with a custom data type. Shouldn't be too dificuilt to achieve.
Take a look at this blog post for an idea on how you could do this:
http://www.nibble.be/?p=62
Another option, though not sure whether it would be a bit overkill, you could use the repeatable custom content package
http://our.umbraco.org/projects/backoffice-extensions/repeatable-custom-content
You should be able to make a title and description field, and allow editors to add as many items as they like, you'd then just format this as a dl in your XSLT.
Matt
Sweet Matt, thansk for the reply.
Just looked at the Repeatable Custom Content Package, it looks like it will be the quickest way for me to get what I want and a whole lot more.
Thanks again,
B
is working on a reply...