Search the Community
Showing results for tags 'URL Segments'.
-
Hello, i read that "URL segments only apply if the requested URL did not resolve to an actual page." (from here) Is there a way to change this behaviour? I have a parent page loading his children via ajax, and i know which children to load from url segments. So that would be nice to...
-
So I have been hard at work creating url segments for a template (api) and everything is working swimmingly in creating a simple end point for svelte.js. I have however, run into a few questions that I can wrap my head around. In my api template I have: if($input->urlSegment1 === 'clients')...
-
So I have a project coming up soon and one of the goals was to use Google's AMP project for the project's mobile site. I have gone through the tutorials and think I have a good grasp on the matter, but there is still one roadblock I do not really know how to tackle. The site, which uses a responsive...
-
Greetings! For our PW project we use markup regions and, for one template, url segments. The documentation recommends throwing a new Wire404Exception() from the template when the code concludes that the url segments from the request are invalid, and so we do. However, the 404 page is not d...
- 3 replies
-
- wire404exception
- markup regions
-
(and 1 more)
Tagged with:
-
Hi everybody I want to catch a variable from outside processwire into _main.php if(isset($_GET['u']) && $_GET['u'] !== ''){ $gebruikersnaam = $_GET['u']; ... ... This is working fine in a php file in a non processwire environment. In a processwire environment, I get the variable...
- 6 replies
-
- url segments
- $input
-
(and 1 more)
Tagged with:
-
I have a parent page (with template file) with several child pages (without template file) that are hidden and unpublished, I use them only to store information. The parent page have the url segments enabled. When I catch the segment in the template file, works as expected for any word, but if...
-
Hey there, I have a problem with URL Segments and Umlauts in it. I want to grab the a segment of the url and use it as a parameter to find a something in Processwire. The problem is, that if I input an umlaut into the url, processwire immediately throws a 404 error page and I am not able to transf...
-
Hi guy's I'm new with PW and very happy with it - thanks alot Ryan and team for this great work! I just completed the simple news system tutorial on the wiki page (thanks alot to the author - who was it?) - works perfect, except for one thing: I would like to get the categories-breadcrumb - wh...
-
Possible buggy url Segments / Page Numbers Interaction
tiagoroldao posted a topic in API & Templates
It's possible that I'm missing something, but I think I have found an small bug. I am doing a simple page list template (/photos) that is paginated and has url segments on, to allow for filtering through tags. As there are multiple different lists, and they all share the same tags, I need to list...- 8 replies
-
- Bug
- Url Segments
-
(and 1 more)
Tagged with: