How to let Polkit request root password instead users password

I’m seeking for kind of old style solution: I need to cause all elevated priviledges platform on Ubuntu machine to request target user/root password instead of asking for calling user password. I’ve managed to set target user setting for sudo, still, applications using the Polkit for extended priviledges are requesting the user password by default.…

Details

Theming secondary menu

The following code allows me to print the secondary menu. <?php print theme(‘links__system_secondary_menu’, array(‘links’ => $secondary_menu, ‘attributes’ => array(‘id’ => ‘secondary-menu’, ‘class’ => ‘menu nav navbar-nav secondary hidden-xs’))); ?> I get the following output. <ul id=”secondary-menu” class=”menu nav navbar-nav secondary hidden-xs”> <li class=”menu-6734 first”><a href=”/” title=””>link 1</a></li> <li class=”menu-6735 first”><a href=”/” title=””>link 2</a></li> <li class=”menu-6736…

Details

Adding a Pods form for submitting posts

I have a website with a basic Pods form (currently this looks like: [pods name=”thepodname” form=”1″ fields=”theurl” label=”Post” thank_you=”/thanks”]) that I want to work into a custom form I’m putting together. Currently, my new form looks like this (in the code editor for a basic page): <div class=”add”> <div class=”input-group”> <input data-name-clean=”pods-field-theurl” data-label=”Add a url”…

Details