It's important to give to the module a configuration access from the Drupal administration menu

Comments

davidjguru created an issue. See original summary.

jlopezg88’s picture

I'm trying to add to the admin menu

jlopezg88’s picture

StatusFileSize
new47.55 KB

I 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

jlopezg88’s picture

StatusFileSize
new14.15 KB

Finish, geohide with UI.

jlopezg88’s picture

davidjguru’s picture

Status: Active » Needs review
diegol_de_los_bosques’s picture

StatusFileSize
new3.32 KB

Patch released

davidjguru’s picture

Ok, 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

davidjguru’s picture

Assigned: davidjguru » diegol_de_los_bosques
Status: Needs review » Needs work
diegol_de_los_bosques’s picture

Status: Needs work » Needs review
StatusFileSize
new4.91 KB

Removed Trailing spaces and final tag for get_ip.php

diegol_de_los_bosques’s picture

Status: Needs review » Reviewed & tested by the community
diegol_de_los_bosques’s picture

Status: Reviewed & tested by the community » Closed (works as designed)
diegol_de_los_bosques’s picture

Status: Closed (works as designed) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.