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

Ajax Poll?

I'm gonna try and write a poll that uses Voting API and also the built in Ajax/javascript functions in 4.7.

I wonder how hard this is gonna be.

Er, has anyone done this? Or any good samples of either the Voting API or Javascript/Ajax? I've seen the handbook pages on Javascipt/Ajax -- just wondering if anyone has used them specifically for polls.

Code to load 4.6 Table Manager table from file

I have a spreadsheet/csv file that I'd like to load into a 4.6 Table Manager table. Can anyone point me to a code snippet I can use as a starting point?

redirect back to node after edit?

if you go to the moderation queue and click edit on a node, and then edit it, and click submit it then redirects you back to the moderation queue

how could I make it redirect you back to the to the node edit page instead?

I've been going through node.module but I can't find where to change this

thanks in advance!

Form API, can you explain it in simple terms?

I’m having difficulty understanding Form API. I’ve read several posts, including handbooks, but I’m never certain exactly what it is people are excited about and just what exactly they are creating and/or altering. Some say they’re creating pages with PHP input, others say there making original PHP files, and yet others say they’re writing modules?!

Would it be possible to explain in rather simple terms A. what is created, B. what it’s named, and C. where it’s placed?

Create
If you want to make a form (i.e name, address, email), then do A, B, and C.

Filter content based on argument or session variable

I've got a custom view using the views module, and I'm filtering by node type and certain keywords, but I need to add a filter by category based on a session variable or something from the user profile. There seems to be a line for argument processing and argument code, but I don't understand how or if this ties into the filter information. Basically each user has a region that is set, and it's stored in a session variable. I need to read that and automatically add an additional filter.

taxonomy_menu view

Is there any way to use Views to modify the presentation from taxonomy_menu? The taxonomy_menu works great for me, but I would like a table presentation as opposed to a teaser and I haven't been able to figure out how to do it (or how to configure a View).

Thanks in advance.

Jim

Pages

Subscribe with RSS Subscribe to RSS - Post installation