Jump to content

szabesz

Members
  • Posts

    2,951
  • Joined

  • Last visited

  • Days Won

    20

Everything posted by szabesz

  1. Hey guys, the current state of VPS is a great start, I think. Let's just be productive as always Calling products "Pro" and "Professional" is just a marketing mambo-jumbo we started to use because we are following suit. I'm sure @kongondo is just as passionate about his modules as @Robin S.
  2. szabesz

    DropboxAPI

    Hi Ben, looks great, thanks for sharing! +1
  3. I'll look into this. @kongondo Please do not forget my use case either
  4. Cool JS frameworks will become history just because sooner than later someone releases just another even cooler JS framework rendering the previous ones obsolete. BTW, the WordPress guys have been debating for months or maybe for more than a year which one to pick... On the other hand, jQuery is still going strong as others have also pointed it out above.
  5. It should be possible to start with the original ProcessWire 2.3 + Skyscrapers v1 combo and you should be able to upgrade it step-by-step to 2.4, 2.5, 2.6 etc up to 3.0.x. Sure, you need to dig up all the relevant upgrade instructions and follow them carefully and manual changes might be needed here and there too, but in the end you will probably get what you need.
  6. Welcome https://processwire.com/talk/topic/17094-image-captions-in-rte-body-text-field/?do=findComment&comment=150266 In this post you can see the "...and the RTE button insert image modal:" image. If you click on "Images on Page" then you get the possibility to pick another page from the Page Tree as the source of images. If you pick a page in the tree then images uploaded to that page can be selected. If you create a dedicated page which is used as an "Image Library" then this way you just have to upload your images to that page to be selectable "globally". This way you do not even need an image field on the template. It is a bit convoluted way of selecting images but at least it is supported by the core.
  7. It sounds like you need to change it somewhere else. Because ProcessWire based sites always depend on the developer to implement the frontend, it can be tricky to find the right piece of code. Have you tried something like <title>AAAAAA<?php echo $page->title; ?></title> for example? As a last resort I always type in some fake string which can be easily searched. If it is not in the source code of the rendered page then that is not right part of the code to change it. You probably need to dig in more, unfortunately.
  8. You are right, it describes me quite well Thanks for pointing out the important details, I really misunderstood their licensing policy and I did not even notice this "perpetual fallback license" thingy. Let's say – for example – I want to use PHPStorm for 3 years and I only pay €89. That's something to seriously consider! It should be realistic as it seems they even support OS X 10.5? https://www.jetbrains.com/help/phpstorm/system-requirements.html#d341056e226
  9. https://www.jetbrains.com/phpstorm/buy/#edition=commercial € 199.00 /1st year € 159.00 /2nd year € 119.00 /3rd yr onwards That's extremely expensive
  10. Thanks Robin for the example! To tell the truth I never tried <region> because I use NetBeans and even though it should be able to handle custom tags, actually it cannot do it on my Mac and complains about errors when HTML error checking is on That is why I decided not to use <region> tags in the first place so that the IDE does not report errors in the document. Now that I see that more can be done using <region> than simply using pw- attributes with standard html tags, I just do not know where to go from here. Turning off error checking for html is an option but that is not a workaround I like. I've just downloaded Eclipse for php (PDT) to see if it can deal with it.
  11. That would be awesome! I'll have to ask about that. Thanks, horst! Welcome To get started, I recommend watching some video tutorials. They might seem outdated at first but in ProcessWire features rarely get deprecated, mostly we have new features added. This means it is worth checking out old ones too, like (note that the admin keeps changing a bit and there are three different admin themes currently so you will surely see differences in this regard): https://www.youtube.com/watch?v=IHqnLQy9R1A https://www.youtube.com/watch?v=CIXxVnsor9A You can find others by searching Youtube or http://processwire.com/videos/ You do not need too much PHP to get started. This one is another nice introduction to the most important ProcessWire topics: https://processwire.com/docs/tutorials/but-what-if-i-dont-know-how-to-code/ Hope this helps. When you understand the basics, you will feel more confident to make changes to the site.
  12. You can do anything with Markup Regions that you can do with the typical delayed output approach. Each markup region serves the same purpose as some variable that you would put markup in and output in _main.php, like $sidebar or whatever. I'm wondering how I could do this; for example we have in _main.php: // _main.php <head id="site-head"> globally used stuff in head </head> Let's add some JS like this: // template-which-needs-js.php <pw-region id='site-head' pw-append> <script src="<?= urls()->templates ?>assets/js/my-script_1.js"></script> </pw-region> Let's say on some pages of template-which-needs-js.php (say the ones with their $page->name beginning with "special" ) I have to link to my-script_2.js and not my-script_1.js How can I do that? How can "wrap it" in conditional statements? I've just made up this example, I do not actually need it but I've been wondering for a while how to do something like this, that is how to use Markup Region markups conditionally .
  13. The comments in the source code are still confusing, for example last line of "Prepending and appending elements": Why does it remove the main div? Anyway, I think @SamC might be looking for and "inject" sort of feature with which it is possible to add markup when it is not possible to prepend/append or replace, that is: <div id="main"> How can I INJECT markup here? </div> Either way, I find Markup Regions rather limited because these are just static commands and it is not possible to conditionally change anything. For example, I have a sidebar with widgets and all publicly visible pages have a YAML field to configure the widgets it should display. When a page's widget configuration field is empty, the closest parent with valid widget configuration is used for that page. Such things are not possible with Markup Regions. However, I do use Markup Regions but only in the <head> to define extra resources when a given template needs it, eg: <pw-region id='site-head' pw-append>. And I also use it for defining the main "view" of a given page in order to define the actual content rendered in _main-php, eg: <section pw-replace id="site-view" >. But that's all there is to it in my case.
  14. Please edit your first post and then you can change the title to (for example): [solved] animated GIF upload fails when running php 5.3 It sounds like a useful bit of info, I do not think there is a need to delete it.
  15. Welcome to the Forum! I think these discussions should give you some hints where to get started: https://processwire.com/talk/topic/15453-pw-based-form-centric-website-recommendations-please/?tab=comments#comment-138395 https://processwire.com/talk/topic/11499-admin-restrict-branch/ https://processwire.com/talk/topic/3543-register-users-and-add-page-same-as-username/ This is just a quick and short sample. You will definitely need more to achieve what you need. It is because your requirements are unique in a sense that there is no out-of-a-box solution. Hope this helps.
  16. Thanks for the tip @Robin S I cannot se how it can be faster than my dead simple solution. Sure, I perform an otherwise useless search but Google is sooo fast With the "keyword search feature", I need to be able to remember the keyword(s). Well, I already use a lot of them in other contexts so I find it hard to memorize more. Next, I need to type the get there. One click in the Bookmarks Bar and another double click to highlight the dummy search word is what I can do quickly without mistakes. Yeah, it's lame but it works for me.
  17. I never use it in production only on my local machine when I need to do a lot of clicking around in the admin without coding. In which case I notice considerable improvement. That's all about my experience with it though. Not to much... BTW, it is more like a discussion for the Dev Talk section, isn't it?
  18. Yeah, we discussed it in PMs. I thought it might have been removed that is why he was looking for it...
  19. https://www.google.hu/search?as_sitesearch=processwire.com%2Fdocs&as_q=profile https://www.google.hu/search?as_sitesearch=processwire.com%2Fblog&as_q=recipe https://www.google.hu/search?as_sitesearch=processwire.com%2Ftalk&as_q=migrate I bookmarked these and update the search word after clicking them and press enter. I know it's crude but it is the fastest way for me
  20. I have it running on my machine. It is based on ProcessWire 2.3.0. I can zip it up for you if you send me a PM. First one is easy to install, second one is not As far as I know they are basically the "same".
  21. @ryanC I understand that you want to learn PHP from ground up but building upon a CMF like ProcessWire has the benefit of a few things: you do not have to reinvent the wheel, you can find plenty of examples in this forum to solve all basic needs and more, when you ask for help others can help you out more easily because you speak the same lingo, so to speak For example: https://processwire.com/talk/topic/407-processing-contact-forms/?do=findComment&comment=36384 Your basic form processes the received data without sanitizing it which is not good. As @adrian pointed out above, you validate the email but discard the validated value afterwards. All in all, a lot should be ironed out before your form can work and be secure but since you are on ProcessWire I recommend seriously considering switching to a code snippet like the one I linked to. You can start by reading up on API variables over here (as an introduction): https://processwire.com/api/variables/ This page is not complete since more has been added but you can find the rest here: https://processwire.com/api/ref/ The PW form example should make more sense after looking up the relevant API variables. If you happen not to understand all the bits you can – of course – use a search engine to find things like: https://stackoverflow.com/questions/3700042/in-php-what-does-represent or ask a question in the relevant forum discussion. You made sure you can send emails with ProcessWire, and now it's time to make sure you also use ProcessWire to build that form. I'm sure you will not regret it
  22. Yep, I'm still on 4.6.20.
  23. It should not matter. I am out of ideas what could cause this. Let's ping @adrian, he is more experienced than me anyway... Hope he can help.
  24. I submitted a request to include it in the core: https://github.com/processwire/processwire-requests/issues/126
  25. Try enabling Mail Interceptor with the Sticky option. Probably I was wrong suggesting that the 'Once' option is ok in this case as it uses AJAX and the actual result should show up as a second row in Tracy's bar. First row displays "No emails sent" but the second row (titled AJAX) should be the intercepted email.
×
×
  • Create New...