Adding a Form Folder with a local role in Plone 3 - plone

If I assign a user all available local roles using the sharing tab, they still aren't able to add a Form Folder. How do I work around this?
I'm using Plone 3.1.7 and PloneFormGen 1.5.2

I assume you're able to add a Form folder as admin (in the location you're testing it out as that normal user)? Just to make sure the product is installed correctly.
Another option is: how did you configure the addable types? Did you restrict that somehow?

Related

How can I make a download link usable for only one person

I am making a site with Wordpress and I want to know how I can make a file or more specifically a download link only usable by a single user. ie. if anyone other than that person tries to use the link they would get an error.
I use Advanced Access Manager for restricting users from different parts of the site and my theme is impreza and for login form user pro.
I'd really recommend for this you use the EDD plugin: https://easydigitaldownloads.com/
It's well supported and documented and does what you require.

drupal core install module and change the enable link to work with module_filter

I am using the filter module which makes it easier to manage modules which uses "/admin/modules?filter=" to list specific modules.
Since in core when installing new modules it displays the "enable newly added module" link, which actually only links to all modules,
I was wondering if it might be possible to create a custom module that replaces that link and redirects instead to "/admin/modules?filter=NEWLY_INSTALLED_MODULES_SEPARATED_BY_%20" ?
https://www.drupal.org/project/module_filter/issues/2952200#comment-12584379

Is there a way to migrate custom wordpress post types?

I'm trying to export some custom post types from my local Wordpress environment so that other developers are able to use them without having to go through the process of adding them themselves through CPT UI and Custom Fields.
Everything I've found so far has just been about exporting posts with custom post types, but that's not what I'm looking for. I want something like being able to tell Vagrant to create a WP instance that already has a custom post type and associated custom fields already installed.
Is this doable? If yes, how?
I would just create a copy of your local WP installation and install on developing server with https://wordpress.org/plugins/duplicator/.
It should take about 3-4 minutes to create a copy on the server from your localhost with this plugin.

Create a Plone private site

I should create a private plone site.
I tried to read both the howto on plone.org
http://plone.org/documentation/kb/creating-private-plone-site
both of the responses already made an identical request for this channel
What is the best way to create a Plone private site
but I have not found a solution.
I do not want to use (if possible) as a product http://pypi.python.org/pypi/iw.rejectanonymous but I'd only change the workflow or permissions.
I thought "enough" to set as the default workflow "intranet_workflow" where state internally_published permits "View" and "Access contents information" only to authenticated but, so 'doing, connect to my site only see a blank page (I tried it on a basic install version 4.1.2) and the user isn't redirect to the login form.
Thanks for any help
Alex
it "just works"(TM) like this:
create a new plone site
go to /##types-controlpane and set the intrantet workflow as default workflow
and do not forget to apply changes.
after that, visiting the portal will redirect unauthenticated users to the login_form
(i tested it with a plain plone4.1.3 site)
no idea why you just see a blank page. any add-ons or themes installed?
For Plone 5 I followd fRiSi answer but I haven't found /##types-controlpane, however there's a way to get to that menu through ZMI.
Go to /<plone_site>/portal_workflow then under Workflows by type in (Default) field replace simple_publication_workflow with intranet_folder_worflow.
The list of available workflows can be found under /<plone_site>/portal_workflow/manage_main
Then click on Change and Update Security Settings. This should update workflow for all objects on the Plone site.

Drupal 7 user registration: creating mandatory gender/city fields

I'm a Drupal newbie, but have successfully installed it at a CentOS 5.5 Linux, PostgreSQL 8.4.7, PHP 5.3 machine.
I've chosen minimal installation and then enabled following modules: Block, Image, Locale, OpenID (hope to add Google accounts later...) and Search. The User module etc. are enabled by default anyway.
My problem is:
I don't know how to add Gender/City fields and make them mandatory.
As a SPAM-fighting measure at my old phpBB 3 site I have a mandatory question for new users about their gender: Robot/Male/Female and the first answer is default and prevents the new user from registering.
Is it possible to do the same in Drupal 7?
And I hope it is doable without installing any additional modules as the stock install is easier to update. (That is what I was doing with my old phpBB site - with no mods installed).
Thank you for your answers! Alex
UPDATE:
Here is my Field module screenshot, does it look ok?
Maybe my problem is that List is shown as disabled?
First, note that there is a huge difference between Drupal modules and phpBB mods. Drupal provides API's which allows modules to integrate with Drupal without changing any code. You can just download them into a folder, enable and they are running.
And yes, what you are trying to do is possible without any additional modules. Just go to admin/config/people/accounts/fields, add a Gender field of Type "List (text)" (If that is not available, you might need to enable it, but it part of Drupal core), then, enter the allowed values and on the second page, check the "required" and "shown on registration form" checkboxes and you are good to go.

Resources