-
Posts
4,314 -
Joined
-
Last visited
-
Days Won
80
Everything posted by diogo
-
Check the GD library, You can do it quickly like this: <?php if (extension_loaded('gd') && function_exists('gd_info')) { echo "hm no, GD is not the problem..."; }else{ echo "ah! I think we found it "; }
-
Soma, your shortcuts are nice and everything, and the alt+q feature is great. I even think it would be great to expand on that and have a natural language search module (think spotlight). But in PW there's nothing more powerful and clear than the tree, and IMO would be handy to have it quickly available.
-
Another way would be, having the tree visible and occupying all the screen by pressing a button, or even a shortcut key. No animations, just visible or invisible.
-
it might work well with something like this http://museudoresgate.org/videos/ (page it's slow at the moment)
-
Soma is da man
- 67 replies
-
- Inputfield
- UI
-
(and 2 more)
Tagged with:
-
You can call only by the name, but there is the risk of matching more than one pages because you are allowed to give the same name to different pages if they're not under the same parent.
-
:D I'm terrible at multitasking! Already corrected the link... And yep. Another PW site using Soma's great module
-
I just received my beta invitation to koding.com. I have three invitations to give away to those that promise that they will give at least two of their own invitations here in the forum PM me your email if you want one.
-
Doh!... two blinds here!
-
Assuming that $page->teams is a pageField, this is the correct way of doing it. Check again the settings from the field. Is it allowing multiple pages?
-
You would have to build a module that extends InputfieldTextarea, limits the amount of characters, and that calls the necessary javascript counter.To know how to do this, have a look at these two examples on github AceEditor and TinyMCE. Notice how the configuration fields are created with ___getConfigInputfields() on both of them. You will need it at least to set the limit on a per field basis.
- 67 replies
-
- 1
-
-
- Inputfield
- UI
-
(and 2 more)
Tagged with:
-
I don't think this ever happened to me, can you try in another browser just to test? the immediate way to solve it would be to put 49% to each
-
Hi, and welcome to the forums! Not exactly what you are asking, but there is a TinyMCE plugin for wordcount. To enable it in any TinyMCE field go to the edit field "input settings", and in "TinyMCE configuration options" add "wordcount" to the plugins list and "theme : advanced" and "mode : textareas" in two different lines to "Aditional TinyMCE settings"
- 67 replies
-
- 4
-
-
- Inputfield
- UI
-
(and 2 more)
Tagged with:
-
The problem with "Le" is that, by default, mysql fulltext searches don't return words smaller than 3 letters (you can confirm it by searching for small words here in the forum). See here http://dev.mysql.com...l-language.html. You could change this behaviuor in your mysql install, but it would affect all your sites, and it's not that easy or recommended: http://dev.mysql.com...ine-tuning.html I'm don't know about the "die" thing... still scratching my head
-
In a simple site these things can also go on the homepage template. Imagine, for example, a blog where the homepage doesn't have any content of it's own. You can simply populate it's template with fields for the footer, sidebars, and whatever else that would be global on the site.
-
that's a great number
-
NIco, mediwiki doesn't use markdown. Althought there is an extension for this http://www.mediawiki.org/wiki/Extension:MarkdownSyntax. And textile is also possible http://nigelball.org/2007/08/30/using-textile-markup-with-mediawiki
-
Module Stable version: The ACE Editor, your new favorite Inputfield
diogo replied to Adam Kiss's topic in Modules/Plugins
It does! -
Kendo UI has a great documentation http://docs.kendoui.com/ I also like the one from FuelPHP http://fuelphp.com/docs/
-
Ryan definitely set the positive tone on the forums, whether by answering to every kind of question or by cutting any discussion with a more negative tone (toward other open source projects for instance). This kind of attitude is somehow very contagious I'm very pleased to see new people coming and becoming quickly part of the project, and the last two weeks were great in this matter. A big welcome to every one!
-
I like to use this tecnique for my pages under construction: <?php if($user->id==40){ include("construction.inc"); }else{ // home code } but today it occurred to me to do simply this: <?php if($user->id==40) include("construction.inc");?> // home code and in the end of the included file: <?php exit; Is there any problem on doing this? I don't think there's something going on after the page is rendered, but just wanted to be sure...
-
ok I didn't test it and wasn't sure... you look different suddenly...
-
$commentPage->comment->last()->id ?
-
This would be great. It's something like the Wordpress "functions.php" http://codex.wordpress.org/Functions_File_Explained