Simple popup window

Is there a module for Drupal 7 that will help me create a very simple popup box? All I need is a link in a node of basic content that one can click to open up a small 'help' window of instructions. I know I can just HTML it if necessary but I'd rather use something a bit more sophisticated if it exists. The 'Popup' module seems only to be for Drupal 6.

Of course if there's an obvious way to do this without installing a module I would be hugely grateful if someone count point me towards it.

Sorry if this has been asked before, I've searched and got nowhere.

Drupal expert

A Drupal developer is required for remote support, vast experience with Drupal 7, must be ready to start immediately

Site Offline Mode - Cannot access login page via /?q=user

Hi,

I took my site offline so I could do some work but I'm unable to login now. I know this topic has been posted but usual answer of go to mysite.com/?q=user is not working or any variation on that. Is there a way I can find out the address of my login page through the phpmyadmin or something like that?

Thanks in advance for any help.

Viewing a Entity

HI all

This is going to be a long post with a lot of code in it.

I am working on a new module that imports CafePress items into the drupal database where you can access them by normal drupal commands. This will give you a lot more flexibility.

I have created a new entity called cp_products. This is saved in a database called cp_products. I created save_product and load_product and everything else i need to have a working entity. I have filled the database successful with information and i am able to read it back from the database.

And everything works fine until i wanted to show the entity it just like the nodes. I want to be able to access the cp_products by going to the url www.example.com/cafepress/1 ( or any ID number you want I have a serial ID number as primary key in the record.).

I have looked at the example code for entity's and lifted what i needed. Or i think i needed.
From that i have written the following code.


/**
* Implements hook_entity_info().
*/
function cafepress_import_entity_info() {

$return['cp_products'] = array(
'label' => t('Products in the stores'),
'controller class' => 'EntityAPIController',
'base table' => 'cp_products',
'uri callback' => 'cp_products_uri',
'view modes' => array(
'full' => array(
'label' => t('Full'),
'custom settings' => FALSE,
),

undefined function libraries_load() - Module: GeSHifilter

Hey guys

I allways get the following fatal error, when I enable the GeSHi Filter module (http://drupal.org/project/geshifilter):

Drupal 7, Print $name (in node.tpl.php) - Very bizarre browser behavior

Well, this is definitely a first. When i...

print $name; in node.tpl.php it outputs as a link in some browsers (aka Firefox), but not as a link in other browsers (aka Chrome and Internet Explorer).

Say what? How does it output this HTML in one browser

<a class="username" title="View user profile." href="/users/sceneorlando">sceneorlando</a>

...and this in different browsers?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x