Questions tagged [conversion]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
615 views

Going from a static site generator (Jekyll or Hugo) to Craft CMS; Export/migrations options?

I currently have a website that's been built using a static site generator (SSG; in this case, Hugo). The site has about 10 sections, each with 40-50 markdown files. As is the case with most content ...
2
votes
1answer
56 views

Is there any way of converting an existing field to a Matrix?

I'm working on an existing site that has an "Entries" field that allows authors to provide a selection of related articles. However, since some articles have titles whose meaning is not entirely clear ...
2
votes
1answer
73 views

Utilizing/ Converting another database with craft

(First off, I apologize for the really long question, but any help I can get would be appreciated!) Hello! I am taking over a bunch of sites that a developer had created for a company (I am not a ...
6
votes
1answer
510 views

Craft.log showing Buggy iconv installed. Will fallback to mbstring

I'm curious if others are seeing a similar error in their Craft logs. It says: Buggy iconv installed. Will fallback to mbstring. It's repeated over and over seemingly with almost every request. ...
1
vote
1answer
1k views

Twig: Convert time format

I have a video Object with a duration property formatted in SCORM 2004 time format. Like so: PT51M55S. How do i convert this into a human readable time format like: 51:55? date() does not seem to work ...
10
votes
2answers
5k views

How can I convert text into a URL-friendly string?

If I want to convert text into a URL friendly string for sharing text in a social media link, how would I go about that?
1
vote
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 ...