variables

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
gumol's picture

Want to create module about variables editable by users - anything similiar already?

Hi.

I want to create module which allows users to modify variables chosen by admin.

Idea: I have created site for my client and want him to change some information on website, where I cannot allow him to access to code etc.

Example 1: I prepared block which use PHP Code and want client to have access to one text string change, but not for all PHP code.
Example 2: I have jquery code which sets default form value and want client to have access only to the default value change, not all of jquery code.

Solution:

Read more
mr.aizek's picture

Parsing variable to SPARQL and get the result

Hi community. I am a research student and currently looking at RAP. I have this code as below but with some problems

:: CODE ::
<?php
// Determine the query execution runtime
function getmicrotime()
{
list($usec, $sec) = explode(" ",microtime());
return ((float)$usec + (float)$sec);
}
$start = getmicrotime();

// Include RAP
define("RDFAPI_INCLUDE_DIR", "C:/xampp/htdocs/monokb/rdfapi-php/api/");
include (RDFAPI_INCLUDE_DIR . "RdfAPI.php");
include (RDFAPI_INCLUDE_DIR . "sparql/SparqlEngine.php");
//include (RDFAPI_INCLUDE_DIR . 'sparql/SparqlParser.php');

Read more
Subscribe with RSS Syndicate content