-
Posts
6,808 -
Joined
-
Last visited
-
Days Won
159
Everything posted by Soma
-
Yes sorry, I forgot about it that it works only for 1 parent! Too many things in my head lately However, maybe you can use "parent=id|id2|id3" if it only for direct children pages. Maybe you can tell a little more about what you want to archive, I'm sure there's a good solution.
-
Sorry, I assumed it is clear. In the field advanced settings. Go to Setup -> Fields, open title field and under Advanced you'll find the Global setting. Uncheck it and you can remove title fields from templates.
- 11 replies
-
- 1
-
-
- data structure
- fields
-
(and 1 more)
Tagged with:
-
Remove global flag from title so you can remove it from templates. Name field is required, as it is sort of the "id" of the page that is needed to have.
- 11 replies
-
- 1
-
-
- data structure
- fields
-
(and 1 more)
Tagged with:
-
Repeater Items - How to filter "ready items" - Bug?
Soma replied to Luke Solar's topic in API & Templates
I think it's because Im using latest dev 2.3. -
Great work Ryan! Well I can't say I like ckeditor more than tinymce yet. But that's maybe personal experience using them. Sure some things are nice and it may more robust in some cases, and inline mode is such a cool feature, but overall I still struggle to see what's really better for an editor. Testing the new editor I think as it is now, the table tool is not really more usable than with tinymce. I think it's even worse or same. In Chrome it's hard to use and select (same in tinymce), in FF it works but if you turn off border you can't see the table anymore like in tinymce. This is in inline edit mode and standard. Maybe there's a setting like in tinymce to show it?
-
Thanks for adding Nico. Wanted to mention an notice that shows up when in debug mode. Always turn on debug mode when developing. <b>Notice</b>: Undefined index: id in <b>/xxx/site/modules/ProcessPreview/ProcessPreview.module</b> on line <b>31</b><br /> And then also the Page Tree doesn't load when debug mode in on..
-
Profile exporter doesnt work for fully with multilang title field yet as you found out. But that'salready known. However you don't need profile exporter to update from 2.2.9 to 2.3. Just replace wire folder.
-
don't want create images with GD-lib, - and some more needs
Soma replied to horst's topic in General Support
And I found that out without debugger... :-P -
don't want create images with GD-lib, - and some more needs
Soma replied to horst's topic in General Support
Well the imageType and filename property is protected in the imageSizer class. That's why. -
And does it work? I don't know really what is if it doesn't work. Maybe something like this? http://stackoverflow.com/questions/5444249/unable-to-find-the-wrapper-https-did-you-forget-to-enable-it-when-you-config
-
Just tried and it works for Thumbnails. I guess then it has something to do with allow_url_fopen php setting not enabled which is required for loading from external urls? http://www.php.net/manual/en/filesystem.configuration.php
-
Can't you just put this code in your main template? if($user->isGuest()){ throw new Wire404Exception(); // or redirect } else { // not guest }
-
Use maybe has_parent=id|id2 I think that should work
-
Try increasing max redirect in modules settings.
-
upscaling=>false not working when one dimension set to 0
Soma replied to adrian's topic in API & Templates
You could always test for the width and if smaller don't do a size(). if($page->image->width() < 500) { $img = $page->image->url; } else { $img = $page->image->size(500,0)->url; } Also have you tried doing a $page->image->width(500); Does it also upscale? However I think it should be taken care by the size itself. -
How to hook into comments module to change notificationEmail?
Soma replied to apeisa's topic in General Support
And even after 2 years PW you think you knew everything you discover something new. -
You can extract the month of a date with $month = date("m",$page->date); // 03 $month = date("n",$page->date); // 3 But not sure what you're looking for. Foreach it?
-
Cool thanks! Bisch voll im Schuss!? ;-) Why didnt this post appear in my no read list?
-
You mean like this? http://modules.processwire.com/modules/pdfcomposer/
-
LOL Damn joss this is brillant! Shame I didn't notice when viewing this on mobile back then, the audio wasn't showing up, just noticed now...
-
Yeah I know about this issue. Since LanguageLocalizedURL module by mcmorry was first a single file module. I think this could be added but it's an edge case and I think all modules should have their folder by default. I could check for the class name (if provided) and search for single files, but not sure it's worth for now, since this is still "alpha" and considered to be integrated into core there still lots of work to be done anyway.
-
Is there any way to execute PHP loaded from textarea fields?
Soma replied to DZoneRick's topic in API & Templates
I did mean previously that eval() to execute php is bad practice theres more elegant ways to archive what you're speaking. -
Is there any way to execute PHP loaded from textarea fields?
Soma replied to DZoneRick's topic in API & Templates
I could build this site in PW in 1-2days and it will be fully flexible content block type you can build those pages and have all configurable and sortable just powerful with sliders and colorpickers. Think outside of the 'page' and step back. Use them as blocks. You got jquery at your fingertips for the whole page tree, repeaters, page references. This may sounds as it would be silly but see pages as repeaters and there's nothing that can stop you. See one one page as a page you look on the screen and you'll be limited by what it can do. PW is build to work this way and performs and scales very well. There's plenty of module already and they`re easy to understand and build/maintain. I'm not a very good coder but PW makes me look like one. -
Ryan dont you think users unpublished should have strikeethrought?
-
Is there any way to execute PHP loaded from textarea fields?
Soma replied to DZoneRick's topic in API & Templates
Pw has no template tag language and will never have in core level. However this is an easy task and would make a simple textformatter module. Basicly what wanze does but more convenient.