Community Digest

Top new questions this week:

Custom CP Element Indexes

I'm working on a custom Craft 3 site, and I need to be able to configure the element indexes within the control panel for a few of my custom EntryTypes. There's two particular things I'd like to ...

craft3 index  
asked by Chip Bell 3 votes
answered by Lindsey D 3 votes

Protecting public assets

I'd like to manage access to assets with public URLs. Is there a way to set permissions for anonymous users?

assets users permissions  
asked by ponies 2 votes
answered by Lindsey D 4 votes

How does the new caching works (3.5+)

Just upgraded to Craft 3.5+ the pages are cached (instant load on a 2nd run) but the templatecaches and similar tables are empty. How exactly does it work now? How do I flush cache for 1 specific page ...

cache  
asked by Mark H. 1 vote
answered by Brad Bell 0 votes

Can you call a controller method from within a plugin/module in Craft 3?

I initially asked a question here about how to use Solspace Freeform to build a custom front-end login form. I gave up too easily and accepted the "it's possible but probably not a good ...

plugin-freeform controller modules freeform  
asked by Garrett 1 vote
answered by James Smith 1 vote

Random duplicate DB query issue

Can anyone shed any light on this duplicated db query issue? I've noticed when going through my site with the debug toolbar on, sometimes when I click a page or entry there is often double the amount ...

craft3  
asked by Tom Byrom 1 vote
answered by Tom Byrom 1 vote

Is there a Zendesk plugin to fetch order information from Craft Commerce?

I'm looking for the same functionality as https://wordpress.org/plugins/mwb-zendesk-woo-order-sync/ but for craftCMS's Commerce plugin and not Wordpress's Woocommerce plugin. Basically, it would use ...

plugin-craftcommerce plugins  
asked by Aryeh S. 1 vote
answered by Brad Bell 0 votes

Order Entries Query by a Featured Light Switch

I have a case studies filter that allows you to filter case studies by category. I've attached a light switch field called 'featured' to the entries that allow you to set it as featured. The idea is ...

entries  
asked by Jasen Peterson 1 vote
answered by James Smith 1 vote

Greatest hits from previous weeks:

Is it possible to convert string to uppercase?

Is it possible to convert a simple string ("Hello World!") to uppercase ("HELLO WORLD!")?

string uppercase  
asked by nicael 4 votes
answered by Victor In 14 votes

Reset password with MySQL

Is there a way to reset an admin account's password by modifying the MySQL directly? I've found the craft_users table where the hashed password is stored but I don't know how to hash a string so that ...

password mysql  
asked by bravokiloecho 28 votes
answered by chris 31 votes

How do I set a variable in Twig if a value exists more than once in a loop?

How do I loop through entries and set a variable if there are any duplicates in the data I'm checking? In my case, I need to check if there are more than one entry per year. The variable I'm setting ...

templating forloop  
asked by Anna_MediaGirl 7 votes
answered by Anna_MediaGirl 10 votes

How can I make a template output its own filename?

Is it possible to output the template name being used? Using a global variable or something similar? I am wanting to check which template is being used in a conditional.

templating variable  
asked by Gareth 4 votes
answered by Brandon Kelly 13 votes

What are the cache options available to a Craft installation?

Reading the Craft docs and other related questions on Stack Exchange there seems to be a lot questions about caching, what it does under different scenarios and how to best utilize it. Is there an ...

cache caching filecache  
asked by Brad Bell 12 votes
answered by Brad Bell 32 votes

How do I target the second item in an array with Twig?

I would like to select the second position in the array below. The problem is that this number is automatically changed. So I try to do this with .index function from Twig but I can not figure it out. ...

templating array index position  
asked by Edwin Cornelisse 1 vote
answered by Robin Schambach 2 votes

How secure is Craft and why is it secure?

What measures have been put in place in regards to securing Craft at the core level. What measures have been put in place in regards to Craft's Plugins which make use of (connect to if you will) ...

security updating auto-updates  
asked by Natetronn 59 votes
answered by Brad Bell 118 votes

Can you answer this question?

How does the new caching works (3.5+)

Just upgraded to Craft 3.5+ the pages are cached (instant load on a 2nd run) but the templatecaches and similar tables are empty. How exactly does it work now? How do I flush cache for 1 specific page ...

cache  
asked by Mark H. 1 vote
answered by Brad Bell 0 votes
You're receiving this message because you subscribed to the Craft CMS community digest.
Unsubscribe from this community digest       Edit email settings       Leave feedback       Privacy
Stack Overflow

Stack Overflow, 110 William Street, 28th floor, New York, NY 10038

<3