Most Popular
1500 questions
4
votes
2 answers
What is the future for the Craft rich text editor?
I can (almost) appreciate the recent impositions of Redactor 2, but when it comes to handing off the site to a client, Redactor 2 is virtually unusable for anything more than paragraph text.
Are there any other rich text editors being considered as…
casey
- 437
- 2
- 11
4
votes
1 answer
How do I actually add a Digital Product to an order?
I'm trying to use the fresh new Digital Products plugin in my website.
I managed to create some products and assigned licenses, I see some licenses when I log in as an end user - but the last link is missing.
What is the process of getting a…
Jan Klan
- 215
- 2
- 7
4
votes
1 answer
How do you display a user's User Group?
This seems simple, but I cannot get it to render -- how do display a user's User Group? Assuming I set the user in segment 2:
{% set thePartner = craft.users.username( craft.request.getSegment(2) ) %}
This Is My User Group: {% ???? %}
Shanan Galligan
- 189
- 8
4
votes
2 answers
Best method to update Craft on a live site to avoid losing data
What is the best way to update Craft on a live website? Preferably without losing any data?
There are a few ways to do this, and, can often be situational.
Essentially the main problem is potentially losing out on data that’s POSTed during the site…
joep
- 610
- 4
- 12
4
votes
2 answers
Workflow when you only have FTP access?
I'm building a simple low traffic website in Craft for a customer whose web server only allows access over ftp. How would you have done the work in practical terms? Building the site locally and then copy everything manually over FTP when done?
Is…
Magnus
- 171
- 1
- 7
4
votes
2 answers
Is it possible to change the time increments in the Date/Time field?
We have a date/time field shown to render the time for a series of workshops but right now Craft only increments in 30 minutes.
Is there a way for us to render 15 minute increments?
Steven Grant
- 1,855
- 13
- 27
4
votes
2 answers
Using Craft CMS with Foundation 6 (for Sites)
So I finally am climbing on board the Craft CMS train, but I have a quick question about how some of you more seasoned Craft-users do things.
I do a lot of my work using the Foundation framework (by ZURB) for a lot of reasons, but I want to know if…
alexandersix
- 43
- 4
4
votes
1 answer
{% if loop.first %} and {{ loop.index0 }} not working with Matrix
I have a problem with {% if loop.first %} and {{ loop.index0 }} with the following snippet:
{% for block in entry.locationSlideshow %}
{% switch block.type %}
{% case 'upload' %}
{% for image in block.image %}
4
votes
1 answer
Make "original" images unaccessable?
Is it possible to make the uploaded "original" images unaccessable for site visitors and make only the transforms public?
I'd like to upload images in full quality, to
get the best possible quality out of Craft transforms
make Craft's assets folder…
carlcs
- 36,220
- 5
- 62
- 139
4
votes
2 answers
Craft Commerce: Detecting & Styling Flash Messages?
I'm styling my flash messages in Craft Commerce - I added if statements to detect the type of flash message. I noticed however that the message no longer displays but the styling does get picked up. Any ideas what I might need to do here?
{% if…
Dan Lee
- 1,107
- 7
- 22
4
votes
2 answers
Is there a way a plugin can watch for live preview updates?
I'm working on a site that involves taking a URL and then getting information about that URL using an API. The URL is entered into a field in a Matrix block, and then another field in the same Matrix block is populated automatically on save. This is…
Gavin Anderegg
- 554
- 3
- 16
4
votes
1 answer
How to programmatically add fields to matrix blocks?
I am easily able to add a Matrix. I am also easily able to add a BlockType to that matrix. → I am fine so far.
But I have no clue what I am missing when I try to add fields to my blocks using the following example (excerpt from a custom…
Arvid
- 292
- 2
- 13
4
votes
4 answers
Is it possible to compress image transforms?
I'm using image transforms to create 1x versions of hdpi 2x images but one area I get slammed on web page performance is loading these images. Is it possible to compress them and if so, how?
Stuart McCoy
- 578
- 5
- 16
4
votes
1 answer
How do I use the Element API to search via entry title?
I can't seem to find this anywhere. Thanks.
Update:
'api/entry/search.json' => function() {
return [
'elementType' => 'Entry',
'criteria' => [
'search' => (craft()->request->getParam('search')) ?…
Erik
- 306
- 2
- 9
4
votes
1 answer
YouTube video embeds in rich text field not saving
When adding a YouTube video to a rich text field the video embed appears as expected. The entry then fails to save with no error (if I make other changes at the same time they don't save either).
Strangely, this only happens on the live server (my…
samlester
- 143
- 5