Posts by SAB

    Using elementary OS too. But basically its just an Ubuntu with a nicer desktop. Linux Mint is also based on Ubuntu. Ubuntu things are nice, because you can find a lot of stuff and help about it.


    My brother is a former Arch user and switched to Manjaro, which is actually an setup of Arch Linux and more handy to configure (Arch is a Do It Yourself Distro). He is also using Fedora which is also very nice. At my university the provide it as dualboot to windows.


    Choose one, try it and try some more. Linux is about trying an switching. It's like changing clothes ;).

    I think I got it. Pagekit is purly using the DatabaseSessionHandler after its installation. The files I found in /tmp/sessions were old file which were created during the installation of pagekit. The installer itself cannot use the database, as it is not yet set up. In app/installer/config.php which is loaded in app/installer/app.php the session storage is set to array. That will default to the NativeFileSessionHandler. But after installation, pagekit in started with app/system/app.php loading app/system/config.php with session storage to database.


    Then I think, it's no problem to scale things up ;).


    P.S The Session itself is an implementation of the Symfony Session. Check https://symfony.com/doc/curren…_foundation/sessions.html

    I just checked some websites. I can confirm, Pagekit uses both, the database and the files. The files are matching the entries in the table.


    I guess, if session is started or continued, it's config is read from the database and cached into /tmp/sessions for further use. But that is just a hypothesis.

    I can give you some hints as I don't know much about Pagekit's session handling.


    Here the session provider is registered. Looks like there is a File and a Database Handler:

    /pagekit/app/modules/session/index.php


    In /pagekit/app/system/app.php the config file /pagekit/app/system/config.php is loaded with the following session config:

    What I currently don't understand, why the configure the files path if the use the database handler:

    Hope this hints helps.

    And some question to your website: why are you using style tags and a lot of float element, if you just could take uikit classes which will fullfil the same purpose and will provide better readability & adaptability.


    Also think about the float element, there is no line-break on smaller devices (e.g. mobilde phones).


    e.g. Work experience


    Instead of the div with float just use a paragraph. For text styling consider:

    https://getuikit.com/v2/docs/base.html#headings

    https://getuikit.com/v2/docs/text.html


    Short example ;)

    Code
    1. <div class="uk-accordion-content uk-active">
    2.     <span class="uk-text-small">2007/02 - 2010/12</span>
    3.     <h2 class="uk-margin-remove">Project Manager</h2>
    4. <span class="uk-text-muted">cwerk GmbH, Munich</span>
    5.     <ul>
    6.     <li>Online presences and e-stores</li>
    7.     <li>Web applications</li>
    8.     <li>Project and key account management.</li>
    9.     </ul>
    10. </div>


    No offense, I am just wondering about this hardcoding :)

    I am just wondering what bixie is doing. He got a really nice arsenal of pagekit extensions (a lot are not listed in the marketplace, but seem finished). And it seems he's still working with pagekit, as he updates from time some other pagekit related extensions e.g pagekit-emailsender or pagekit-emailreader

    Seems the file version only depends on the version of pagekit (as the secret is created once I think). What you could try is, the create your own extend of the assets and adapt/update the version with properties of your need.


    Have you tried something like this in your module/theme:

    Code
    1. $app->extend('assets', function ($factory) use ($app) {
    2. $version = sha1(someCustomArgument)
    3. });

    Did not test that, but could work.

    Sorry, wrong advice ...


    The menus are saved in the system/site config. Hence you can use:

    $app->config('system/site')->get('menus') (1)


    But I think you can use the menu manager after all.

    Try for a single menu: $app['menu']->get($id)

    and for all menus: $app['menu']->all() (using this method instead of (1), you get also the associated menu positions)


    What dir option? Is that the dir from where you want create the gallery.


    If you pass a path as options, it gets critical with the regex, as / has a meaning there. Have you tried to escape your path? e.g. \/

    The hole content is matched for plugin compatible string. Probably using paths does not match anymore the specified regex used to find the plugin shortcuts.

    What I don't get is, the multiple menu thing. It's only possible to show a single menu in a menu position.


    The only thing to show multiple menus in a position, is with widget's. Simply create a menu, don't assign it to a menu position and create a menu widget, selecting the added menu. Proceed as many times you'd like to add a menu.

    This behaviour is strange. Are you sure, you are using the correct plugin syntax?


    Below you see the code which evaluates the plugins. According to your class you should use

    (mercator_plugin){option1: 1,  option2: 2}

    in the editor which will call your plugin with $options = [ 'option1' => 1, 'option2' => 2].

    But I think you did that right?! The problem is now, that this options are only available if pagekit is in www root. That I cannot explain, as there is no connection visible in code ...