Questions tagged [statamic]

Statamic is a flat-file CMS that supports Markdown and Textile.

Statamic Website - http://statamic.com/

Statamic Support Forums - https://lodge.statamic.com/

Statamic Blog - http://statamic.com/blog

48 questions
0
votes
2 answers

Statamic: what is the reason to use antlers vs blade?

I did a little bard component using a blade file I was able to access the bard fields e.g. {{ $myField }} instead of doing the antler way of {{ block:myField }} what functionality will be missing if I generally decide to use blade? what other "bad…
Toskan
  • 13,911
  • 14
  • 95
  • 185
0
votes
0 answers

Rendering PHP, SCSS, JS, Blade-Files from Blade-Files

Currently I am struggling with finding the best approach, to implement the following, maybe not everyday, requirement. I plan to develop a Laravel application. The very general idea of this application is to generate the for websites, which are…
rakete
  • 2,953
  • 11
  • 54
  • 108
0
votes
1 answer

Statamic V2: [InvalidArgumentException] Driver [] not supported

This is my statamic 2 project. I'm not sure about the root for this error. When ever I run 'php please' command I got the driver not supported error as you can see in the attached photos. php please command results php please command results I also…
Mash
  • 9
  • 3
0
votes
1 answer

Merge 2 separate arrays into a single array

I have getting array like: Array ( [0] => 2020-11-21 [1] => 2020-11-22 [2] => 2020-11-23 ) Array ( [0] => 2020-10-11 [1] => 2020-10-12 [2] => 2020-10-13 [3] => 2020-10-14 [4] => 2020-10-15 ) Want to combine both arrays in a single array expected…
Naveen Nayak
  • 175
  • 1
  • 1
  • 11
0
votes
1 answer

How do I validate multiple checkboxes, using Statamic forms?

I'm using Statamic CMS I've got a checkbox group with two checkboxes, I'd like both of them to be checked before the form will submit. Setting the field as 'required' half works. The form will error if nothing is checked, but it submits if one of…
StephenMeehan
  • 1,083
  • 2
  • 15
  • 26
0
votes
0 answers

Statamic nginx local installation

I found in the web good examples - how to install Statamic on the localhost with mamp pro / mamp. But when I press the Nginx button in mamp pro things are not so easy I guess. I want to use Nginx in my production server. I also want to use it in…
Slowwie
  • 1,146
  • 2
  • 20
  • 36
0
votes
1 answer

Is there a way to yield to variable section in statamic?

I have a layout with several identical columns which should yield to respective sections:
some column content here {{ yield:column_1 }} some more column stuff
some column content here {{…
user783388
0
votes
1 answer

statamic / bootstrap problem with vertical align

im newbie about statamic, im try to solve this code :

{{ section_three_title…

riccardo airone
  • 506
  • 1
  • 6
  • 21
0
votes
0 answers

restore a statamic app from existing folder

I need to open a directory where is installed statamic in my local macbook the server web open but without image css only with the text like the picture maybe the problem is in the configuration file but i dont have idea where is in the folder…
riccardo airone
  • 506
  • 1
  • 6
  • 21
0
votes
1 answer

Windows crashes when I try to reload site running on XAMPP

I am developing a statamic (flat file CMS) site and when I am reloading the site running on a XAMPP machine, my windows crashes. It showes up the same error every time: Stop code: SYSTEM_SERVICE_EXCEPTION What failed: cldflt.sys The crashes are…
mglss
  • 73
  • 5
0
votes
0 answers

setting expires headers nginx conf to only apply to front-end

I'm trying to set expires headers for our sites running on nginx, and have limited experience with nginx, but have followed a lot of examples and manage to get it to work successfully, with the only problem being it totally breaks css/js in admin…
evu
  • 1,031
  • 2
  • 10
  • 29
0
votes
1 answer

Can I install a Laravel project in a subdirectory of my server?

I have a website that was built with just good vanilla PHP, no frameworks, etc. I am now needed to add a blog to this website and I am wanting to use Laravel / Statamtic to do so. My question is this: Can I install a Laravel project in a…
three3
  • 2,756
  • 14
  • 57
  • 85
0
votes
1 answer

Use Vue JS to make default selection(s) within Array

I see a lot of questions on Stack Overflow dealing with Vue JS and selecting a default single value from an Array. I, however, need to compare each item's array groups to an array of ALL THE GROUPS ensemble_groups, and load the correct selections by…
Daniel Fowler
  • 385
  • 7
  • 21
0
votes
1 answer

Multi-level Navigation + Document links in Navigation

I have a website that needs to have a step beyond Terinary navigation. I do not know how to go about making this possible... My current code...(Which would work in Expression Engine) is the following...
Korey
  • 54
  • 7
0
votes
2 answers

Pulling Next Upcoming Date / Time from Statamic Grid Field?

On a Statamic 1.6.7 based site for a theater I want to use a grid field for performances (they have shows which every Saturday night for several weeks ) and I want to show only the next upcoming show. EXAMPLE SHOW DATA: show_performances: - …
Brooks Seymore
  • 306
  • 2
  • 13