-
Posts
330 -
Joined
-
Last visited
-
Days Won
2
Posts posted by zoeck
-
-
Have you looked at the instructions for URL Segments?
https://processwire.com/docs/front-end/how-to-use-url-segments/
-
Possibly the same problem as here:
If Tracy is installed, you should deactivate it in the template (you can do this in the Tracy settings):
No debug bar in selected frontend templates
Disable the debug bar on pages with the selected templates. -
19 minutes ago, @byte said:
Well for now i can't do it with a page, because i can't get a Table-View.
Do you already know the lister function of the Processwire?
Simply go to Pages -> Find, then you can display a table with pages (with adjustable columns).There is also an extended (paid) variant: ListerPro
-
Do you want to simply access existing Processwire pages or create new ones?
Or do you have your own table ("kontrundgang") where the data should go?You can have a look at the Database API: https://processwire.com/api/ref/wire-database-p-d-o/
By the way: you should never execute unsanitized values in a sql statement!
-
1
-
-
Of course you can do that with Processwire, there is also a module for it 😉
-
21 minutes ago, brandy said:
But I got an error!
Can you tell the error
-
I actually always use Google to search the forum 😉 just add "site:processwire.com/talk"
Example:
Quoteyour search site:processwire.com/talk
-
1
-
-
<?php if($page->id == **YOURLANDINGPAGEID**) return; ?>
Just Add this to the top of your _prepend.php and _append.php (and isert your id 😉)
Of course, this also works with a template check:
<?php if($page->template == "**yourtemplatename**") return; ?>
-
1
-
-
Check your config file for something like this:
$config->prependTemplateFile = '_init.php'; $config->appendTemplateFile = '_main.php';
I think this will be the line with the _main.php 😉
This is a standard configuration in the Regular Site Profile
-
2
-
-
3 hours ago, wumbo said:
So in short: How do I upgrade ProFields: Table?
Renew the Profields licence (Store -> Manage Purchases, it costs $39) with the account that bought the licence at the time, and then go to the Profields Board and download the new version 😉
If there is no possibility to renew, you have to contact ryan, he will unlock it.
-
1
-
-
You have too hook the Lister:
$wire->addHookBefore('ProcessPageLister::execute', function(HookEvent $event) { /* @var ProcessPageLister $lister */ $lister = $event->object; // I'm not sure, but the parent of the "Search Lister" has the ID 0? if($lister->parent->id !== 0) return; // Set sort $lister->defaultSort = 'title'; bd("Changed Search Sort"); });
-
1
-
-
You can use a hook for this 😉
-
1
-
-
1 hour ago, Roych said:
doesn't work in the sent mail, but don't really need it if the mail would come just once when the number is 7.
Use " instead of ' 😉 (in wire()->message)
-
1
-
-
You have to use $config->pagefileSecure https://processwire.com/api/ref/config/#api-pagefileSecure
like @wbmnfktrSaid..
(then you have to set the rights to the page/Template!)
-
-
Have you also checked if the configuration of phpinfo() is correctly displayed?
Just check this values:
upload_max_filesize
post_max_size
memory_limit
max_execution_time
max_input_timeIs an error displayed in the browser dev tools?
Or also in the Processwire log file? -
7 hours ago, sharvey2023 said:
and all of the settings in the Cpanel should be correct and the PHP 8.1 settings have all be maxed out.
Did you increase the PHP settings post_max_size and upload_max_filesize or only one of them?
I think the normal setting is 32MB -
13 minutes ago, Stefanowitsch said:
My only advise would be to increase the z-index of the topbar to a really high value to make sure it will be visible in most of the cases.
Or configurable as in the Tracy Bar 🙂
-
2
-
-
1 hour ago, chapmansean said:
While ProcessWire is a powerful content management system, it may not be the best option for creating full-fledged CRM software.
And why should this be?
As you can see from Berhard's example, it is possible.-
1
-
-
Does the selection page then also have its own domain? Or how can it be reached, since the pages have their own domains?
-
1 hour ago, kaz said:
@zoeck No, not necessarily.
I have no experience with it. I also think (as you write) that is too much?
I think if the sites should not access the same data, then it is best to use 2 individual installations.
This way you are most flexible and you can use processwire "normally" 😉
-
1
-
-
Aren't these actually two separate websites that have nothing to do with each other, Apart from a common landing page?
Or should page 1 be able to access data from page 2? (this is not clear from your graphic)
Or just have a look at the multi site support: https://processwire.com/docs/more/multi-site-support/
(but I don't think you need that at all?) -
Do you already have the numbers in the pages (as a field) that you show in the selection?
Because you can change the label field in the input tab (from the page select field) to "Custom Format" and also display multiple fields.
-
1
-
-
39 minutes ago, LAPS said:
Maybe there is something better...
Just have a look at the Hanna Code Module Example 😉
https://processwire.com/modules/process-hanna-code/<?php namespace ProcessWire; foreach($page->children as $child) { echo "<p><a href='$child->url'>$child->title</a>"; }
You are probably missing the processwire namespace in the php file 😉
API, how do I dynamically add a segment url to a template?
in Getting Started
Posted
You mean like this?
Or what exactly do you mean by whitelist ("Without manually adding"?!)