Questions tagged [subfolder]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
45 views

Find All Levels of Subfolders under Assets

I'm working with images in subfolders, several levels deep, under the Assets parent folder. -Assets --Dept_A ---Jan15 --Dept_B ---Jan15 ---Jan16 I've come across this code (below), but it only ...
1
vote
2answers
126 views

Dynamic asset subfolder path for Craft Commerce

I have a asset field where I would like to save the images in dynamic folders. The upload folder should be parsed for the Dropdown field values in a Matrix field. For a normal Dropdown field it works ...
1
vote
1answer
70 views

Can't save entries with dynamic subfolder path in Matrix

I have a Matrix field which contains several assets fields. Each has the dynamic subfolder path set to {owner.section.handle}, so I can reuse the Matrix in multiple sections, but keep the assets ...
1
vote
2answers
527 views

{% block content %} is a no-go in template/subfolders

I’m on a mac running MAMP and my install is functional. Localhost will direct to and display files in “templates” but it wont fully cooperate with subfolders within templates, such as templates/news. ...
1
vote
1answer
576 views

List subfolders of a specific asset folder

Is it possible to list subfolders from a specific folder? Context: I'm printing out hundreds of icons which are maintained by moving a directory structure directly over to my public assets folder. ...
1
vote
1answer
99 views

In an Asset field, how to use a dynamic subfolder field value that is dependent on the element type?

I have a field named image that is assigned to an entry as well as a category. When a user edits an entry, I would like the subfolder to be named after the section.handle property. When a user ...
1
vote
1answer
116 views

Tagging all assets in a sub directory

I'm building a project with a lot of photo assets organized into sub directories of the main photos asset source. I'm trying to add tags to these assets so they are searchable when I try to use them ...
1
vote
1answer
149 views

Uploading to a date subfolder within a Matrix

I'm working on a site that will have lots of content. Our customer now asked to have their images upload into a different subfolder, by date. I can get it done in a "normal" Assets field, but in a ...
1
vote
0answers
63 views

Limit control panel assets modal to a subfolder in plugin

I'm working on a control panel plugin where I want to limit users to a subfolder within a main assets folder. I have the subfolder ID, but am unable to amend the following to make use of it: {{ forms....
3
votes
1answer
172 views

Dynamic Subfolders leaving empty folders behind

I have {status}/{category}/{slug} as the path for uploading photos. When the status changes on the entry, then the photos associated with that entry move to the correct folder. However, it leaves ...
4
votes
2answers
691 views

How to create a new subfolder to an asset with plugin

I have a plugin that uploads and associates files/assets to users and entries. I would like it to store these files under a user ID subfolder of the asset folder. I know how to do this within the ...
1
vote
0answers
409 views

Hosting a Craft install in a subfolder of a Wordpress site on Windows IIS

Alright, I know the question is kind of a doozy but I'm running out of options. I've uploaded my Craft install to the subdirectory website.com/travel and left in the base web.config that comes with ...