Drupal is up and running but how do I ...?

Adsense Problem

I am having an adsense problem. I added this piece of code to the comments.tpl.php file at the top.

if ( !$page && ($id == 2 || $id == 4)) :
print adsense_display("468x60" , 2);
endif;

It worked for a week and then suddenly stopped. There is still a gap in between those comments but links are not showing up.

Has anyone had this problem and do you know how to fix it?

Thanks

Remove "my blog" from the menu

Does anyone know of a method to remove the "my blog" link from the main navigation under the parent "blogs". I don't want to show this item, but instead find a way to dynamically list out a link to each user's blog.

Example:

blogs

  • User 1's blog
  • User 2's blog
  • User 3's blog

Any suggestions? Thanks in advance. :)

After domain change: Images not showing (because are taking old domain)

Hi there!

I´m changing the domain name hosted on my server.
I´ve created my drupalsite using a demo domain name, and as is better designed than my current site, I wanted to make the change.

After this change all seems pretty fine, except that the images are not showing up, because they are taking the old domain.

I´m currently using the "image" and "img_assist" modules.

Problem with declaring function in node

Hi all,

I have this problem with a 4.7.2 drupal installation: i have a node with a function that create a form (form api), but when i visit it i get the message:

Cannot redeclare *functioname* (previously declared in /digitaldesign/lavori/sitiweb/digital_design/d-design.it/web/includes/common.inc(1158) : eval()'d code:5) in /digitaldesign/lavori/sitiweb/digital_design/d-design.it/web/includes/common.inc(1158) : eval()'d code on line 2

manual comment spam deletion: is this safe?

I got hit with a ton of comment spam where the subject happens to be "subject." I know I need a better permanent solution but for cleanup purposes, can I simply:

mysql> delete from comments where subject = 'subject';

...or is that likely to confuse something?

Thanks

Inserting nodes into nodes?

Hi!

I've been searching for a while but can't find anything. This feels like a basic thing..

Can I simply insert a story or a poll or whatever into the body of a page statically?
I imagine there something like [inline:node=5] ???
(but that doesn't work..)

cheers

Pages

Subscribe with RSS Subscribe to RSS - Post installation