## Where communities thrive

• Join over 1.5M+ people
• Join over 100K+ communities
• Free without limits
##### Activity
• Aug 19 08:09
• Aug 17 16:19
• Aug 17 16:14

jlambe on main

Fix mistyped method signature o… (compare)

• Aug 17 16:12
jlambe closed #869
• Aug 17 16:12
jlambe commented #869
• Aug 17 14:38
• Aug 10 06:49
jlambe closed #716
• Aug 10 06:49
jlambe commented #716
• Aug 10 06:47

jlambe on main

Fix case where WordPress WP_Pos… Fix #716. Redirect responses ca… (compare)

• Aug 08 20:08
jlambe closed #783
• Aug 08 20:04

jlambe on main

Update dependencies and fix com… Fix #783. Resolve WordPress aut… (compare)

• Aug 08 09:36
BehroozBvk commented #867
• Aug 08 08:36
ogorzalka commented #868
• Aug 08 08:27
Loubal70 opened #868
• Aug 05 15:09
jlambe closed #867
• Aug 05 15:09
jlambe commented #867
• Aug 05 14:35
BehroozBvk commented #867
• Aug 02 07:41
jlambe milestoned #783
• Aug 02 07:39
jlambe labeled #715
• Aug 02 07:36
jlambe closed #724
Julien Lambé
@jlambe
@swaraasolutions No date defined yet. It might take a long time before it is merged back into core. I suggest you look at dedicated plugins like ACF for example if you need some sort of repeater field. Sorry :(
JasperV
@Mantik_gitlab
@jlambe thanks fam, it's generated with Sami; the same thing Laravel & Symfony use.
It's really easy to setup, so you could set it up yourself and host it on themosis.com. If you want the config I use just hit me up with a DM.
But it'll be available on my site for a long time :)
I have a daily cronjob setup, so it automatically updates
mclaurent
@mclaurent
Hi
Has anybody had any issues with cookies being set automatically with the 2.x Themosis? I am seeing a "themosis_session" being set after setting up 2.0, but I have no idea where it is coming from or what it is being used for. It's causing me issues with page caching, and ideally would like to remove it as I don't believe it is being used anywhere?
mclaurent
@mclaurent
@mclaurent So I have worked out that this is set in app/config/session however I don't know WHY this would be needed? Is anybody able to shed light on the purpose of this and whether it is safe to remove?
Julien Lambé
@jlambe
@mclaurent The themosis_session cookie is used in order to identify each user session. It's a random value generated by the session package in order to use session in your application for both anonymous users or authenticated ones. If you do not use session in your app, you can remove it.
jyme
@jyme
Hi everybody i have a question about Themosis v2.0 :). I would like to know if is possible to display Field in a metabox depending result from other field?
vasikgreif
@vasikgreif
@jlambe Hello , I can see there's support for handling the translations from the app directory (themosis/framework@5bf32e0), but I did not find an example on how to use that
am I missing something?
mclaurent
@mclaurent
@jlambe Thank you - How do I go about removing it? I tried removing the config/session.php but that just caused an error, I think it's linked to the Symfony Request package.. Is there a setting I can set in the session.php to just disable that cookie?
Luke Abell
@LukeAbell
Hey guys! Long time Themosis user/lover. We're working on upgrading from v1.3 to v2. The only thing we're stuck on is getting routes to work in our theme. I'm registering them just like this but they aren't being honored https://github.com/themosis/theme/blob/master/resources/Providers/RouteServiceProvider.php#L32
mclaurent
@mclaurent
Has anybody had any luck TWIGging the wp-activate pages? I.e. when a user account is activated we want that page to be in-brand rather than default WordPress? I think the only way would be using the tempate-parts folder which would then call a Twig template, like below, but that's less than ideal...
echo app('Twig_Environment')->render('partials/global/activate/activate-header.twig')
Maxime Freschard
@ligne13
Hi! I have a few questions before migrating to Themosis:
• is it possible/recommended to use ACF with Themosis ? (to have Repeater or Flexible fields)
• i18n: is there an API for localization inside the Framework ? or should I still use the WPML plugin ?
• when creating a CPT with the PostType class, the post_content metabox/field is not present. Is this normal ? Should I add it manually by adding a custom metabox with a field named post_content ?
Thanks !
mclaurent
@mclaurent
Hey @ligne13 ,
I am using ACF with Themosis and works really well. We're also using the flexible content fields, I think there's a guide on the ACF website on how to write that
i18n - we're also using WPML for this since the ACF-WPML integration works so well
Post types - sorry, I don't know the answer to this :)
Maxime Freschard
@ligne13
@mclaurent thanks for your feedback !
Raphael Pajak
@rafflex
Hi @jlambe what is you deployment workflow?
Rahajason
@lalainarahajason
Hi, i'm new to themosis, i have one question : how to check witch version i have ?
Marc Wieland
@marcwieland95
Do we have some guidlines how to use Gutenberg Blocks the best within the framework?
romainh
@romainhe
Hi! Can we ask support questions here? ^^
Jeremy Nikolic
@jeremynikolic

Hi! Can we ask support questions here? ^^

Hopefully, as I've got one :)

Rob Steuber
@rsteuber

Hello, i tried to upgrade the framework for a customer from 1.3 to 2.0 but when i go to the homepage it keeps telling we:

The theme is only compatible with the Themosis framework. Please install the Themosis framework.

I followed the documentation, but i kinda stuck in here. Can someone please help me? Cheers Rob

swaraasolutions
@swaraasolutions
@jlambe any plans of integrating laravel queues. I have a used case which requires this as cron is something that won't resolve it for me
umair33
@umair33
Hi guys 👋
What password hashing is used ?
POTCHONA Justin
@potchjust_gitlab
Hi every one
i'm installing themosis on my server but before installing wordpress i have an error : host is not found .Please can you help me fixing the issues ?
POTCHONA Justin
@potchjust_gitlab
Hi guys ! How can I retrieve a custom media field url?
codemonkeynorth
@codemonkeynorth

hi.. just checking out the bookstore example (but actually just working with Posts rather than books)....

how do I match this archive route please? http://bookstore.dev/firstcategory/secondcategory/

like the post url is fine http://bookstore.dev/firstcategory/secondcategory/hello-world-post , but not the archive

i have to reference http://bookstore.dev/secondcategory currently but i need the parent/child category tree to be on the url

it's using the standard route currently
Route::match(['get', 'post'], 'archive', function ($post, \WP_Query$query) {

codemonkeynorth
@codemonkeynorth
something like this?
Route::get('/{category}/{subcategory}', ['post', function (\WP_Query $query,$category, $subcategory) {$query = new \WP_Query(['category_name' => $category.'-'.$subcategory]);
(in the backend my secondcategory would need the unique slug firstcategory-secondcategory)
codemonkeynorth
@codemonkeynorth
since i need /firstcategory/secondcategory and anothercategory/secondcategory urls
where the 2 secondcategory instances are different
ThePaavero
@ThePaavero
How, if possible, can I dynamically change the value of a custom text field inside of a Metabox? As in set its value with JS. It seems I can't just set its value due to React and some internal state it has, etc. Halp? Sorry if this has been asked before, couldn't find an answer.
ThePaavero
@ThePaavero
Ended up using some hack from here: https://github.com/facebook/react/issues/11488#issuecomment-626192358 ...works.
Maxime Freschard
@ligne13
Hi, anyone can help on this issue ? themosis/framework#790
zync09
@zync09
Hi there, Just testing out Themosis. Hopefully this is a simple question but how to I get all my posts under a client post type in my controller?
Blair Jersyer
@Blair2004

Hi, i'm new to themosis, i have one question : how to check witch version i have ?

composer.json

theia-kevin
@theia-kevin
Is this chatroom still active?
codemonkeynorth
@codemonkeynorth
Define “active” ;)
medord
@medord
Hi there , after restoring .wpress backup I ran into this error right after the sql import reached 94%. Fatal error: Uncaught Error: Class 'Themosis\Core\Application' not found
Anees Akhter
How can remove directory "cms" form themosis/framework?
@codemonkeynorth How can remove directory "cms" form themosis/framework?
@codemonkeynorth How can remove directory "cms" form themosis/framework?
Maria Fernanda Bravo
@mfbravo28:matrix.org
[m]
Hello,i have a problem:

Fatal error: Uncaught Error: Class 'Themosis\Core\Application' not found in C:\xampp\htdocs\webprocasa\backend\htdocs\cms\wp-content\themes\procasa\functions.php:15 Stack trace: #0 C:\xampp\htdocs\webprocasa\backend\htdocs\cms\wp-settings.php(514): include() #1 C:\xampp\htdocs\webprocasa\backend\htdocs\cms\wp-config.php(90): require_once('C:\xampp\htdocs...') #2 C:\xampp\htdocs\webprocasa\backend\htdocs\cms\wp-load.php(37): require_once('C:\xampp\htdocs...') #3 C:\xampp\htdocs\webprocasa\backend\htdocs\cms\wp-blog-header.php(13): require_once('C:\xampp\htdocs...') #4 C:\xampp\htdocs\webprocasa\backend\htdocs\cms\index.php(17): require('C:\xampp\htdocs...') #5 {main} thrown in C:\xampp\htdocs\webprocasa\backend\htdocs\cms\wp-content\themes\procasa\functions.php on line 15
There has been a critical error on your website.

hi. how should assets be referenced in a template (ie checking the manifest.json etc) ? .... pseudocode: <img src="{{ asset('images/nav/burger.png' }}" /> would eg get dist/images/nav/burger.a938852e2.png or however themosis does cachebusting