-
Posts
6,671 -
Joined
-
Last visited
-
Days Won
366
Everything posted by bernhard
-
i like gitlab and i use it because of the free private repos (when i started using it bitbucket had such an old look...). in the beginning it was very slow but now i don't have any problems. i can recommend it (but i have to say that i'm quite new to git and only use it on my own for simple tasks)
-
FieldtypeHandsontable: Excel-like Inputfield
bernhard replied to bernhard's topic in Modules/Plugins
edit: i changed the download url! @Juergen can you try it again please? -
FieldtypeHandsontable: Excel-like Inputfield
bernhard replied to bernhard's topic in Modules/Plugins
i guess that's an issue with the modules directory. can you please download the latest ZIP and install it manually? i don't know if the modules directory also works with gitlab... i just tried that by submitting my module and it seems it does NOT work. be advised that the update has a breaking change and you need to rewrite your javascript field settings after the update. the module is still alpha and more of those changes are still likely to come... -
FieldtypeHandsontable: Excel-like Inputfield
bernhard replied to bernhard's topic in Modules/Plugins
hi jürgen, why did you do the update? is this post somehow related to your problem or sounds similar? can you try to make a fresh install and see if there are any errors? thanks -
hi everybody, since some weeks it seems that my attachment size is shrinking and shrinking. ATM i have only 1,52MB left and that's not enough if i want to share simple licecap screencasts. i sent @Pete a message but he hasn't read it yet. i also tagged him in another post and got no reply. is it only me having this problem? it's quite frustrating to invest time helping others here and not having the proper tools. i had to upload the gifs on my own server and paste them into the post. if anything changes that will lead to 404s - not the best for nobody. thanks.
-
if you want or need another page (for analytics that could be nice to have) you can just create a new template eg, "contact-success", create a page with that template eg /contact-success and set your form action to that page ( action="/contact-success" )
- 3 replies
-
- 1
-
-
- contact form
- post
-
(and 1 more)
Tagged with:
-
https://www.baumrock.com/portfolio/individuelles-crm-und-controlling-tool/ I'm happy to share my biggest and most interesting ProcessWire project so far with you It's a 100% custom office-management solution that helps my client to keep track of all their contacts, projects and finance/controlling stuff. Conception was done back in 2016 and the software is productive since begin of this year. My client is very happy with the result and so am I. Some technical insights: Everything is done inside the PW Admin. I'm using the Reno Theme with some custom colors. In the beginning I was not sure if I should stay with the pw admin or build my own admin-framework but now I'm VERY happy that I went with PW Almost all of my custom Process Pages use my RockDatatables module - there are still some limitations but without it, this project would not have been possible For the charts I used Google Charts and chartjs - both play well together with the datatables and make it possible to display filtered data instantly: also my handsontable module was created for this project to have a nice and quick option for matrix data inputs: Lister and ListerPro were no options as i needed much more flexibility regarding data presentation (like colorization, filtering and building sums of selected rows): invoices are highly customisable as well and easy to create. PDFs are created by php and mPDF by the way: all data is dummy data populated via my Module RockDummyData have a nice weekend everybody
- 35 replies
-
- 50
-
-
-
i would be happy to take over some backend part. i did some quick research on what's present at the moment at processwire.com and it looks like the only reasonable project lead could be ryan. we have the site, the modules directory, the forum, the dev-directory, the blog, store, showcase... i don't know how everything works behind the scenes. but as the roadmap also lists "new website" as a point i think it's at least on ryans wishlist. it would be really nice if ryan could manage to involve the community into this process. also i would really love to see more transparency what this "WE" in my quote of the roadmap actually is... as I stated on some other threads one of my main concerns with processwire at the moment is the quite high bus factor (https://en.wikipedia.org/wiki/Bus_factor) same here: available for that not before 2018, but willing to help wherever i can
-
hi rushy and welcome to the forum! that does not sound good in the pw world you should avoid creating your own custom php files in the root of processwire. it's better to stay with the intended way of displaying pages, meaning you have a page in the backend and a related template. in your case you dont even need another template or another page. you can submit the form to the page itself. lets say you have a tempalte "contact" and in that template you display your form like this: <?php // /site/templates/contact.php ... <form ...> ... </form> just change your forms action to itself and add some additional php code to the top of your file: <?php // /site/templates/contact.php if($input->post->yoursubmit) { // do some checks and sanitization, eg spam-check // log this request echo 'Thanks for your message!'; } else { <form action="./"> <input type="submit" name="yoursubmit" ...> </form> } pseudocode
- 3 replies
-
- 4
-
-
- contact form
- post
-
(and 1 more)
Tagged with:
-
maybe you have some other vhost rules active in your hosting settings? some hosting providers have settings to choose a www or non-www version of the site so if the vhost and your htaccess redirect to the opposite it would be an infinite loop.
-
Frontend Editing: Managing data rows (e.g. Fieldtype table)
bernhard replied to Lenz's topic in General Support
good choice -
Frontend Editing: Managing data rows (e.g. Fieldtype table)
bernhard replied to Lenz's topic in General Support
ah by the way: you don't need a pagetable if you stay with this solution. you can just store all items under one parent. that makes things a little easier usually -
Frontend Editing: Managing data rows (e.g. Fieldtype table)
bernhard replied to Lenz's topic in General Support
the button somethink like this <a href="./?add=1">add item</a> the code something like this (in your template) <?php if($input->get->add) { $parent = $pages->get( your parent page ); if($parent->addable()) { // create a new page and save it } } // continue with your regular template code foreach($pages->find('yourselector') as $p) { // list your products // will already contain your new item } you could also make different add-buttons that hold some variables (like category or the like) --- delete: <a href="./?delete=123">delete item</a> and the code: <?php if($input->get->delete) { // find page that should be deleted $p = $pages->get($input->get->delete); if($p->id AND $p->trashable()) $pages->trash($p); } this would always need a page reload. with ajax the user experience would be much nicer (page not jumping around) hope that helps - but maybe someone has better suggestions -
Frontend Editing: Managing data rows (e.g. Fieldtype table)
bernhard replied to Lenz's topic in General Support
as far as i understood this would only be possible for superusers and i would definitely not give your client superuser access... i think you have those options: profield table backend gui, but very clean and easy to manage, 150 items is a lot though repeater backend gui, little more "bloated", not sure how this would work for 150 items... pagetable you could use FE, but you need to implement add/delete/move functionality on your own. add/delete would be very simple, move would be a little more complicated. you could also do the sorting based on the position number (item number, seems to be your first field). that would maybe be not so user friendly. how do you plan to do the item numbering? automatically? why do you plan to have a field for that? -
Frontend Editing: Managing data rows (e.g. Fieldtype table)
bernhard replied to Lenz's topic in General Support
you could use the core pagetable field, then you would also have frontend editing. adding and removing items would need some manual work but would not be very hard (send an ajax request, create a page with dummy-data, reload the frontend, double click to edit text) -
Frontend Editing: Managing data rows (e.g. Fieldtype table)
bernhard replied to Lenz's topic in General Support
@Lenz what is so bad about the admin UI? see this post for example using the adminbar module there is also FREDI and FEEL. not as good as real frontend-editing, i admit, but close -
you should definitely invest some minutes and start writing process modules. it's incredible how fast you can create your very own admin GUIs and you will learn to understand processwire a lot better define "success" i agree with most of all posts above but i also want to say that i like the fact (or at least it seems to be like this) that we do NOT attract a lot of "i am looking for a click click and it's done" users. i like the way people here behave, trying to learn things, trying to understand, trying to find their way around the code... maybe if processwire looked more fancy that would be different. i don't know. and maybe it's not ryans goal to become more popular. the roadmap states it as a goal for 2017 - but i'm not sure how important it is for ryan. personally i would love to hear more personal and strategic infos regarding the project. who is the team behind processwire? is it only ryan? what happens if ryan can not continue to work on it? he said at several occasions that there ARE people that could continue the project but i would love to have a more reliable solution/statement for that. i don't really care if we have 10.000 or 10.000.000 users - but i do care if i have enough certainty to be able to work with some kind of software on the long run. to be honest i have some concerns about the last point sometimes. but i calm myself knowing that even if processwire would not get updated for a long time it would still run safely and without any issues and i would have enough time to learn something else
-
FieldtypeHandsontable: Excel-like Inputfield
bernhard replied to bernhard's topic in Modules/Plugins
just pushed another update! CAUTION: THIS HAS A BREAKING CHANGE since I changed how the settings get modified. the reason why i did this is that some settings can only be set BEFORE initialisation of the table. the customBorders is an example. you now have two events that you can hook into: beforeInit.rht afterInit.rht If you want to modify the settings before initialisation you can do this: // make custom borders $(document).on('beforeInit.rht', '.handsontable', function(e, settings) { $.extend(settings, { customBorders: [{ range: { from: { row: 0, col: 2 }, to: { row: 10, col: 2 } }, left: { width: 4, color: 'red' }}], }); }); after initialisation you can do this (similar to how it was before): $(document).on('afterInit.rht', '.handsontable', function(e, hot) { var colheaders = ['one', 'two', 'three']; hot.updateSettings({ colHeaders: colheaders, minCols: colheaders.length, maxCols: colheaders.length, }); }); now you can also add CSS files to your table by naming it like your field and saving it inside the /fields folder: #wrap_Inputfield_archimport .handsontable td:nth-child(2), #wrap_Inputfield_archimport .handsontable th:nth-child(2) { border-right: 4px solid #6c6c6c; } #importbutton { margin-top: 10px; } -
try outputting the image url as plaintext <p><?= $yourimage->url ?></p> also check the return setting of your images field. it can be set as array or single image. if it is set as array you would have to define wich image to show (eg $yourimages->first()->url )
-
FieldtypeHandsontable: Excel-like Inputfield
bernhard replied to bernhard's topic in Modules/Plugins
version 3 adds support of file-based code snippets. just put a file with the field's name inside the /fields folder -
hi roland and welcome to the forum, i read your other posts and i also see two options: 1) if you WANT to learn and are not afraid of writing some code you'll always find someone here that is willing to help 2) if you want a quick solution and stay in your (i quote you here and mean it bad in no way) "wordpress click click and boom ready" - world I'm sure you find a developer in the job-board that can help you
-
-
version 4.3.22 does not work
-
would be nice to have in tracy we got closer! deleted the cache and the error appeared again. last file seems to be /site/modules/RockMpdf/mpdf6/vendor/mpdf/mpdf/mpdf.php - this file has 1,1MB