-
Posts
93 -
Joined
-
Last visited
Everything posted by monchu
-
at the end, it will become a Word Editor
-
Possible to layout pages this way? (Page Tree Q)
monchu replied to joer80's topic in General Support
In addition to Ottogal, the structure of PW in the admin area is not all about web page content. It is a container of functions based on template fields. For i.e. you can create a page of cities where all children pages are the city name. Then use it in your drop-down selection field. -
How to provide temporary access for external scripts?
monchu replied to johnstephens's topic in API & Templates
Yes, that's what I'm doing. I use url segment with a long name in it. However, I just not comfortable with this solution. -
How to provide temporary access for external scripts?
monchu replied to johnstephens's topic in API & Templates
Hi Steffen, is it doable for cronjob shell command? I mean if I have a pw site which is totally un-public, only for logged-in users. -
IMHO the topic that pw is secure than other CMS is not a good strategy to promote pw itself. Drupal is one of the oldest CMS, and there are a lot of hackers around the world eager to test it. WP as well. PW is quite new in cms world and not popular yet. So if until today PW is not listed in Secunia, it doesn't mean that pw tough enough from hackers. Maybe yes maybe not ...
-
I did the upgrade, everything is fine. I think there are some corrupt files during the FTP upload.
-
If you're looking for error don't change or remove any installed module. Activate $config->debug = true; in config.php to see the errors if any, and study the logs from Log tab, from the date that the users found that error, and check what is the latest date for new module/s if any at least from there hopefully you have the starting point to trace the problem
-
What is it that determines the sort position of new pages?
monchu replied to Robin S's topic in General Support
You can sort them from your home template, under Family tab -
Because you're using option A. Try other option (B,C) which is not using iframe
-
pw give us the flexibility to customise the admin part. for backend part to avoid the admin's user confused about the 'Pages' concept, I just simply rename the Pages label into Dashboard.
-
I used to work on localhost, but now since the Internet connection is much more reliable and fast, I do all development in web server directly. Localhost only for a backup purpose. There are a lot of advantages doing that way; I can work from anywhere and at least make sure that the server configuration meets the client's server configuration.
-
wow you should take a break ... glad to hear you're ok, watch on tv Irma was really bad
-
try to add "template=blog-entry, include=all" to see all pages
-
I suggest not to touch the admin template. You can create a new role with permissions that you would like to provide for some users. Edit the template that you want to assign the new role, click the Access tab. Click Yes, under 'do you want to manage view and edit access for pages using this template?'. You also can do the same in field level, by editing each field that you want to apply for that new role. However, doing this way remember to put it in your documentation otherwise it will become a little bit complicated for maintenance in the future.
-
Read this as starting point:
-
I'm not too sure it is doable or not, just an idea, you can read about multi sites here: https://processwire.com/api/modules/multi-site-support/
-
Template associated to an _include.php page: possible???
monchu replied to ARG's topic in Getting Started
yes it is doable however, you don't have to create a file anytime you create a new template in admin. you create a template file if you want to 'view' the page using that template -
You don't have to edit .htaccess file, just edit your config.php at $config->https = true;
-
Try to clean compiled files and refresh first if still got the error try to uninstall any 3rd party modules
-
Choosing between Page Reference and Options field types
monchu replied to Robin S's topic in General Support
I still prefer the Page Reference because the flexibility to get more values from the page itself -
On each process page I usually added an option field for i.e named it as 'toggles' to restrict user's view access. So in wire('pages')->find('template=your_template, toggles=your_user_roles'), you can restrict the user's access. At the moment I'm developing the process for thousands of property addresses and contractors, the queries are quite fast. It always relies on how you design the process itself. In term of security, at least until today pw doesn't have any security issue. As long as you're sure to manage your front-end script carefully I think pw core is really good in the security part.
-
I'm using pw for a web app as well. I'm not PHP expert just a self-taught programmer learn from copy and paste What I did wrong for the first dev with pw I was not using pencil and paper to design the process first ... So just for sharing to your question: Page in PW is not just a content; I use PW front-end as a database form to process certain action. Each process will refer to the user's role Create the template to accommodate that process and setup user's access right for each template. No need to create a file template if it's not a content template. Finally, configure the access right on the field level. But be careful here, to write down in detail in your documentation, or just use hook for that purpose.
-
general error 1214 no support for fulltext indexes
monchu replied to hansv's topic in Multi-Language Support
I'm not sure LostKobrakai, in my case, once I deleted that line then I'm able to add a field. the error gone. -
general error 1214 no support for fulltext indexes
monchu replied to hansv's topic in Multi-Language Support
If you're using site-regular during pw installation, you have to remove this $config->dbEngine = 'InnoDB'; from config.php -
Why is a value required to pre-check checkboxes?
monchu replied to cjx2240's topic in General Support
You can just add a 'None' option as a selection for user to tick nothing and manipulate it in your code