Jump to content

Ralf

Members
  • Posts

    144
  • Joined

  • Last visited

Posts posted by Ralf

  1. Hi together,

    i made my first steps with PW an as i know one of the first "problems" i had was the translation. I know that PW has a german translation but who the .... could i find that??!!

    So i (and certainly much more others) would be VERY very happy when we could have a subpage for Languages in the Download-section?? Like the Post from Nico

    - I would like to have an official translation (maybe in a subpoint of "Download" on this site), which is updated with every new release. So there would be a central point for the core translations.

    The structure could be as follow:

    Language Name - the percentage of finish - untranslated (count) - last change - a download link

    somthing like this: https://translations.launchpad.net/roundcubemail/+translations

    What do you guess??

    • Like 2
  2. Ok guys i´m not so confirm with php ... but who can i give this navigation link an additional Option like a "target" ??

    The reason is that i´m don´t see the fun of it when the user click on that link and leave my site for ever ... i find the better solution is to open a new window.

    By the way i use this method from ryan:

    ...

    When you need to have a navigation link in an existing structure, even though the page isn't in that structure, you can give it a placeholder. Create a field called "redirect_url" of type "URL". Create a template called "redirect" and add your "redirect_url" field to it. Then paste the following in your /site/templates/redirect.php file:

    <?php $session->redirect($page->redirect_url); 

    Now whenever you need an extra navigation item somewhere in your structure, without the page actually being there, create a placeholder page using the "redirect" template. Put in the URL to the page you want it to go to. When the page is viewed, it'll end up where it's supposed to go.

    If you want to avoid the 301 redirect, you can also just update your navigation output code to give preference to a redirect_url field when it exists. And it'll use redirect_url when it's populated, and url when it's not:

    <a href="<?=$page->get('redirect_url|url')?>"><?=$page->title?></a>
  3. I just installed this locally to evaluate it. The datepicker only offers the option to set a date, but if I set the date, the datepicker input field is set to "08.08.2012 hh24:08:ss" … and I have a feeling this is not intended behaviour?

    Hi!

    I haven't seen this behaviour before. I just tested it and could not reproduce it.

    For me the dates shows like on the attached screenshot.

    Are you using WAMP/XAMPP locally or are you running a local linux server?

    /Jasper

    @ Jasper

    i didn´t think that this is a local problem from the LAMP because I can reproduce the problem from yellowled on a server at a ISP.

    I thought that the Problem that yellowled and I have is that we CHANGE under SETUP -> fields -> publish_from -> Details -- the "Time Output Format" from 14:20:30 to 14:20 !!

    and so i get the SAME Error as yellowled have with the output "15.08.2012 hh24:08:ss"

    I change the Time Output Format back to 14:20:30 an ALL works like a charme ;)

    Did you have any solution for this??

  4. ...
    <?php
    $admin = $users->get('admin');
    $admin->setOutputFormatting(false);
    $admin->pass = 'yo123'; // put in your new password
    $admin->save();

    …or if it's easier for you to copy/paste everything on one line, here's the same thing as above on one line:

    <?php $users->get("admin")->setOutputFormatting(false)->set('pass', 'yo123')->save();

    Replace "yo123" with the new password you want and save the template. Then view a page using that template (like the homepage, in our example). The password for that account has now been reset, and now you are ready to login.

    ...

    @ ryan

    could you please edit your first posting of this tread??

    Because i´ve got this mistake an try the code from you a lot of time but noting happens.

    Then i change the password to "uiop6789" and it works ...

    The answer i found in the profile -> set password site:

    Password must be at least 6 characters and have at least 1 letter and 1 digit.

    But the code above has only 5 characters ;)

    Big thanks Ralf

×
×
  • Create New...