-
Posts
3,011 -
Joined
-
Last visited
-
Days Won
20
Everything posted by szabesz
-
Double bother I need to think, think, think harder next time This is the first time I see these errors, probably I got intimidated... Yes please! The problem with this that I get the result in a not too tall box with lots of scrolling an clicking and the presentation of it is not as "good" as the one with the panel. What if there was a way to put custom settings onto the Panel Selector? Meaning module settings could be enabled/disabled for the Panel Selector, those one happens to switch on/of often. Currently I have no idea how the UI could be implemented for this, so this is just a blurry thought at this time.
-
I had the time to do some testing, here it comes (my MAMP Pro): API variables: 0.3ms Core Classes: 0.4ms Config Data: 270ms Version List: 14ms API variables + Core Classes + Admin Link + Doc Links: 0.9ms The result of d($config) is: Frontend: syntax error, unexpected end of file File: .../site/assets/cache/TracyDebugger/consoleCode.php:2 1: <?php if(!defined("PROCESSWIRE")) die("no direct access"); $page = $pages->get(1); 2: d($config) Admin: Same as above + 500: Internal Server Error: See the browser dev console for the actual error Why? It used to work. BTW, links in this Info panel do not not use _blank, why? I keep forgetting it which is kinda annoying after while. Is it just me?
-
I do not see how UIkit is a dependency here. Ryan has just shown us that he could replace the old skin with a new one in a relatively short period of time. UIkit 3 is currently a modern, easy to personalize "framework" on which experienced developers have been working for months if not years. How could the ProcessWire community build something better than that? Without some sort of framework there is no documented/conventional way to implement things which makes it hard (if not impossible) to adhere to some sort of "standards".
-
Thanks for the tip, I think generally it is the way to go, however, I would like to add a few comments: It can be useful if there are "permission issues". Do not forget httpHosts either and other settings might be important to change too. .htaccess might also be different on staging and live (production) so proceed accordingly It should not matter which step it is.
-
Hi @adrian, I've just updated to v4.7.6 – skipping a few versions altogether – and my current interest is in the ProcessWire Info Panel. I noticed that turning on API variables, Core Classes and Config Data does have an impact on page load time, as expected. Panel selector reports 300ms vs 14ms (frontend with not to much on it). However, System Info's page load time report doesn't change at all: always about 260ms, no matter what is enabled for the ProcessWire Info Panel. 260ms is less than 300ms, so I wonder how these numbers are related in the first place? I also have a request regarding this ProcessWire Info Panel. Since "API variables, Core Classes and Config Data" takes a considerable time to load, it would be great if we could keep them turned off by default, and temporarily enable them just like the panels themselves (Once, Sticky) but this would be an overkill, I think, so maybe moving them to their own panel would suffice. I mean, I normally don't need them but when I want to peek under the hood they are very helpful indeed. I also tested page load time just by watching Chrome's loading animation and it is indeed a lot faster to load the page without them, so there is a good reason to keep them off. However, going to Tracy's settings to turn them on/off is time consuming. What do you think?
-
Module Visual Page Selector (commercial page picker module for ProcessWire)
szabesz replied to kongondo's topic in Modules/Plugins
I would have thought that nearly all new site developments use PW3. I know I have never contemplated building a new site with the old <= v2.7. And most buyers would be using VPS for new projects rather than retrofitting it into old projects that they are not willing to upgrade, wouldn't they? @kongondo You could run a quick survey. Personally I agree that it is not likely that VPS customers want it for PW 2.7 but it is your decision, of course. I started with ProcessWire 3 so anything before that is history to me. BTW: https://weekly.pw/polls/ see: Which versions of ProcessWire are you currently hosting or managing? (146 votes) -
Module Visual Page Selector (commercial page picker module for ProcessWire)
szabesz replied to kongondo's topic in Modules/Plugins
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. -
Hi Ben, looks great, thanks for sharing! +1
-
Module Visual Page Selector (commercial page picker module for ProcessWire)
szabesz replied to kongondo's topic in Modules/Plugins
I'll look into this. @kongondo Please do not forget my use case either -
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.
-
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.
-
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.
-
MarkupSEO - The all-in-one SEO solution for ProcessWire.
szabesz replied to Nico Knoll's topic in Modules/Plugins
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. -
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
-
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
-
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.
-
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.
-
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 .
-
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.
-
[solved] animated GIF upload fails when running php 5.3
szabesz replied to jploch's topic in Getting Started
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. -
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.
- 2 replies
-
- 3
-
-
- ryan
- single page
-
(and 1 more)
Tagged with:
-
Displaying the most recent blog posts using different layouts for each
szabesz replied to mike62's topic in Getting Started
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. -
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?
-
Yeah, we discussed it in PMs. I thought it might have been removed that is why he was looking for it...
-
Displaying the most recent blog posts using different layouts for each
szabesz replied to mike62's topic in Getting Started
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