Drupal

Drupal is an open-source content-management framework written in PHP used as a back-end framework for websites and is also used for knowledge management and business collaboration. The standard release of Drupal contains basic features common to content management systems, including user account registration and maintenance, menu management, RSS feeds, taxonomy, page layout customization, and system administration. Drupal runs on any computing platform that supports both a Web server capable of running PHP and a database to store content and configuration.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hi all.
Im looking for an Intranet solution for a large corporate, 5000 users.
This consists of a general landing page, which the end user then navigates to their Depts pages which needs to be secured by Active Directory Security Groups.

Currently we use Drupal as our Intranet, however the Windows AD integration is not good enough for us.
At the moment, it seems that Drupal will only do LDAP authentication, so the end user needs to enter their username and password to access their Depts secure area, as below.

Drupal User Login
We dont want the end user to be entering their username and password again, as this is a large support burden as people get it wrong.

We would prefer a Single Sign On experience with the logged in Windows User seamlessly passing the user token to the Intranet site, allowing access to the secured Dept areas for those authorised, being a member of a Windows AD Security Group (and no access for those not!) without needing to enter credentials again.

I know Sharepoint can do this, but Im wanting to know is there is any other product out there that will allow this seamless authentication of Windows Credentials.

Im looking at Typo3, but havent built it yet.

Anyone else got suggestions or knows how to get kerberos working in Drupal?
0
I'm trying to help a friend out and I'm just now realizing that the content that needs to be edited is in Drupal. Never worked with Drupal and I'm hoping for some help.

Here's the page: http://www.sunriseorchidsociety.org/membership

When I go to the Admin page, this is what I see:

screenshot
I'm looking for some text or images or something and I don't see anything.

What am I missing?
0
This continues from here: https://www.experts-exchange.com/questions/28944519

Basic scenario is that I have some VBA code from which I would like to be able to direct users to a closed forum.  If the user is not registered on the forum then I would like to automate the process.

MlandaT provided the solution I asked for and Ray Paseur provided the warning that I needed...  thanks to both.

In reality, the exact circumstances are slightly more complicated than the original question alluded to.

The VBA code is subject to registration checks, which is done online using SOAP / POST etc..  The website that hosts the forum is NOT related to the website that checks registration.  

My current plan of attack is:
  • VBA sends request to a page on my Forum with: userName, PassWord, & registration details in the URL...   (the VBA has ready access to this information)
  • based on the registration details, the page that the VBA lands on sends a soap request to the registration website and waits for a response
  • If the soap response indicates the user is currently registered then login may proceed
  • If the current user does NOT have a valid login then a new account is created automatically as per MlandaT
  • If the current user already has a valid login then they are logged in

Does this alleviate all the security concerns? Is there a better way?

Many thanks,
0
I'm trying to do a view that would LEFT JOIN one content type on another where fields from the second content type equals a specific value. Thanks
0
Greetings. I've setup a view based on a Content type, lets say for example the view displays news items from the New content type. I've created another content type that contains two of the same taxonomy terms as the first content type so they can both be filtered contextually.

They second content type has a field called block_choice where the user can select from a dropdown, News, Events, or Sports

So in my view for news, I'm trying to join the filter with my second content type to also filter on where block_choice == News.

I'm not sure if this is possible. Would I need to add a relationship on the view to the second content type? How would I go about this...Or maybe there is a better solution. Thanks
0
I have a view setup based on contextual filters for example arg1 and arg2 that pulls the results from a content type, with arg1 being the main category and arg2 being a subcategory of that main category

I’ve also added a Global View Area for "NO RESULTS BEHAVIOR"...Where it would show the parent category results if there is no subcategory results. It works on the view for the no results behavior, but the no results behavior is not working on the Panel.

For example on the view page in the Update Preview section I can type for example:

food/berries - which would show the berries results because they exist

However food/cheese would show the results for the parent category food, because no results exist for cheese.

So everything here works like it's supposed to.

The problem is that in Panels it doesn't behave like that, it only shows content if the results for the subcategory exists and doesn’t inherit the NO RESULTS BEHAVIOUR form the view.
0
I keep getting notice errors like "Notice: Undefined variable: node" with the following code on page .tpl when I'm in the admin area eventhough I'm excluding admin pages


if (!path_is_admin(current_path())) { // Only for non-admin pages

// Define node id
if($node->nid){
$mynodeid = $node->nid;
} else {
$mynodeid = '';      
}
// Define node id

// Define page type
if($node->type){
$mynodetype = $node->type;
} else {
$mynodetype = '';      
}
// Define page type

}
0
Greetings I created a custom layout in panels so that I can have cleaner html

I added a layouts folder in my theme folder, and have stripped the .tpl file to just the following

<div class="col-lg-2">
<?php print $content['left']; ?>
</div>
 
<div class="col-lg-9">
<?php print $content['right']; ?>
</div>

Is there a way to find out what sections/ fields make up the $content['right']  before it actually renders like an array or something? print_r does the same thing as print...I would like to stripout all of the panels html completely and only show my own. Let me know thanks
0
drupal_get_form('search_form') spits out the following multidimensional array... How can I get the values for

[build_id]  and [type]  (see bolded below)

Array ( [#action] => /search/user [#attributes] => Array ( [class] => Array ( [0] => search-form ) ) [module] => Array ( [#type] => value [#value] => [#input] => 1 [#after_build] => Array ( [0] => conditional_fields_element_after_build ) [#defaults_loaded] => 1 [#tree] => [#parents] => Array ( [0] => module ) [#array_parents] => Array ( [0] => module ) [#weight] => 0 [#processed] => [#required] => [#attributes] => Array ( ) [#title_display] => before [#id] => edit-module [#name] => module [#sorted] => 1 [#after_build_done] => 1 ) [basic] => Array ( [#type] => container [#attributes] => Array ( [class] => Array ( [0] => container-inline ) ) [keys] => Array ( [#type] => textfield [#title] => Enter your keywords [#default_value] => [#size] => 40 [#maxlength] => 255 [#input] => 1 [#autocomplete_path] => [#process] => Array ( [0] => form_process_autocomplete [1] => ajax_process_form ) [#theme] => textfield [#theme_wrappers] => Array ( [0] => form_element ) [#pre_render] => Array ( [0] => ctools_dependent_pre_render ) [#after_build] => Array ( [0] => conditional_fields_element_after_build ) [#defaults_loaded] => 1 [#tree] => [#parents] => Array ( [0] => keys ) [#array_parents] => Array ( [0] => basic [1] => keys ) [#weight] => 0 [#processed] => 1 [#required] => [#attributes] => Array ( ) [#title_display] => before [#id] => …
0
Greetings  I've setup a view and tried to stripout most of the unwanted html from the default view template, so I created a template:
 views-view--xxx.tpl.php in in there all I have is the following

<?php print $header; ?>
<?php print $rows; ?>
<?php print $footer; ?>

Drupal still adds a wrapper_prefix (<div>) and wrapper_suffix (</div> to each row, even though I've unchecked every box that woould add a wrapper that results in:

<div>
mycode
</div>

<div>
my code
</div>

I've tried everything I know to get rid of those pesky <div></div> but no luck. Any help is appreciated. Thanks
0
Is it possible to render/display a view or a block on the page.tpl.php and then pass a value from the page url to the view/block to filter results based on the url value? Thanks
0
Hi All

I'm not really sure where to start with this... I have an application written in VBA - users can be uniquely identified.  What I want to do is grant automatic access to a private user forum.

The user forum is based on Drupal 7 Commons Community by Acquia and requires a login.

Basically I want the ability to create (or trigger the creation of) new users from within VBA and thereafter automatically log the user in whenever they use the VBA application.

Interested in finding out how this could be achieved and security considerations.  Also, I'm not looking to reinvent the wheel, if there is a solution that already does this, I'd be happy to hear about it.

TIA
0
Greetings say for sample with the content type Basic Page, there is a field called Approved (Machine name: approved). When user submits content that content gets published to the users page. However in order for what the user published, an admin would have to edit that content and check the box Approved to allow the content to appear on the homepage.

Is there a way that when the user creates a new draft of that content to reset the Approved field to NULL or blank when the user saves the new draft? Let me know. Thanks
0
I have access to a Drupal 7 platform and I am looking to create a webform to collect some data. One thing I would like to be able to capture is a value for how many shots are taken at a Goal. I am envisioning this value being managed via a tally, where someone watching the game can increment the value for shots taken at Goal A each time a shot is taken.
The "game" is only a couple of minutes long. There are going to ultimately be multiple pieces of information like this - shots taken at Goal A, Goal B, Goal C, etc. - perhaps as many as 10 different things could be tallied as the Game occurs.
As a result, it's not going to be easy for the data collector to simply count in their head how many shots were taken, they need to keep track of each Goal/Thing as it happens.
I know enough about Drupal to be dangerous, so use the small words when explaining. :) Some reading I have done references PHP as an option, which is why i have tagged it, but I don't really have any familiarity with PHP to know how I would even utilize it.
Finally, Drupal is all I have access to from a development platform, so thanks in advance for not suggesting an alternative platform and related solution.
0
We have a web site developed with SharePoint 2010. We have to go through an exercise of a complete restructuring of the site and we were considering using a different web CMS because SharePoint is not very user friendly when we deal with web design, CSS and multiple languages.
While keeping the document management system in SharePoint we were  thinking of using a different Web CMS, e.g. Drupal.
The question is, is there a reliable and easy to use connecto that could allow us to consume SharePoint  data from Drupal?
Or do you have other suggestions (e.g. different Web CMS)?
Thank you in advance.
0
Greetings experts!

Here's my situation.  We recently had a new website (Drupal) created for us and it's currently being hosted by the company that developed the site.  I will eventually need to move the site back to our current host, which still houses the old site (also Drupal, if that even matters).

I would like to preserve a copy of the old site before moving the new one over.

Our cpanel is kind of a mess, at least to my inexperienced eyes, as we have multiple domains, remnants of old sites, etc., but this specific site is the root or main domain.

I have cpanel access to both hosts, so I'll have access to the mySQL db I'll need.  I also have FTP access to the new site.  I'm under the impression that's all I'll need.

My rudimentary understanding of what I'll need to do:
1.  Back up old site files and MySQL db.
2.  Export new site db, and import to our permanent host.
3.  Copy over site files from new temp host to permanent host.
4.  Change A record to point to permanent host.

Not that I know exactly how I'll accomplish those feats, but from my initial research those seem to be the steps.

Am I missing anything?  

The good news is that I have a lot of time to solve this, but I'll probably need a decent amount of help.

I know the new site was built on a more up to date version of Drupal.  I guess let's start there, do I need to do any updating on our permanent host to handle the updated Drupal version?

We are using HostGator, linux, cPanel …
0
See image attached.  When I save the ul id=manufactureMenu it saves the code properly.  However, when I go back and edit the code (ie. to add another link, etc..) the id=manufactureMenu is gone and all that is left is the ul tag.
drupal.png
0
I tried to install a newsletter module into my drupal system. But it returns a error during installation.
drupal_newsplugin.png
Please help to resolve this, thanks in advance.
0
How to Create a simple user login form in drupal. Am using drupal 7 and only by installing module is possible or we can create a page like that
0
Hi Drupal Experts,

we have a drupal theme that shows the main menu even though we logged in as admin .Its possible to hide that

Thanks in Advance Experts.....
0
We try to convert Html template to Drupal theme and we made the homepage but when try to add another page like about us , services  it showing the home page in that page and our link http://kaybs.in/html2drupal/ . how to add  new basic page in drupal  and please check that conversion from html to drupal is correct or not.

http://kaybs.in/html2drupal/user/ 
username :admin
password:admin1234
0
Hi,
I have a website in HTML, now i want to convert it to the Drupal CMS. How could I do that???
0
This is my first post/question in Expert Exchange: I have a PHP file (it's drupal and a custom module in drupal, but everything related to this question is happening between PHP and mysql DB), There is a function that I call which needs to go get a few columns from the DB (it will execute and then a 'for each' loop will put the returned values in to an array and return it) and it is working fine,
But I need to add a condition to the SQL statement (which sounds easy) but the statement is (I think) a prepared statement so I am not sure how to add the 'AND' condition here. The condition should limit the SQL output to those that have a date of past 3 months.

function is: function sbmod_user_webinars($type)
udi will have user's id in it because before our select we do: $uid = $user->uid;
Table name: sb_webinars_paid
Columns: paid_id (PK), mid, eid, uid, oid, line_item_id, path and timestamp (2014-11-02 12:44:58):
sample piece of the table querying..
Here is the SQL query in the function:

   $sql = db_select('sb_webinars_paid', 'uw');
   $sql->fields('uw', array($type));
   $sql->condition('uw.uid', $uid, '=');
// need to add a AND condition here, to check against date and only output past 3 months
   $result = $sql->execute();

I tried the code below but didn't work:
$sql->condition('DATE(uw.timestamp)', 'array(CURDATE() - INTERVAL 3 MONTH,CURDATE())', 'BETWEEN');

I appreciate any advice.
Thanks a lot,
Sina
0
Hi,

I am going to be using a Feed Importer to import  a JSON feed.

The time field I have access to in my feed is formatted like this: 20151119T120000

I will map this to a date field (popup) and want it to display like such: 11-19-2015 12:00:00 PM - Time Zone does not need conversion.

Currently, the time imports as 7:00
0
Hello,

I wanted to see if someone can help in regards to estimating the development time on a project that we have.

So we have a drupal based site, and we need to translate our content:

Specification of work:

Drupal Version: 7.26

"The language translations pop-up would appear on the home page when someone enters the site with options for languages and the whole website would be changed to that language. If something is not translated into the specific language it would be displayed in English.  

Once someone has made the selection, if they want to change it, they can use the language buttons at the top right hand corner. The language which is currently selected should be bold and underlined.

-      In the backend we should be able to turn on and off the pop up. If we feel that people are not liking it we ourselves should be able to turn it off.

If a user is using Arabic, for example, and they click on an article which has not been translated, there will be a text box indicating that "This particular text is not currently available in your preferred language".

We also need a feature so if someone is browsing the site in English but wants to read a specific article in Arabic they are able to see the translation for that article only (language selection option just above the article), without changing the whole menu into that language. It would only effect the specified article."


Just wanted to see if someone knows of a module that has been …
0

Drupal

Drupal is an open-source content-management framework written in PHP used as a back-end framework for websites and is also used for knowledge management and business collaboration. The standard release of Drupal contains basic features common to content management systems, including user account registration and maintenance, menu management, RSS feeds, taxonomy, page layout customization, and system administration. Drupal runs on any computing platform that supports both a Web server capable of running PHP and a database to store content and configuration.

Top Experts In
Drupal
<
Monthly
>