Just a few issues I ran into and could some help with...

Hello...

This is a bit of long post... but I am really stuck and I just want to improve on my Drupal knowledge... thanks a lot in advance for your time.

Been using Drupal for a few months now, at first used Views a lot, but I just wanted more control over what my application does. I also just wanted my code in git without having to export everything. I'm just running into a few issues, hopefully this forum can clear up a few of them.

Situation: A custom menu item where a list of a x node could be shown, but also have this menu item be a basic page, where you could still add a body text.

[page title]
- when logged in [edit button]
[body text]
[list of nodes]
- when logged in [edit button per node]

What i did here was create a custom module, in which i added a MYMODULE_menu. The callback to this page led to a function where I used EntityFieldQuery to get the list of nodes I wanted, sorted on the property(DESC) and a fieldCondition. I also loaded these results in a custom template using the theme() function and a MYMODULE_theme().

This all worked fine. I could access the menu item and it showed me a nice list of results. Here I started to run into numerous issues... I fixed them, for the most part, but i'm just wondering if I did it the right way.

All the fields of a single content type to a single table

Hi everyone.

Is there a way to merge all the fields, that are kept in a table per field way, to merge into by content-type way? As it was made in CCK for D6.

Googling around the internet gave me the following results:
http://groups.drupal.org/node/17564
http://drupal.org/project/pbs
http://drupal.org/project/properties

Correct tpl file for block-search-form in D7?

In drupal 6 you could theme the search form block with block-search-0.tpl.php, but I can't find the equivilant for Drupal 7. I tried block-search-form.tpl.php, but it doesn't work. Devel themer didn't shed much light on this either. Does anyone know the correct naming convention to get this to work?

Old CSS ID (Drupal 6): block-search-0
New CSS ID (Drupal 7): block-search-form

Thanks.

Extend the form fields of the poll module

I am trying to make an election poll, for my town using the poll module included in the 7.x core. Is there a way to extend the form fields of the poll module to include select types. I need to include 24 running candidates for the town council and only 12 councilors must be selected by a single voter. I like the way the poll module reflects the percentage of the vote. I don't like webform cause it won't reflect the percentage of vote.

Select List items do not appear in User Profile

I can not get the "selected items" in a Select List to appear in the User profile. The site is built with Drupal v7.

I have added a content type called "Profile" that contains 28 fields. Five of those fields are set up with a Field Type of List (text) and a Widget of "Select List".

How to create a Webform in to block in Drupal 7?

hi,

Could any of you help out with this...

How to create a Webform in to block in Drupal 7?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x