
sww
Members-
Posts
34 -
Joined
-
Last visited
Everything posted by sww
-
Hey, back then when I changed the language part within the URL the page slug changed automatically in all directions. Now it only changes from the primary language (in my case DE) to the secondary language (EN). So: /de/projekte > click on the lang switch > /de gets replaced with /en > /projekte changes automatically to /projects => result: /en/projects … great. Changing back to /en does not work though: /en/projects > click on the lang switch > /en gets replaced with /de > /projects does NOT change to /projekte => result: url is not valid > page stays on /en/projects … not great. So the auto page name translate only works from DE to EN not the other way around. As said it used to work flawlessly pre PW update.
-
[solved] - Image Upload not working with PHP 8.x
sww replied to sww's topic in Module/Plugin Development
Solved it … another module (CustomUploadNames) wasn't compatible under 8.x and blocked the field upload from working. Not sure how to set it to "solved" … but it is 🙂 -
Hi, even with the latest version of PW the image upload module does not working anymore. When dragging in an image the spinner keeps spinning at 100% (1st sceenshot) and the console throws an ajax error (2nd screenshot). Not even with PHP 8.0 … latest working version is 7.4.x … how can this be? PHP 8.x is around for quiet a while now.
-
Checked everything and I know how to handle the templates. Just can't figure out how to handle hidden pages that still appear when they are containing a urlsegment.
-
ahh yes, i have one url segment. hmm. how to handle then?
-
hey there. old post but new problem. i unpubed a post. logged off from pw. but the post is still accessible via direct link. very strange.
-
Okay. Thanks!
-
Yes, that was my scenario. Okay, good to know then. One last thing. Is there way the images will just be moved from the temp folder to the final destination if they are on the same host/space … instead of duplicated?
-
Doesn't work either. /Users/… was the first way I tried. If I do it on my localhost it works just fine.
-
hello, i am trying to upload a csv with images. all the fields beeing uploaded as expected but the images. they are not showing up. the csv and images ar locally and the paths to the images pointing straight to the folder. file:///Users/xxuser/Desktop/201124_Website/binary/MEE_M_3802_00.002.jpg is there a problem uploading images from local? or are there any permission issues i am missing? thanks a million, stefan
-
Yes … all the rights are set equal to the admin
-
It is working when I am logged in as admin … as I wrote. So no script issue. More of a rights issue. But all the rights are set equal to the admin profile. Console says nothing as the feature is not being triggered.
-
Hello, strange behavior. This modul worked fine since activated 10 days ago. But all of sudden it stopped working. User can see the page even not logged in. Nothing has changed since. Is there a cache-something-issue or anything else that might cause the problem? Best, Stefan
-
Hey, I set up a normal user (not admin) so my client can do some edits. The templates are checked as editable, the permission to the user is set too. (page-edit-front) … but I can't activate the front-end editing via double click. Logging in as admin, everything works just fine.
-
Yep, in general I would agree with you. But in this case it's a special situation. The editor needs to switch between a few options to be able to follow the concept. Thanks! Strange thing … I put it in the config before with no effect. Putting it in the options field worked.
-
Hey, I just can't figure out how to change the values in the dropdowns from the toolbar. I tried a few things in the config.js even in the plugin's core files (which isn't a good idea in the first place … i know). Is it such an unusual thing to do? Can't be the only one who wants Comic Sans out of the list ?
-
hi, i did a relaunch of a website and the content team decided to change the structure, some of the titles … and urls. so lots of dead links out there. if the title/name of the pages would stay the same, no problem. i could look for pages->get(name=xxx) and throw a redirect to the new structure. but since titles/names changed i am bit lost here. there isn't a method like: pages->get(name% or *=xxx) right? the old system was a complete different one. so i cannot work with ids here.
-
Because I want to display connected pages on my site by the order of that list … and make it easier for my client to re-order. new = on top = common sense. Thanks for the hint. I was thinking the same this morning. I'll check.
-
Hey, is there a way pages will be added at the top of the list? When I add connected pages directly through the dropdown it works when altering the asmSelect js. It should also add new pages to the top that has been assigned in the background.
-
Module Module: Admin Page Tree Multiple Sorting
sww replied to David Karich's topic in Modules/Plugins
hey there, set it up like this: basic-page: -created, -modified but when i modify a page nothing changes. the most recent created page stays on top. (modified gets ignored). am i missing something? also: how to reflect the page listing on my frontend? -created AND -modified wouldn't work. cheers -
Nope … ~= is even more restrictive … it needs the exact word. so typing "someb" … wouldn't give me anything. The fields I am searching need to have something like "ignore punctuation optional".
-
Hey there, i am trying to add a kind of "intelligent" search. Is there any way to ignore punctuation and extra chars. e.g. When I type "somebody elses" that I still get the result "SOMEBODY ELSE´S CAR, 2005" The problem is the extra ´ … if I don't type it I don't get the result. So far I am using %=query (which isn't enough, I know) So the idea would be something like that: $selector = "sanitize(title|text)%=$q, limit=50"; I know, it's not gonna work like that … just to illustrate. Best, Stefan
-
Hi there, I set up the Image Extra Fields + multilang support. UNF the second language is not showing when switching to the other page language. It always displays the default language. Custom field name is "img_title"; Trying to output the field like this: <?=$page->images->first()->img_title;?>
-
@Soma yeah, just figured it out. stupid me … was thinking to complicated. thx anyway!
-
Hey there, is there really no way to turn the OR logic into an AND logic when selecting pages by (e.g.) tags? so instead of $pages->find("template=exhibitions, tags=foo|bar") something like $pages->find("template=exhibitions, tags=foo&&bar") so the pages needs to have all requested tags, not just any of them. Thanks, Stefan