Search the Community
Showing results for tags 'character'.
-
I want to have filters with month names in german. I fetch them from date-fields with strftime('%B', $timestamp); But i'm not able to add them correctly to a wireArray() What's the right way to do that? $ms = wireArray(); $m1 = strftime('%B', 1579643232); // Januar $m2 = strftime('%B', 1583107200); // März $ms->prepend($m1); $ms->prepend($m2); foreach($ms as $name) { echo "$name "; // result: Januar M�rz }
-
I'm sure the answer is fairly simple but I was wondering if there's an easy way to define the number of lines for a textfield in a template. I know you can set size limits for images fairly easily using $image->size(100, 100); but wondered if there was the equivalent for text?