-
Posts
10,902 -
Joined
-
Last visited
-
Days Won
349
Everything posted by adrian
-
@pwired - do the tooltips always appear below the user for you? It only happens for me if I have my browser viewport set to a really small height such that they can't fit above.
-
Looking for a little advice. I have just added ACE Editor to the Console panel (not committed yet): Questions: Do you think we need an option to revert to a standard textarea or is having ACE loaded the only option ok? This works without having either of the PW ACE modules installed so I am just packaging the ACE core, the PHP highlighter, and one theme (tomorrow_night). Is everyone ok with this, or would you prefer to have the ability to change themes? If I do this, then I will probably require InputfieldAceExtended to be installed to prevent a huge download included with this module. Any thoughts on whether adding a snippets manager to this panel would be useful? It would allow you to name and save code snippets which can be loaded dynamically from a select field. Any thoughts or suggestions? Thanks!
-
Hi @ceberlin - glad you are finding it convenient. Sorry there was a problem with your upload though. It shouldn't be a number of entries issue - I have imported thousands of entries without a problem (although field Table itself is slow to render with that many until Ryan adds pagination - hopefully soon). Any chance you could send me the file in it's original form so I can test and add some checks for illegal characters etc. Just to confirm - was the exported file exported using this module? Sounds like I might have an issue there. BTW - what version of PHP and PW are you running? There is already an overwrite option - you just need to enable it:
-
The Q&A style is probably going to go away for most boards - it certainly doesn't work for example in the Modules/Plugins board.
-
Thanks to some testing by @tpr the ToDo panel now supports the "loud" comment operator (/*!). If you don't know what this is, it lets you write comments that won't be lost when a scss file is compiled or a js file is minified, eg: /*! TODO that won't be lost when compiled/minified */ This should be very handy if you you have your source scss and js files above the /site/templates/ folder Also, @tpr mentioned the following which some of you might find useful:
-
Autojoined 'Options' field causes thousands of DB queries on a single page
adrian replied to wet's topic in API & Templates
This doesn't sound good - can you narrow down where it's coming from in Tracy - is it due to the PW Info Panel where it populates the "Fields List & Values" section? -
Maybe it's a cache issue since you can't get to the admin to do a Modules > Refresh, try emptying the "caches" database table. Sorry you said you already did that I think there is something though in the fact that all your other pages work, just not the homepage and the admin. If you still have no luck, if you PM me access details (FTP and PW login) I'd be happy to take a look for you. Unrelated, but you have a JS syntax error - take a look at the console. PS It seems unlikely, but have there been any changes made to the .htaccess file recently. Did you replace it when you upgraded to 2.7.2?
- 7 replies
-
- 1
-
- admin
- publishing
-
(and 3 more)
Tagged with:
-
Did you just delete the files, or did you properly uninstall it? If not, at this point it might be easiest to go to modules DB table in PHPMyAdmin and delete the row for that module. Then do a Modules > Refresh and see if that helps.
- 7 replies
-
- admin
- publishing
-
(and 3 more)
Tagged with:
-
Just to follow up, @tpr figured out why the js file wasn't being parsed for him - it's amazing what a single missing space can do His PR has been merged and I have also added support for latte {*TODO this*} style comments. If there are any other comment tag types that anyone needs supported, please let me know.
-
Any chance you can send me this js file? To clarify - are you saying it worked before my changes here: https://github.com/adrianbj/TracyDebugger/commit/8b3ac0823b72dec2caeb8c72ba4dd443a56ec70a Anyway, if you can send through, I am sure I can figure out why it's no longer working.
-
Yeah, that would be it - not sure how to best handle your situation. Currently I search through all files under /site/templates and all subdirectories. Maybe I could just add a config setting for defining additional alternate paths. Do you think one single text field for entering one additional path would be sufficient? It would search this and all it's subdirectories as well.
-
@tpr - thanks for your feedback as always. I have tweaked the spacing and layout of the icon. As for the comments that are not working for you - I am not sure why - all those were working for me here, except the Latte one which I have just fixed at my end and will commit a little later. Any chance you could send some scss, css, and js files that aren't working for you so I can test here?
-
1Kb = 8000 bits 1Kib = 8192 bits More info: http://superuser.com/questions/287498/what-is-the-difference-between-a-kibibyte-a-kilobit-and-a-kilobyte
-
Am I correct in assuming that this replaces Adam's version completely? If so, I think it might be good to contact the ACE folks and get them to change the link on this page: https://ace.c9.io/#nav=production
-
Nice - I am a HomeBrew user, so that looks like it should make things very simple - cheers!
-
Thanks for reporting that - I was struggling to figure out why you were getting those errors. I guess it's getting to the point that we all need to have a PHP7 testing environment set up so we can fix these sorts of things. I'll see what I can do about getting it 7 compatible fairly soon.
-
Tracy Debugger (http://mods.pw/B8) - expandable call stack and variable dumping, error email notification, PW info/links, log file viewer, execution time, memory usage, diagnostics, and more!
-
-
Great to hear. I actually just committed a new version that significantly changes how some of the comments are parsed - could you please check to make sure this is still working. I had been thinking about that - you made me decide to go ahead with it. I also added a new column showing the type of the comment to make it easier to scan. I updated the screenshot a couple of posts above. Please let me know what you think and if you have any other tweaks/suggestions. I have been wondering if anyone might want to configure the comment types that are parsed. As I mentioned above, they are currently: 'todo', 'fixme', 'pending', 'xxx', 'hack', 'bug' but if some of you use others, then I'd be happy to make this configurable, or hardcode in a few key additions.
-
Is there any chance this site is online and I could possibly get access to take a look? Are all 63 errors shown in that screenshot coming from this module? Could you maybe at least show me the contents of that panel?
-
Depends on how many users you have - checkboxes or ASM select will be ok up to a point, but won't work well if you have hundreds/thousands of users.
-
Create a page field on the page's template that links (Parent of Selectable Pages) to the "users" parent page. That way you can populate this list with all the users that have read the page using the API when the page is viewed. $page->of(false); $page->viewed->add($user); $page->save('viewed'); $page->of(true); Then you can make use of that field to check to see if the current user is listed in the "viewed" field.
-
Just added a ToDo panel: It reports the following comment types: 'todo', 'fixme', 'pending', 'xxx', 'hack', 'bug' If you have your editor configured, the comment text link opens the file to the line of the comment. The icon reports: the number of items in the template file for the current file / the total number of items across all files. Red: there are items for the current page's template file. Orange: there are items in other files, but none in the current page's template file. Green: no items in any files under /site/templates/ Please let me know if you find any items that aren't being reported, or items repotred that shouldn't be. One other key change in the last commit is to the Console Panel - you can now use CTRL+Enter or CMD+Enter to run the code. This keeps your hands on the keyboard and keeps the code textarea focused making it much easier to quickly make and test changes to your code.
-
Modify inserted image HTML in CKEditor pwimage plugin
adrian replied to pleini's topic in General Support
Are either of these any use to you? http://modules.processwire.com/modules/textformatter-image-link-interceptor/ http://modules.processwire.com/modules/textformatter-image-interceptor/ -
Thanks for all those details. It's really late and I need to get to sleep so I will look at this in the morning, but in the meantime, I see that you have Tracy installed, so you can just insert this line: bd($value); just after this line: https://github.com/adrianbj/TableCsvImportExport/blob/master/TableCsvImportExport.module#L359 This will populate the dumps panel in Tracy - please post the content here. There must be something strange going on, because you don't have the convert decimals option checked, but it is being called anyway. Could you also add: bd($convertDecimals); just after this line: https://github.com/adrianbj/TableCsvImportExport/blob/master/TableCsvImportExport.module#L274 I just noticed I have an incorrect "==" which should be "===" here: https://github.com/adrianbj/TableCsvImportExport/blob/master/TableCsvImportExport.module#L339 - this shouldn't cause the problem - more of a reminder for me to change this tomorrow.