-
Posts
3,015 -
Joined
-
Last visited
-
Days Won
20
Everything posted by szabesz
-
Hi, are you sure about this? I get the trailing slashes in both cases, just as the docs says: https://processwire.com/api/ref/page/url/ BTW, $page->url should return /about-us/ so your example implies something else must be going on, I guess.
-
New blog post: Working towards a new admin theme
szabesz replied to ryan's topic in News & Announcements
Thanks to UIkit 3 being hookable, it is really easy to change the look of any componenets: https://getuikit.com/docs/less#use-hooks Even this is supported: "Should there be neither a variable nor a hook available, you can also create your own selector. ... This will sort your new selector to the right place of the compiled CSS file." -
Well, that depends... If you have a domain for the site or create a subdomain for the site, then we are talking about two different situations. For example in the case of a standard cPanel only account: say you have dev.example.com and want to install ProcessWire in /public_html/dev_example, in that case the default .htaccess file just does its job fine. However, when I moved the "main" site – which runs under the domain the cPanel account is tied to – to a subdirectory, only these rules did the trick for me: RewriteCond %{HTTP_HOST} ^(www.)?szabesz\.hu$ RewriteCond %{THE_REQUEST} \s/+szabesz_hu/(\S*)\s [NC] RewriteRule ^ /%1 [R=302,L,NE] Where szabesz.hu is my site, szabesz_hu is the subdirectory. I inserted this before the line RewriteCond %{REQUEST_FILENAME} !-f Also $config->urls->root = '/'; must probably be present in /site/config.php to get page()->url return the url segments without the subfolder being part of it, more on this: https://processwire.com/api/ref/page/url/ Nothing else I found in the forum or in the docs worked in my case. And there are other situations as well, but I just wanted to point out this one, since I had to google around to solve it. Your scenario can be different though, so you might want to provide some information about what you exactly want to solve .
-
Evening @tpr Is it just me who is missing text-decoration: line-through; from the page list (tree)? See: It was also missing at least in the previous version. I have a site with AOS 0.9.96 where unpublished pages are crossed out (I know it's way back in time...).
-
+1 And thanks a million, as always...
-
As long as one can define the color, it doesn't matter
-
+1 for this one. Personally I do not have any problems with the other issues @tpr mentioned, but having to move the mouse cursor back and forth is a little bit of a pita, although I uderstand that this way you just have one menu for both narrow and wide viewports, which looks ok, but far from being ideal regarding UX.
-
Me too! See: While I like this indicator, it is way too subtle, not to mention that often I have Tracy turned off for the backend.
-
+1 Experienced developers should not have problem learning the basics of Composer, however, using the ProcessWireUpgrade module is easier and even site owners can use it out of the box, so generally I prefer relying on it instead of Composer. This is a module that should support ProcessWireUpgrade as well, I think.
-
I have already started to build upon the new site profile: http://szabesz.hu/ I replaced uikit.min.css and uikit.min.js with their currently up-to-date counterparts (3.0.0 beta 9, February 3, 2017) so it looks OK in IE and Edge too.
-
If it is possible to download this CKE plugins directory as a ZIP file than there could be a download button on the settings page to optionally get it later, but let's just leave it at this theoretical stage and see how you can trim the number of files in the first place. And I will just delete it to see what happens Thanx! EDIT: still theoretically but it might be a better way to include the whole stuff by default, but on the settings page there could be a "remove CKE plugin support" or something like that, which deletes the direcory and the plugin can keep it that way during upgrades. There should be some warnings, of course, etc...
-
Hi @tpr Can you please somehow make it optional the CKE stuff in AOS? I mean I do not want to use it, so it is just a waste of resources to have the CKE folder around with its hefty 903 files (5.6MB). For the time being can I just delete the whole folder? Any nasty side-effects if I do so?
-
Jeffrey Way's free videos look great too! Thanks I will check them out as well. I'm in the middle of installing my clean system setup, so this is just the right timing for me to learn new tricks and read about these tools.
-
Hi, I'm still subscribed to Carl Alexander's blog, which I do not read too often, but his bard new article might be interesting for web developers, especially for those working on a Mac. As he writes: "This article goes through the entire process of setting up my new MacBook Pro. It's pretty exhaustive because I talk about why I chose some of the tools that I'm using. I also go over some of the tools that I tried out and didn't end up using." https://carlalexander.ca/2016-macbook-pro-setup/
-
Hi, a related topic: If you want to be fully flexible, you have to implement your own forms. Of course, you can do it by relying on the ProcessWire API, but not the Form API of the backend. EDIT: I forgot to bring your attention to this one:
-
Something like this? Soon to be released, I hope
-
Just wait for about an hour, and @adrian will extend it too Thank you, BTW!
-
Do you use the forum's search or Google? I recommend Google: $session site:processwire.com/talk
-
Pretty cool. I especially like the shortcuts of logs/sessions/cache
-
Backend and Frontend Shop Catalogue for PadLoper
szabesz replied to kongondo's topic in Module/Plugin Development
@kongondo That reminds me: maybe you also want to go the "markup regions + UIkit" way so that it will be customizable in ways that are already documented and quite powerful. -
Oh well, plenty of mistakes I made this morning... But at least I made you laugh
-
Well, so I did not understand the question after all Maybe I should drink my morning coffee first
-
of what subject matter? Words/expressions used as tags depend on the context in which they are used, that is why normally none of them is provided by default and it is the author(s) of the articles who is responsible to come up with useful ones. And this is the hardest part of tagging, because doing it right requires thinking carefully ahead of time as much as possible. Sites are mainly organized into topics/categories via the menu system and normally one should not use a topic for tags which is already used as part of any of the menus. One needs to figure out the most important topics first, then articles can be grouped by those tags. Say we have a school's website, tags can be: competitions, charity, summer camps, state, regional, city, etc... It all depends what one normally writes about. I hope I understood your question correctly