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

How do I do this???

I have created a node using CCK and contemplate. One of the fields on the node is "address". What I would like to do is have a map (maybe gmap module) below the node that shows the place corresponding to the address on the above node. I have been playing around with the gmap module but I cannot figure out any way to do this. Is there another option or is there a specific way to do this with the gmap module?

What's best way to determine custom blocks on front page?

I want the main section of my home page to be a custom kind of content, and have all other "promote to front page" content show up in the sidebar. What is my best way of doing this?

Will the Front Page module do this?

Is there some way I can do the following in the template?

if ( $is_front == "1" ) {
echo "INSERT CUSTOM FRONT PAGE BLOCK
";
}
else {
echo "INSIDE PAGE STUFF";
}

Any solutions?

Nice_Menus not working in IE for my theme, but working for Mozilla.

Hey all,

Finally made a breakthrough with creating a custom theme, although I'm a bit worried to find that the nice_menus module doesn't work that well with it! It works fine in Mozilla, although for Internet Explorer, the menus dont pop out. Has anyone else encountered this problem and know how to fix it?

Much thanks!

- bran

notify module

I'm trying to use the notify module.

It says "...allows users to subscribe to periodic emails which include all new or revised content and/or comments..."

I can't get it to work for revised content. Anyone have any luck with this?

inline module does NOT work as expected

i have done everything as the instructions, activate the module in system config and input format, add a tag like [inline:1] in the node body, but, it always display a link instead of a image, what is wrong?

Keyword search with synonyms

A client has requested certain keywords have synonyms when searching. Unfortunately, the search does not seem to have a way to specify synonyms to specific keywords.

Currently, if one uses a term as a keyword, all nodes in that term will come up in the result. Yet, it won't associate term synonyms with the nodes when searching.

For example, say we sell products, and have a category "Copy Machines" with a specific product "HP Photocopier." The issue we're having is that if someone searches "xerox" they will get no results because we offer no xerox brand copy machines.

Since we can anticipate such branding confusion, we would like to have some way of associating certain keywords with synonyms.

I attempted to associate category synonyms with nodes utilizing this script:

<?php

$nodeTerms = taxonomy_node_get_terms(arg(1));

foreach($nodeTerms as $nodeTerm) {
	$parents = taxonomy_get_parents_all($nodeTerm->tid);
	foreach($parents as $parent) {
		print '<a href="'. drupal_get_path_alias('taxonomy/term/'. $parent->tid) .'" title="'. $parent->name .'">'. $parent->name .'</a> ';
		$parentSynonyms = taxonomy_get_synonyms($parent->tid);
		foreach($parentSynonyms as $parentSynonym) {
			print '<a href="'. drupal_get_path_alias('taxonomy/term/'. $parent->tid) .'" title="'. $parentSynonym .'">'. $parentSynonym .'</a> ';
		}
	}
}

?>

It successfully will list all categories, parent categories and synonyms related to the node, but the Drupal search is unable to index the results of the script. When the script is placed in the node's template, I imagine Drupal's search can't see it at all... and when placed within the node's content fields, I imagine Drupal's search doesn't parse the result of the script before indexing.

Pages

Subscribe with RSS Subscribe to RSS - Post installation