Closed (fixed)
Project:
Geohide
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
15 Nov 2016 at 21:30 UTC
Updated:
24 Aug 2017 at 12:49 UTC
Jump to comment: Most recent, Most recent file
It's important to give to the module a configuration access from the Drupal administration menu
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | access_from_admin_menu-2827902-10.patch | 4.91 KB | diegol_de_los_bosques |
| #7 | access_from_admin_menu-2827902-7.patch | 3.32 KB | diegol_de_los_bosques |
| #4 | geohideWithUI.zip | 14.15 KB | jlopezg88 |
| #3 | geohideWithUI.zip | 47.55 KB | jlopezg88 |
Comments
Comment #2
jlopezg88 commentedI'm trying to add to the admin menu
Comment #3
jlopezg88 commentedI have added geohide to the admin menu in configuration / contention authoring. In addition I have added a UI that consists of a form where you enter the name of the node and the field that you want to hide on that specific node.
Best Regard.
Jlopezg88
Comment #4
jlopezg88 commentedFinish, geohide with UI.
Comment #5
jlopezg88 commentedComment #6
davidjguruComment #7
diegol_de_los_bosques commentedPatch released
Comment #8
davidjguruOk, I've reviewed the patch and found the following issues:
1- Several whitespaces throughout the file:
Access_from_admin_menu-2827902-7.patch: 43: trailing whitespace.
Access_from_admin_menu-2827902-7.patch: 74: trailing whitespace.
'Nodetitle' => $ form_state ['values'] ['nodetitle'],
Access_from_admin_menu-2827902-7.patch: 76: trailing whitespace.
Access_from_admin_menu-2827902-7.patch: 83: trailing whitespace.
Access_from_admin_menu-2827902-7.patch: 112: trailing whitespace.
$ Node-> content ['field_image'] ['# access'] = FALSE;
Warning: squelched 1 whitespace error
Warning: 6 lines add whitespace errors.
2- Problems with tags in get_ip.php:
The problem of this file was the PHP code <? ? > (Short tags) at the beginning and end of the text. This file is a script that had only <?, And in some version of apache that was running did not work because of the configuration of php.ini.
This prevented access to the script and the call to the getIP () function
Set:
Short_open_tag = On
In php.ini
Comment #9
davidjguruComment #10
diegol_de_los_bosques commentedRemoved Trailing spaces and final tag for get_ip.php
Comment #11
diegol_de_los_bosques commentedComment #12
diegol_de_los_bosques commentedComment #13
diegol_de_los_bosques commented