Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 18 18:04
    mikhaelr commented #524
  • Oct 06 10:41
    marcell-ferenc commented #788
  • Sep 30 14:24
    movergan commented #780
  • Sep 29 07:01
    KevinBatdorf commented #480
  • Sep 26 11:59
    englertibor commented #760
  • Sep 24 16:36
    pagegwood commented #137
  • Sep 21 20:12
    AdrianKielbasa edited #798
  • Sep 21 20:09
    AdrianKielbasa opened #798
  • Sep 17 08:08
    nikomuse edited #797
  • Sep 17 07:54
    nikomuse opened #797
  • Sep 16 13:35
    szepeviktor commented #742
  • Sep 15 22:44
    BenceSzalai commented #774
  • Sep 15 21:10
    LukeAbell commented #774
  • Sep 13 07:59
    BenceSzalai commented #774
  • Sep 11 13:59
    BenceSzalai opened #796
  • Sep 10 23:15
    dependabot[bot] labeled #795
  • Sep 10 23:15
    dependabot[bot] opened #795
  • Sep 10 23:15

    dependabot[bot] on npm_and_yarn

    Bump http-proxy from 1.18.0 to … (compare)

  • Sep 04 21:25
    dependabot[bot] labeled #794
  • Sep 04 21:25
    dependabot[bot] opened #794
Marc Wieland
@marcwieland95
Ok, perfect. Let me know
swaraasolutions
@swaraasolutions
@jlambe couple of issues i found when trying to integrate Themosis 2.0 on windows, linux worked like a charm
  • addLocation function under Finder.php the path is being defined however for windows the path starts with /D: due to this the assets are always not found if we remove the additional / in front of the path it works great
Julien Lambé
@jlambe
@swaraasolutions Thanks for reporting this issue. Can you post it under the framework repository or perhaps could you make a pull request? https://github.com/themosis/framework/issues Thanks
swaraasolutions
@swaraasolutions
@swaraasolutions Thanks for reporting this issue. Can you post it under the framework repository or perhaps could you make a pull request? https://github.com/themosis/framework/issues Thanks
i will generate a pull request first thing monday morning IST
swaraasolutions
@swaraasolutions
@jlambe have added my first pull so let me know if there are any issues
Julien Lambé
@jlambe
@swaraasolutions I’ll checked it. Thanks!
Nicholas Tsim
@ntsim

Hi @jlambe , loving the work on v2! I'm glad that someone is trying to make Wordpress bearable! :smile:

Just wondering what your feelings about where views/assets should go in the project structure. I'm getting the impression that these should generally be going in the project's theme directory, but for my use-case (a single Wordpress app), I can't really think of a compelling reason to do this.

My initial thoughts would be to actually hoist everything to root-level views/assets directories as it seems like it would make working on my project easier, particularly because:

  • Not having to traverse down to the project theme to build assets
  • More Laravel-y project structure
  • Would make use of the root-level views directory (would just be empty otherwise?)

On the other-hand, I'm quite new to Themosis, so I'm not sure if there are potential downsides to this kind of approach?

Julien Lambé
@jlambe
Hi @ntsim, personally I keep my views inside the theme. The idea is to still be able to swap all application output by simply changing the theme. I use root application views for « shared » views or for anything that goes inside the WordPress administration.
Nicholas Tsim
@ntsim
Awesome thanks for the input @jlambe. I think I'll go with this approach so I'm not going too far off the Themosis way of doing things :thumbsup:
JasperV
@Mantik_gitlab
I'm hosting generated API docs of Themosis on my website. Some of y'all might find it useful. :)
https://docs.jasperv.dev/themosis/2.0/
swaraasolutions
@swaraasolutions
@jlambe excellent work with 2.0 just wanted to check when can we expect the infinite fields back in 2.0?
Julien Lambé
@jlambe
@Mantik_gitlab This is super cool! It would be cool to point to it somehow on the current documentation website.
@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