Questions tagged [conversion]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
2k views

How can I convert a dropdown field value to an integer within a hash?

I'm setting up a twitter feed with craft.twitter.get() and I need to convert a dropdown value to an integer. Here is my code far: {% set cacheTime = sidebarBlock.twitterFeedCacheTime %} {% set tweets ...