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
1
vote
1 answer

git commiting changes on openshift server

I'm running Statamic a flat file system (database-less) CMS on Openshift. The issue i'm having is that when i update the content on the server (i.e. using the CMS) the changes that are made to the flat files (i.e. the content) isn't committed to…
jon
  • 5,961
  • 8
  • 35
  • 43
1
vote
1 answer

Redactor - Move back from li element to p element not possible

I use redactor for a textfield. When I add a list inside the redactor field and underneath I want to commence with a normal paragraph text then its not possible to leave a bullet list. Not with clicking 'enter' two times. Not with clicking the li…
KSPR
  • 2,212
  • 4
  • 29
  • 46
1
vote
2 answers

How Statamic caches content?

I would like to try Statamic (file based CMS, http://statamic.com/ ) but I can get no info on its caching strategy. I'm affraid there is a lot of I/O operations especially when using advanced techniques - tagging, using add-ons etc. Do you have…
Peta Sittek
  • 221
  • 1
  • 6
0
votes
1 answer

Is it possible to insert Antlers tag in the middle of Class names?

I have the following HTML with Tailwind classes to display a full screen header image in Statamic CMS:
John Dawson
  • 443
  • 3
  • 10
  • 28
0
votes
1 answer

NGINX "403 Not Found" Error on Azure App Service Using PHP

I installed the Statamic CMS, a PHP Lavarel-based CMS, in an Azure web app which is configured to use PHP 8.2. Because the CMS is built on Laravel, I needed to create a custom startup script for NGINX to change the startup file path from…
PoorInRichfield
  • 1,436
  • 2
  • 19
  • 29
0
votes
1 answer

how can I filter a article collection in statamic in an antlers view?

I want to show a faq page with links to articles, grouped by their taxonomy. How can I achieve this? This is what I have so far: {{ taxonomy:faq_topics sort="title" }}

0
votes
1 answer

Navigation [] not found - statamic navbar

How can I resolve the follwoeing error: "Facade\Ignition\Exceptions\ViewExceptionWithSolution Navigation [] not found" Here is the code: partial:
0
votes
1 answer

Can we use Statamic CMS ( as a backend) and Vue with GraphQL on the frontend for the website?

I want to build a portal in which I want to have below stacks: Statamic CMS (As the backend) GraphQL for the API's Vue js as the frontend Can anyone help me with the above tech stack, and it will be helpful if there will be any documentation…
Stuart
  • 1
0
votes
1 answer

Pass data to template with redirect() in Statamic

I've got a form in Statamic, and I want to pass some data back to it on submission to show a nice 'All good' message, e.g: return redirect() ->back() ->with(['form_success' => true]); Unfortunately the template completely ignores the…
Meep3D
  • 3,803
  • 4
  • 36
  • 55
0
votes
1 answer

How to include a new JavaScript file to my Statamic application?

I am trying to include a new js file into my Statamic application. As per the Statamic documentation I changed the file AppServiceProvider.php in the boot method I added Statamic::script('App', 'newfile.js'); But it doesn't load the javascript…
MACMAN
  • 1,883
  • 1
  • 21
  • 35
0
votes
1 answer

How do i achieve Multisite routing in statamic

I have a multisite setup with a page collection that looks like this title: Pages sites: - TypischAtopisch - TypischHeuschnupfen - TypischNeurodermitis propagate: false template: default layout: layout revisions: false route:…
david dami
  • 83
  • 1
  • 10
0
votes
1 answer

How to combine 2 function in php?

How can I combine 2 functions in PHP? I have 2 functions, function #1 public function cache() { $command = 'clear:cache'; try { Artisan::call($command); $call = trim(Artisan::output()); return back()->with('success',…
rurjaf
  • 45
  • 4
0
votes
1 answer

Is it possible to use the version of PHP that is installed via brew in MAMP?

I have recently switched from Windows to Mac and would like some advice. I need to use a simple, flexible development environment for my projects. My projects are mainly based on Wordpress and Statamic. According to the recommendation I tried MAMP.…
0
votes
1 answer

TypeError: Cannot read properties of null (reading 'shift')

I'm getting the following error (TypeError: Cannot read properties of null (reading 'shift') whenever I make changes to the Mailchimp settings in the Statamic CMS and save the changes. The error appears when I refresh the page to see if the changes…
Nathan Bayne
  • 190
  • 12
0
votes
1 answer

Statamic orWhere condition in controller

I want to write more than one condition where in controller. How can I solve this? For example : $query = $query->where(function ($q,$request) { $q->where('product_name', 'like', '%'.$request->get('q').'%')->orWhere('product_id','like',…
user15568390