This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

gmap module not showing nodes

I have happily set up the gmap module and used it to show users however I just can't get it to work with nodes. These are the questions:

When I enter location while editing a node the map doesn't fill the frame and the +/- arrow keys don't always work.

When I view the node the location block shows a map with the marker in the right place but it's too high a magnification. Where do I change this without hacking the script?

And, crucially, when I look at map/node there is a map but no markers show.

Any help or pointers gratefully accepted.

JQuery/drupal.js - error: input.setAttribute is not a function

Hi,
I'm using Jquery for a little Ajax I'm putting in a form. I'm no JS expert but I can usually hack it.
The Jquery works for the stuff I'm using it for, but it seems to clash with the drupal.js or something.
Anyway, I get the following in firebug: input.setAttribute is not a function
This happens on anypage with autocomplete set on a form.
On these pages, all the autocomplete (AJAX) and the collapsable menus fail.
Does anyone have any idea what this could be?
Cheers

How to assign vocabulary in the category module for creation of users.

Hi,

I am facing a peculiar problem related to access profiles and users.

1. I have created a category called Region to which i have added three terms (Americas, Asia Pacific & EMEA ).

2. I have created three pages for each Region Category.

3. I have created three users X , Y & Z.

4. I have created 2 roles (Member (X & Y) , Administrator (Z) )

Pageable (Calendar) Block

I'm hitting the wall on this one and was wondering if someone could point me in the right direction. The site I'm developing needs a pageable calendar that will allow visitors to flip through month-to-month. They should be able to do this on any page that the calendar block is available, and the state of the calendar should be maintained as they navigate the site.

I've installed the event module and, unless I'm missing something, it seems very limited in this regard. I've made a hacked version of my own, that borrows the event_views_get_calendar function and makes minor modifications. It's fine - it'll generate a monthly calendar based on the array of nodes I load into it - but trying to find a way to maintain its state has been vexing.

At first, I thought I'd go front-end, having the events module pump out ID'ed DIV tags that could be hidden and shown via javascript. This would have been ideal, in the sense that it would be very responsive and not require page reloads. Sadly, it seems that it would require a major rewrite of the Event Views API, given that it creates a single table that isn't amenable to wrapping individual months in DIV tags.

Now, I'm in a bit of a jam. Ideally, I'd like to be able to simulate old fashioned GET data (i.e. &year=2006&month=10) and have the block respond to it. I could do it via dynamically generated drupal ARGs (i'd put next and previous buttons in the block with the arguments in the URLs), but would need to ensure that the URL wouldn't generate a Page Not Found error (so, say, node/50/calendar/2006/10 would display node 50 with the calendar set to october 2006, and node/51/calendar/2006/10 would do likewise with node 51). To put it another way: how to you get a drupal block to react to arguments that may or may not be there without generating 404s?

prefix/suffix for taxonomy select form elements

I'm trying to use hook_form_alter to wrap each of the selects in the taxonomy part of the node form with a div. Can someone explain to me why the code below doesn't work?? It does work to add an attribute to the form element, etc. However, the code referencing the #prefix and #suffix parts of the form element seem to have no effect on the HTML output. Is this a bug?

How can I shape the content of my RSS feeds?

I have a module that creates an extended node type. I know how to create PHPTemplate-compatible theme templates so displaying the nodes within Drupal includes my additional data fields for a given node. But I also want to be able to deliver a customized description (which includes that extra data) via the XML feeds. I have no trouble accessing the feeds, but where and how do I control what goes into the RSS descriptions? TIA.

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions