blog drupal

hi,
i am using a blog built from drupal. I want to add a link to the menu to access a particular page in my website and user must be authenticated first before they can access that page. I am able to make the link appear on the menu, but how can i make the targeted page only accessible to member. THanks

Help! image verification code issue

Hi,

I have installed captcha & textimage modules.
On going to registration page or node page, I am Getting "The image verification code you entered is incorrect." message even if i am going to that page first time.

I tried the below mentioned solution:

SQL Error in user.module

Hi all,
My drupal site was working well till my server had a crash due to /tmp folder full. So the database was not working. Now I cleared the folder and mysql service has been started. After that my drupal site is showing following error

Access denied

    * warning: array_keys() [function.array-keys]: The first argument should be an array in /var/www/html/ohwr/modules/user.module on line 352.
    * warning: implode() [function.implode]: Bad arguments. in /var/www/html/ohwr/modules/user.module on line 352.
    * user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 query: SELECT DISTINCT(p.perm) FROM role r INNER JOIN permission p ON p.rid = r.rid WHERE r.rid IN () in /var/www/html/ohwr/includes/database.mysqli.inc on line 112.
    * warning: Invalid argument supplied for foreach() in /var/www/html/ohwr/modules/filter.module on line 628.
    * user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OR format = 1' at line 1 query: SELECT * FROM filter_formats WHERE OR format = 1 in /var/www/html/ohwr/includes/database.mysqli.inc on line 112.

This error is on homepage itself, it is not allowing to login also.

Here's my setup:

Drupal

How a new content can go down instead of top?

Hello,

New content always go to top of the page. how can it be down?

Thanks

Block that knows what node[s] are displayed?

I am writing a module to define a new type of block
I am trying to create a block that displays additional information about the currently displayed node (if in single node view) or nodes (if on front page/term view).
How do I get a list of currently visible nodes from within my module?

Adding an icon to the front of OpenID login text area?

Hi all.

I've added OpenID module to Drupal installation and it's up and running fine. Now all I need is to add a small icon (it's like the favicon, you name it) to the front of my OpenID login form like this.

It seems I need to add something into the openid.module but I didn't try it out, too greenhanded :-(

Pages

Subscribe with RSS Subscribe to RSS - Drupal 4.7.x