-
Posts
340 -
Joined
Everything posted by ottogal
-
This "insert paragraph here" functionality seems not to be part of the "div" plugin. Scanning the list of CKE plugins up and down I didn't find any which would provide this feature. Does anybody know, what it is and where to find it? (I think it extremely strange that something basic like putting the cursor to the very end of a textarea needs a plugin...)
-
Thank you very much, Robin S, for your hint to this plugin - it helped to solve my problem. Yet I've got another tiny issue: If a div like that is the last element in the source, ist not possible (in the editor area) to set the cursor below this div. Do you know a workaround for this? (Other than going into the source and adding some dummy character.)
-
And there's no way to let "him" know? Nesting of these elements is allowed, so why CKE is not taking this option into account? I tried this before. Sometimes it works, sometimes one of the paragraph texts looses it's wrapping p element... In any case, this is not a very intuitive way for "editor" users, they would need a special instruction in advance. I don't want them to have to check the source code and to instruct them how to "repair" the strange things that occur. I replaced the contents.css file with my own css file which contains all the relevant styles. And these are diplayed correctly (after source code is corrected).
-
Hi all, Obviously CKEditor doesn't allow nested flow elements like in this example: <div class="foo"> <p>Some Text</p> <p>More Text</p> </div> I want to wrap a colored box around the two paragraphs: .foo { background-color: #bdf; border: 1px solid #000; } In the mystyles.js I added the following: CKEDITOR.stylesSet.add( 'mystyles', [ { name: 'Box', element: 'div', attributes: { 'class': 'foo' } }, and added div(*)[*]{*} to the extraAllowedContent setting. In the editor, when I just have the two p elements in the CKE textarea; source is <p>Some Text</p> <p>More Text</p> I mark them and apply the style "Box". The result is <div class="foo">Some Text</div> <div class="foo">More Text</div> which of course is not what I want. Is there a way to overcome this behaviour of the CKEditor? (This same issue always drove me crazy in TinyMCE, and I hoped that CKEditor would handle this situation in a more rational way.) Of course, very likely I overlook some simple way to achieve that... I'm thankful for any hints! Edit: AFC and HTML Purifier are switched off.
-
Thank you for the information. I'm looking forward...
-
Hi cstevensjr, sorry for my late reply, I was distracted by other issues... Thank you for your time to do these screenshots. My field settings are okay, and I don't believe that it's a question of file size. In the meantime I made a strange observation: I added the field (type file, allowed extension mp4) to the template of a page in the Admin branch of the tree (it's a child of Admin). And here I don't have any problem to upload just the same mp4 file I used before...
-
Thank you for all your explanations (and your great modules!)...
-
Yep. - As far as I see both versions of the module file are identical; so for a installed module of which I've got only the -master version, I can rename the file pruning the trailing "-master"?
-
But again: Why there are two versions?
-
Now I installed the module via github, that worked without issues. At the moment I can't give you access to the setup. Thanks for the hints to the -master versions of modules. Again the question: What are they for, what's the difference to the others?
-
I crowed too soon: After a new start of the backend I made a modules refresh to find the following "success" message (green): And the installed version is again 0.1.4 ... (By the way: In the case of multiple files for a module, one with the trailing "-master" and one without it, which one should I use? What's the difference?)
-
My other modules all are up-to-date, so I can't say. Thank you for the idea! Uninstalling and reinstalling the module solved the issue. (Before the reinstall I had to delete the files in the modules folder.) Many thank, adrian!
-
Hhm, getModuleInfo() returns 'version' => 15, and all the files have the date of yesterday (my update). Obviously the update process was successful. But the entry on Modules > Site continues to display 0.1.4, the settings page is the old one. The new functionality is not available... Should I try to uninstall and reinstall the module, instead of updating?
-
Did both, same result: If I click "Continue to module settings" (below the "updated successfully" message), the settings show the 0.1.4 version.
-
Hi all! Bringing up this old thread... My hope was to solve this by modifying the entries in the textarea "Table fields to display in admin". For, say, a field "text" of fieldtype file with the Label "Notes" I had the entry "text.filesizeStr", hence the column title was "NOTES > TEXT.FILESIZESTR". Wanting the title "SIZE" instead, I tried the entry "Size=text.filesizeStr". And really, the column title changed to "SIZE". But the column lost its values - all its cells were empty. So I assume that it needs just a slightly different syntax for the entry to work... Suggestions welcome!
- 14 replies
-
- pagetableextended
- pagetable
-
(and 1 more)
Tagged with:
-
Hi @adrian, sorry for the late reply. I tried to install the new version 0.1.5 from the Backend via Modules > Site. Despite the notification of the successful installation, the module was not upgraded. (I'm running PW 3.0.15).
-
I also tried upload_max_filesize 200M and post_max_size 300M , to no avail (neither via .htaccess nor via config.php). It seems that the file size is not the culprit - it doesn't work even for very small files. In /wire/config.php I found the Bad file extensions for uploads, but mp4 was not amongst them. Then I saw the section and added the line 'mp4' => 'video/mp4', but without success. BTW: Uploading the mp4 files via FTP and refering them in the HTML code works without any issues. I really need help what to do... Thank you
-
Same for PW 3.0.15 Are there any news on that? Thanks.
-
PHP Version is 5.3.28-nmm5 upload_max_filesize is 200M (both values) post_max_size is 200M (both values) So this should not cause the problem...
-
As far as I see I don't have access to the php.ini file (hoster is all-inkl.com). Can I change these values via .htaccess?
-
Hi all, I encounter a strange issue. I have a field of type File with just mp4 as allowed file extension. A page is using a template that has this field added. Editing this page, I start the upload of a local mp4 file (around 90 MB of size) to said field. The progress bar is proceding until 100%, but then the download hangs; the wheel symbol doesn't stop rotating. What might cause this behaviour? (PW 3.0.15)
-
I think that should be $content.= $map->render($items, 'contact_gps'); (without " ")
-
Could it be just a typo? (closing quote missing)
-
Hi all, the module version 0.2.1 claims compatibility with PW 2.5, 2.6, 2.7 - but not 3.0. I tried to use it in PW 3.0.10 devns, and it works like expected as long as I leave the setting saveMessages unticked. Checking this option throws the following message: Line 747 of that file is $spamMailsMsgs = $receivedMessages->find('scf_spamMail!='); Most likely it's some other problem and not the PW version causing this error. But for compatibility, would it help to replace the <?php by <?php namespace ProcessWire; in all the php files of the module, or is there more to do to get it compatible?