You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem:
Although an EML Feed button is available to anonymous users, if they click on
it they are instructed to "Please login in". Ideally, access to EML feeds will
be controlled by Views settings. The proposed patch allows Anonymous users to
download EML feeds.
Version: Views_bonus_eml March 24th, 2011
The attached patch is an implementation of these instructions from a module
developer:
I put this code to prevent not-logged-in users to create Drupal2EML feed. Now I
understand, that you want allow them to do so. I'll remove that part of code.
"
if (empty($user->uid)) {
drupal_set_message('Please login in');
drupal_goto('user/login', $current_destination);
}
"
Following code redirects from eml_export to eml_config if there is no "site
acronym" in EML config settings. Please, uncommented this part and change
"elseif" to "if" (because first part still commented out). We can change
condition if you want. Once config is filled out (for now means "site acronym"
does exist) one can reach EML config through its URL.
"
elseif (!$last_settings['last_acronym']) {
drupal_set_message("Please provide the site specific settings");
drupal_goto('eml_config', $current_destination);
}
"
Original issue reported on code.google.com by umbs...@gmail.com on 28 Jun 2011 at 7:58
Original issue reported on code.google.com by
umbs...@gmail.com
on 28 Jun 2011 at 7:58Attachments:
The text was updated successfully, but these errors were encountered: