Giter Club home page Giter Club logo

exclude_node_title's Introduction

Hi there πŸ‘‹

K. Burak Γ–zdemir GitHub stats

exclude_node_title's People

Contributors

fengtan avatar kburakozdemir avatar yonas avatar

Watchers

 avatar  avatar

exclude_node_title's Issues

Module permissions

#1 is also related to this issue.

  • 'Administrator' must be checked initially when the module is enabled.
  • Add 'Use exclude node title' to all roles

/admin/config/people/permissions

'Administrator' must be checked initially when the module is enabled.

image

D7 initial permissions when module is enabled:

image

image

Installation error

see also #3

function exclude_node_title_install() {
  // Insert in the database the permission to use exclude node title.
  $role_ids = db_query("SELECT rid FROM {role}");
  foreach ($role_ids as $role) {
    db_query("INSERT INTO {role_permission} (rid, permission, module)
        VALUES (:rid, 'use exclude node title', 'exclude_node_title')",
            array(':rid' => $role->rid));
  }
}
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'backdrop.role' doesn't exist: SELECT rid FROM {role}; Array ( ) in exclude_node_title_install() (line 13 of /app/backdrop/modules/contrib/exclude_node_title/exclude_node_title.install). 

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'backdrop.role' doesn't exist: SELECT rid FROM {role}; Array ( ) 

image

Config page error

/admin/config/content/exclude_node_title

    Warning: Invalid argument supplied for foreach() in form_type_checkboxes_value() (line 2443 of /app/backdrop/core/includes/form.inc).
    Warning: Invalid argument supplied for foreach() in form_type_checkboxes_value() (line 2443 of /app/backdrop/core/includes/form.inc).

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.