This is something so simple it is proving difficult to search for. Within a PHP block or module, what would I put within <?php > to spit out the page's url?
For example, say I wanted a link to post this page to del.icio.us:
I recently added a 4.7 branch for the Invite module. It has some new features and is more streamlined. There is a new API that lets other modules react to invite events. I used this API to make a buddylistinvite module that makes inviter and invitee buddies of each other when the invitee accepts the invitation.
Hi there. I'm trying to put togeteher a drupal site. I got a website in pure html and spend a lot of time tuning it.
Drupal is cool, but it's giving me problems uploading pics. When I use the Upload Image, i get
warning: copy(files/images/temp/calipo_piscina.jpg): failed to open stream: Permission denied in D:\Inetpub\webs\viruetecom\drupal-4.6.5\includes\file.inc on line 288.
1. When I ckick on 'create content' link in admin menu, I see new menu item 'example node' in submenu. But on the right side of this page this item is not added. It is strange.
I`ve already wrote some working code, but still cant understand how does those hooks work.
Now I stuck with form_alter - need to remove taxonomy select from node add form (adding term id later, on validate).
It worked, but now its not working again - dont remember what I changed.
$form comes to mymodule_form_alter with no $form['taxonomy'], so "$form['taxonomy']=array()" takes no effect - the select appears on the form.
I gues it is adding by the same form_alter somewhere in taxonomy module, UFTER CALLING MY HOOK.
I am using the search API to add content to a node when it is indexed. Specifically _nodeapi() with 'search index' as the $op.
I can see the the content is being added to the node by adding debug print statements to node.module and by looking in the search_index table in the DB. Both show that the extra content is being indexed.
However, when I search for this content I am getting no search results back. Despite searching for keywords the definately appear in the DB search_index table.