I have created custom display view & have role based access, I have assigned it to multiple roles. It's working fine on my staging ENV, recently I have moved my site to production ENV, there it's says You are not authorized to access this page. even if I am logged in with admin user.
However, if I assign role named Authenticated User, it starts working
Please see attached screenshots for further understanding:
My problem is that for some users (not for all) when they submit a form the get the error:
'The form has become outdated. Press the back button, copy any unsaved work in the form, and then reload the page'
And the are not allowed to send the form.
The user is logged before he is sent to the form by this way:
$user = user_load(4478);
$form_state = array();
$form_state['uid'] = $user->uid;
user_login_submit(array(), $form_state);
I'd like to add svg inline images in Views > Header > Global: Text Area (<svg> <g> etc.)
It works fine so far, but I also need to add some TWIG conditions. As soon as I activate "Use replacmeent tokens from the first row" all svg html tags are removed.
How can I use svg inline html tags and TWIG in the view header textarea?
developed a website for a client in a staging account, all went well
the site is ready for production, so I upload the files, import the database, adjust the settings.... no problem, the homepage displays just fine. Nice....
then I start testing the site in its new location, and the first page I try to visit invokes the print preview window.
second page too.
...
all the pages, except the homepage, display this behavior. Every time I click away the print preview dialog, it reappears immediately.
Hi Guys, I'm developing a module for live event (just for the context).For subscribers, I need to assign them in a role.
I need to develop an administration tools to assign a specific role to a list of users.
My schedule and problem is :
I have a list of email to copy/paste
I choose the Role
I submit
In my process code :
I load a user by mail
If exist -> Assign the specific role to the user
If don't, I send an email to the person to ask him create an account on the website (not implemented yet)