-
Posts
533 -
Joined
-
Last visited
Everything posted by adrianmak
-
Testing of New user-admin permissions of dev 2.6.10
adrianmak replied to adrianmak's topic in Getting Started
is dev 2.6.10 ready for use on production ? the new granularity user permission is an essential feature on an incoming project. -
Testing of New user-admin permissions of dev 2.6.10
adrianmak replied to adrianmak's topic in Getting Started
I see. To assign new permission to a role 1. assign "page edit" permission to that role. Save. Then, user-admin permission will be populated on the permission list. 2 assign "user-admin" permission. Save. 3. Eventually, the new permissions will be populated on the list -
Testing of New user-admin permissions of dev 2.6.10
adrianmak replied to adrianmak's topic in Getting Started
From the blog post, As of ProcessWire 2.6.10, you can now handle this easily by doing the following: Create a new permission called user-admin-all (Setup > Permission > Add New). You only have to do this once. It is an indicator to ProcessWire that you wish to support granular control for user administration. Create a new permission with the name user-admin-members (Setup > Permissions > Add New). The format is user-admin-[role], where [role] is the name of any role in your system. Assign the user-admin-members permission to your members-manager role (Access > Roles > members-manager). Now users with the members-manager role can create, edit and delete users with the members role. They can also assign the members role to users with the guest role (only), or any other users that they have permission to edit (like if you are using more user-admin-[role] permissions for other roles). -
I'm testing out the new user-admin permissions feature of dev 2.6.10 I followed this blog post http://processwire.com/blog/posts/new-user-admin-permissions-automatic-version-change-detection-and-more-2.6.10/#new-managed-module-versions-by-the-core to create two permissions user-admin-all user-admin-members-manager But, I could not find the new permission in user roles setting page
-
Some benchmarks showing that php7 is out performance 2-3 times than current 5.X version and catching the tail of HHVM
-
how could i add login session expiration period on sign on ?
adrianmak replied to adrianmak's topic in Getting Started
After studying core files, I'm thinking of writing a module to override isValidSession and login hook in wire/core/Session.php -
how could i add login session expiration period on sign on ?
adrianmak replied to adrianmak's topic in Getting Started
nobody know? -
without using page, how could i input raw data set?
adrianmak replied to adrianmak's topic in Getting Started
OK......Let see how these could be used on my case. -
a row of data set include several fields, raw data figures are computed with a formula with a date range of data set to generate pie chart, bar chart. How could I do it in pw ?
-
My client's hosting is using litespeed web server
-
anybody could show an example of how to use $config->ajax ?
adrianmak replied to adrianmak's topic in Getting Started
I see. I knew how to do ajax in js/jquery. I supposed "Making an ajax call in pw" is without using js. PW will take care of it by some kind of indicator, similar as of Drupal 7 form api -
anybody could show an example of how to use $config->ajax ?
adrianmak replied to adrianmak's topic in Getting Started
I could not understand how to make an ajax call to a page. From your article, wordpress required wp_ajax action for a ajax call. In PW, how to tell pw, the data being submitted is a ajax call ? -
anybody could show an example of how to use $config->ajax ?
adrianmak replied to adrianmak's topic in Getting Started
How to make a ajax call in PW ? Let say A page has a link to another page. In traditional, the link will bring user to that page directly. If i want to make an ajax call to that page, the content of the targeted page will be shown on a div of the same page. -
From processwire weekly #58, an article from a developer point of view, being said that, why he chose processwire over wordpress. http://www.okeowoaderemi.com/articles/posts/wordpress-to-processwire-a-guide-for-developers/ When talking about ajax, he said, "PW it as easy as just pointing an Ajax Call to a page and that's that" if($config->ajax){ //Run Code exit(); }else{ Normal HTTP Request How can give me a explicit example of code, how to use $config->ajax for a ajax page call ?
-
What is get vars ? a pw's api ?
-
http://hkmesws.wix.com/mesws#!blank/c21d1
-
how did you implement the categories and tagging something like /?cat= /?tag= on the url ?
-
Just a quick idea. configure drupal view of your content, which output format in csv, json something like that, where pw could be imported from them
-
Module Module: Matrix Fieldtype & Inputfield
adrianmak replied to kongondo's topic in Modules/Plugins
cool...... -
could not get post values of a form submission
adrianmak replied to adrianmak's topic in General Support
As tpr pointed out, an ending slash is required. -
order template <?php $id = $input->urlSegment1; $out = ""; $out .= "{$pages->get($id)->title}<br/>"; $out .= "{$pages->get($id)->body}<br/>"; $out .= "PRICE: {$pages->get($id)->discount_price}<br/>"; $out .= " <form action='{$config->urls->root}checkout' method='post'> <input type='text' name='product' value='{$pages->get($id)->title}'> <input type='text' name='price' value='{$pages->get($id)->discount_price}'> <input type='submit' value='Pay'> </form> "; $page->body = $out; include('./main.php'); ?> checkout template <?php $out = ''; $out .= $input->post->product; $out .= $input->post->price; $out .= "Submitted data"; $page->body .= $out; include('./main.php'); When order is submitted to checkout page, no post values are got. Anything wrong with my code ? ps I'm testing on 2.5.3
-
I'm just evaluating this shopping module. Using the following code to show number of product in cart. However, it just simply show a plain numeric digit on the page. echo $modules->get('ShoppingCart')->getNumberOfItems(false); How to display more information, like in a list of product title, product quality
-
How about to use PageTable fieldtype of each of product variations ?
- 2 replies
-
- shopping cart
- product
-
(and 3 more)
Tagged with:
-
nodebb , a nodejs forum https://nodebb.org/