$this->getComponents('[YOUR_RELATIONSHIP_NAME']->limit(3) ?

Kartavya Desai

I have 8 images in my upload field. How can I limit them to display only 3 in front end?

Ewan Duthie

Anyone know why userforms sometimes renders the sent email incorrectly like the below? Had the issue before years ago and can't for the life of me remember what the cause/solution was


You could also change your .htaccess to be set instead of append which will override any values currently set in this header.


  1. # X-Frame-Options
  2. <IfModule mod_headers.c>
  3. Header always set X-Frame-Options SAMEORIGIN
  4. </IfModule>
👍 (2)

Possibly a nested htaccess or an Apache setting


Is there another place where this could be set? A nested .htaccess file? I'm looking but can't see one.


... I get the console error: Refused to display 'https://www.mywebsite.com/?stage=Stage&amp;CMSPreview=1' in a frame because it set multiple 'X-Frame-Options' headers with conflicting values ('SAMEORIGIN, DENY'). Falling back to 'deny'.