-
Posts
96 -
Joined
-
Last visited
Posts posted by Radek
-
-
@radek Have you updated this for Processwire 2.5?
I had busy times in Linux world, but i started with 2.5 localization before few days as i am making new PW project. So YES there will be support for Czech 2.5 version.
-
2
-
-
Hi, this error message looks to me like old mysql on server. Can you tell us which versions of PHP and mysql are on server?
-
Looks like Angular might start making use of polymer elements, which would be really cool. Ember might be getting involved too. So much cool stuff happening - hard to decide which way to go. Throw Meteor in the mix as well and app development is starting to get really fun
Custom elements is great idea and i can see big potencial in it. Some of their example ui elements are nice and useful so this can be good timesaver with any other framework. I can imagine some hudge library of public custom elements ....
-
I found this video showcase of polymer project (http://www.polymer-project.org) and it looks quite interesting.
-
I like GNU/Linux or unix like systems so much that using it 14 years and about 8 years as main desktop system everywhere. My wife, childrens, mom, friends, ... using it too without problems. Nothing is perfect so donwside is lack of some aplications which may be solved with virtual machine (seamless mode...) and some hardware support (which is better every day). I figured before long time that i dont need any windows aplications for my daily computer use!
There are plenty ready to use Linux distributions, but i am always ended with some rolling release distribution (Gentoo, Arch, ..) with my own builded "holy grail desktop enviroment" from scratch. This is my desktop history on few screenshots.
Last time i installed Manjaro Linux to three new Linux users and they like it more than Windows before.
-
2
-
-
How to enable text alignment in CKEditor? I added the plugin ('justify') and added the buttons to the toolbar. They show up in the toolbar but are in a disabled state.
Under input tab.
Set USE ACF to No.
Other settings which you have probably right.
CKEditor Toolbar
JustifyLeft, JustifyCenter, JustifyRight, JustifyBlock
Extra Plugins
pwimage,pwlink,sourcedialog,justify
-
2
-
-
Czech Language Pack for ProcessWire 2.4 is finished.
Current version: 1.0 (99 files) + README.txt
Changelog:- Some minor fixes.
- Added last missing string
All supported strings are translated. ProcessWire made hudge improvement to localization support since version 2.3. There are still some places without PW localization support (users, roles, permissions, ...) and one minor bug. I am considering this version as stable for production use.
-
1
-
-
Second (looks like last) release candidate of stable Czech Language Pack for ProcessWire 2.4 is finished.
Czech Language Pack
Current version: 1.0rc2 (99 files) + README.txt
Changelog:- Some minor fixes.
- Added few missing strings
Czech Language Pack for external modules.
Current version: 0.6 (28 files) + README.txt
Added:ProcessBatcher
- /site/modules/ProcessBatcher/ProcessBatcher.module
TextformatterHannaCode
- /site/modules/TextformatterHannaCode/ProcessHannaCode.module
- /site/modules/TextformatterHannaCode/TextformatterHannaCode.module
Updated:
ProcessPageDelete
ModulesManager
InputfieldCKEditor
ShoppingCart
FormBuilderContains:
FieldtypeCropImage
InputfieldCKEditor
ProcessBatcher
ShoppingCart
TextformatterVideoEmbed
FormBuilder
ModulesManager
ProcessPageDelete
TextformatterHannaCode-
2
-
Hi, wayne i made little test here and it works for me so this must be some enviroment problem same as manfred62 mentioned before.
Can you try czech language pack i tested it on several systems without problems and i am curious if it is affected on your system too.
-
Radek, nope, same problem. And as I said I can access the site at 'mycomputername.local' but still resulting in a 404 error when I want to log in or go to 'about' or any other page.
Have you uncomented line in httpd.conf?
LoadModule rewrite_module modules/mod_rewrite.so
On some systems may be changed .htaccess name thrue.acl. I dont think this is it, but you can check.
In most cases this is about enabling AllowOverride All or editing RewriteBase. Looks like i am out of ideas now (maybe some typo in configs).
-
Adrian, because that's what it originally said and setting it to 'Allow from all' doesn't change anything.
Radek, 'myweb.local' goes looking for 'www.myweb.local' and ends up nowhere whereas 'mycomputername.local' goes to my local sites. But nevertheless still resulting in a 404 error.
Last example was accessible thrue http://myweb.local for http://www.myweb.local you can add ServerAlias.
<VirtualHost *:80> DocumentRoot "/Library/WebServer/Documents/myweb" ServerName myweb.local ServerAlias www.myweb.local......
-
1
-
-
Doesn't work on a Mac for me. Testing separate sites in /Library/WebServer/Documents/site1.org and /Library/WebServer/Documents/site2.net
etc/apache2.httpd.conf is set to
DocumentRoot "/Library/WebServer/Documents"
<Directory />
Options FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all
</Directory>
The .htaccess 'garble' test failed, so I presume httpd.conf is the culprit but how/why?
In .htaccess I uncommented
RewriteBase /site1.org/
RewriteBase /site2.net/
Still getting a 404 error....
I dont use Mac, but you can make VirtualHosts in apache and dont need to RewriteBase.
Simple uncomment line Include /private/etc/apache2/extra/httpd-vhosts.conf in
/etc/apache2/httpd.conf
And make new configuration for your VirtualHost in /private/etc/apache2/extra/httpd-vhosts.conf
<VirtualHost *:80> DocumentRoot "/Library/WebServer/Documents"</VirtualHost><VirtualHost *:80> DocumentRoot "/Library/WebServer/Documents/myweb" ServerName myweb.local ErrorLog "/private/var/log/apache2/myweb.local-error_log" CustomLog "/private/var/log/apache2/myweb.local-access_log" common <Directory "/Library/WebServer/Documents/myweb"> AllowOverride All Order allow,deny Allow from all </Directory></VirtualHost>
Dont forgot restart apache and add to /etc/hosts
127.0.0.1 myweb.local
-
2
-
-
I don't want to meshup (is that a word ?) with the great post of Radek.
But I have good experience with mediaElement.js to use audio & video.
MediaElement.js looks great, i will test it on project with some video files.
-
Or if you dont need support for old browsers you can try something like this:
This one have redirection after play.
HTML
<audio id="audio" hidden> <source src="./sound/sound.mp3" type="audio/mpeg"> </audio> <div id="menu"> <li> <a href="http://www.google.com">Click to play...</a> </li> </div>
jQuery
var target; function checkAudio() { if($("#audio")[0].paused) { window.location.href = target; } else { setTimeout(checkAudio, 1000); } } $('#menu li a').click(function(e) { e.preventDefault(); target = $(this).attr('href'); console.log("Let's play"); var sound = $("#audio"); sound.get(0).play(); setTimeout(checkAudio, 1000); });
-
1
-
-
-
-
Tried fixing everything. Have a look and please tell me if it's working: https://github.com/NicoKnoll/ProcessPageDelete
Nice, localization working fine and button is hidden in trash. I am using this small module on all projects, so thank you for your good work!
-
1
-
-
Hi Nico, can you make translatable more strings like:
- Moved page to trash
- You don't have access to delete that page
- This module requires ProcessWire 2.1 or newer..
And maybe dont read "delete" translation from /wire/modules/Process/ProcessPageEdit/ProcessPageEdit.module as i want be able to translate it separately.
One more vote for fixing delete behaviour in trash with pernament page delete or hiding delete button.
Thanks
-
Hi All,
I've just noticed that the latest stable version has moved on to 2.4, when did that happen?, did I miss an announcement??
I'm too busy to download and take a look right now, is there a changelog anywhere that will inform us what to expect in the new version?, or maybe a forum post that I should check out?
cheers,
Martin.
Hi, here is it http://processwire.com/talk/topic/3768-processwire-231-dev-branch/?p=53469
-
I am glad to announce first release candidate of stable Czech Language Pack for ProcessWire 2.4.
Czech Language Pack
Current version: 1.0rc1 (99 files) + README.txt
Changelog:
Added:- wire/templates-admin/default.php
- wire/templates-admin/debug.inc
Deleted:
- wire--modules--admintheme--adminthemedefault--debug-inc.json
- wire--modules--admintheme--adminthemedefault--functions-php.json
- wire--modules--admintheme--adminthemedefault--default-php.json
Updated:
- Many strings and cleaning.
Czech Language Pack for external modules.
Current version: 0.5 (25 files) + README.txt
Added:
ShoppingCart (initial translation)- site/modules/ShoppingCart/PaymentInvoice.module
- site/modules/ShoppingCart/PaymentSimpleExample.module
- site/modules/ShoppingCart/ShippingFixedCost.module
- site/modules/ShoppingCart/ShoppingCart.module
- site/modules/ShoppingCart/ShoppingCheckout.module
- site/modules/ShoppingCart/ShoppingOrdersManagement.module
- site/modules/ShoppingCart/ShoppingStepsMarkup.module
Updated:
ModulesManager
InputfieldCKEditor
Contains:
FieldtypeCropImage
InputfieldCKEditor
TextformatterVideoEmbed
FormBuilder
ModulesManager
ProcessPageDelete
ShoppingCart
-
4
-
Hi all, after some time i am back and here is new version of this language packs. Version 1.0 is targeted for ProcessWire 2.4 so now is good time to make some release candidates and finish this ugly work
. Any help will be appreciated.
Czech Localization Pack.
Current version: 0.9.9 (100 files) + README.txt
Changelog:
Updated strings and files to match latest git version (ProcessWire 2.3.13).
Added:- wire/core/AdminTheme.php
- wire/core/Pages.php
- wire/modules/LanguageSupport/LanguageTabs.module
- wire/modules/Fieldtype/FieldtypeURL.module
- wire/modules/Fieldtype/FieldtypeModule.module
- wire/modules/AdminTheme/AdminThemeDefault/AdminThemeDefault.module
- wire/modules/AdminTheme/AdminThemeDefault/functions.php
- wire/modules/AdminTheme/AdminThemeDefault/debug.inc
- wire/modules/AdminTheme/AdminThemeDefault/default.php
Deleted:
- wire--templates-admin--debug-inc.json
- wire--templates-admin--default-php.json
Czech Localization Pack for external modules.
Current version: 0.4 (18 files) + README.txt
Added:
ModulesManager- site/modules/ModulesManager/ModulesManagerNotification.module
- site/modules/ModulesManager/ModulesManager.module
ProcessPageDelete
- site/modules/ProcessPageDelete/ProcessPageDelete.module
Deleted:
templates-admin (is part of core modules now)- site--templates-admin--default-php.json
- site--templates-admin--shortcuts-inc.json
Updated:
- FormBuilder
- InputfieldCKEditor
Contains:
- FieldtypeCropImage
- InputfieldCKEditor
- TextformatterVideoEmbed
- FormBuilder
- ModulesManager
- ProcessPageDelete
-
1
-
I kind of like these, though the lyrics don't make any sense to me
Funny thing though; title of second song, "Kansanlaulu", is Finnish word for "folk song." Does that mean something in Czech too? Wouldn't, of course, be the first time a band took song name that sounded "cool" or "funny" from another language.
Speaking of folk songs (kind of), I've recently taken a liking to the debut album of Finnish composer Antti Martikainen, labeled "Creation of the World". Works wonders when I'm trying to forget my surroundings and concentrate on one thing, such as writing code
Čankišou band uses own non existing language. So i can not understand too.
Antti Martikainen is quite neutral, i tested it and feels like i play some old strategic game thanks
This is real czech language.
-
I put all files in the Audio_MP3 folder but my PW does not see a new module waiting. So I cannot install it. Why ?
This will need more work.
Load audiojs:
<script type="text/javascript" src="<?php echo $config->urls->templates; ?>scripts/audiojs/audio.min.js"></script>
Create js for controling player
<script> $(function() { //Setup the player to autoplay the next track var a = audiojs.createAll({ trackEnded: function() { var next = $('ol li.playing').next(); if (!next.length) next = $('ol li').first(); next.addClass('playing').siblings().removeClass('playing'); audio.load($('a', next).attr('data-src')); audio.play(); } }); //Load in the first track var audio = a[0]; first = $('ol a').attr('data-src'); $('ol li').first().addClass('playing'); audio.load(first); //Load in a track on click $('ol li').click(function(e) { e.preventDefault(); $(this).addClass('playing').siblings().removeClass('playing'); audio.load($('a', this).attr('data-src')); audio.play(); }); //Keyboard shortcuts $(document).keydown(function(e) { var unicode = e.charCode ? e.charCode : e.keyCode; //right arrow if (unicode == 39) { var next = $('li.playing').next(); if (!next.length) next = $('ol li').first(); next.click(); //back arrow } else if (unicode == 37) { var prev = $('li.playing').prev(); if (!prev.length) prev = $('ol li').last(); prev.click(); //spacebar } else if (unicode == 32) { audio.playPause(); } }) }); </script>
In your template you can do something like this.
if (count($page->audio) > 0 ){ $outAudio = "<audio preload></audio>"; $outAudio .= "<ol class='playlist'>"; foreach ($page->audio as $song) { if ($song->description != "") { $songName = $song->description; } else { $songName = $song->name; } $outAudio .= '<li><a href="#" data-src="'.$song->url.'">'.$songName.'</a></li>'; } $outAudio .= "</ol>"; } echo $outAudio;
-
3
-
Czech (cs-CZ)
in ProcessWire Language Packs
Posted
Hi, after long time Czech Language Pack is online again. Project was transfered to github and we have new maintainer Pavel Tajduš. Module page is updated and work on PW 3 support already started. Thank you Pavel.