-
Posts
721 -
Joined
-
Last visited
-
Days Won
6
Everything posted by matjazp
-
[SOLVED] BUG : Repeater fields appears in template settings of any page
matjazp replied to abmcr's topic in General Support
Confirm. -
Could this: else if ($type instanceof FieldtypeRepeater) { $items = $page->{$f->name}; if (!$items) continue; if ($items instanceof PageArray) { foreach ($page->$f as $item) $tagged = array_merge($tagged, findTaggedImages($item, $tag)); } // FieldtypeFieldsetPage returns a single page instead of a PageArray elseif ($items instanceof Page) { $tagged = array_merge($tagged, findTaggedImages($items, $tag)); } } be like this? else if ($type instanceof FieldtypeRepeater) { $items = $page->{$f->name}; if ($items instanceof Page) $items = array($items); if ($items) foreach ($page->$f as $item) $tagged = array_merge($tagged, findTaggedImages($item, $tag)); } I'm not a programmer at all and haven't tested this so I might be completely wrong
-
Shouldn't that be: } else if ($type instanceof FieldtypeRepeater || $type instanceof FieldtypeFieldsetPage) { or perhaps: } else if(wireInstanceOf($type, 'FieldtypeRepeater')) { to support FieldtypeFieldsetPage?
-
Can you tell more about that?
-
I would love to see that hack/hooks I admire this PW community, showing their work, coming up with great ideas and helping other.
-
I think a lot of us would like to contribute, some way or another, depending on skils and available time. But at the end it's Ryan who must alocate time and other resources for this project and take a lead.
-
Maybe this is related https://github.com/processwire/processwire/commit/d427b7f563f3024c1030265463ecaf79ab92d070
-
@MacruraI tried that and css is applied to .ImageData but it doesn't help in my case... Didn't try your module ...
-
Happening to me on PW 3.0.71
-
I also agree, but I'm not sure such a tool would be helpful since Ryan has his own way of doing things. What we need is more or less visible by looking at open issues, pull requests and feature requests.
-
You should resave your translations first. Or try with new translation.
-
Try adding this: if(DIRECTORY_SEPARATOR != '/') $data['file'] = str_replace(DIRECTORY_SEPARATOR, '/', $data['file']); To /wire/modules/LanguageSupport/LanguageTranslator.php to public function saveTextdomain(), right after $data = $this->textdomains[$textdomain];
-
@ryan Thanks for the fix! I find the active tags background color to light, not enough contrast to see which tag is active (.selectize-dropdown .active{background-color: #d7e2e6;)
-
Is this commit https://github.com/processwire/processwire/commit/faf1efc0495704c21b373dd424ce57df45605970 related to this?
-
@ryan I have to save the page before I can enter tags using selectize. There is also js error, as @fbg13 mentioned. It looks like some html is missing on newly uploaded image, like <div class="selectize-control InputfieldFileTagsSelect multi plugin-remove_button plugin-drag_drop">...</div>
-
Is it just me or what - I can't add tags if page is not saved first?
-
Module: AIOM+ (All In One Minify) for CSS, LESS, JS and HTML
matjazp replied to David Karich's topic in Modules/Plugins
... $field->entityEncodeText = false; //add this to allow html markup $field->description.= sprintf(__('Cached files: %s | Used space: %s'), $_cacheInfo['numberOfFiles'], $_cacheInfo['bytesTotal']); ... -
It was documented on labstack pages and AutoSmushPDF was working like a month ago, but it looks like they decided to remove support for this api. The module is not working any more :-( @adrian would you remove the module from modules directory?
-
Related? https://github.com/processwire/processwire-issues/issues/250
-
Are there any javascript errors on upload (check with browser's dev tools)? Any other pages or templates have working image uploads or is this behaviour specific to this page only? Image is smaller that 2M (looks it is)? Any clues in PW log files? Try chmod -R 777 /site/assets/files/1234 to see if there are permissions problems.
-
About session fingerprint and load balancer IP change
matjazp replied to Karl_T's topic in General Support
If I remember correctly, Ryan made some modification regarding AWS, be sure to use PW 3.0.60. -
Using CSRF protection with AJAX doesn't work as expected
matjazp replied to abdus's topic in API & Templates
Wild guess: is $this->config->ajax true? Is HTTP_X_REQUESTED_WITH header set? Or is the problem with getTokenName()? -
Check permissions and ownership of assets folder.
-
Convert .htaccess to web.config for Microsoft Azure Cloud
matjazp replied to VirtuallyCreative's topic in General Support
ProCache on IIS is not supported, as far as I know, but it should work with some additional rules. Since I don't have ProCache, I can't say for sure. As this is payed product I don't know if I'm allowed to post this rules here on forum.- 3 replies
-
- azure cloud
- .htaccess
-
(and 1 more)
Tagged with: