Form and table

I'm new to drupal 7 and would like to create a form with the Field Form module and be able to put the form fields in a table with several header

I've grouped the fields together, but they put each other underneath each other and i want some vertical raw.

How to check/set cookies with AJAX?

I am trying to make a simple alert message module. I want to use cookies to have the message to appear once per visitor.

I was able to achieve this easily enough in PHP, but apparently that's not the way you do it in D7 (or at least where I work). I need to use AJAX to achieve this.

I've searched for tutorials, but have found nothing I can use.

I know it's a broad question, but I am completely stuck. Would anyone know of a way I could go about this?

add filter to display only content type created by assigned role in my workbench (drupal 7)

Currently, in my workbench, every user sees something like this

Title  | web segment | Content Type | .... |

CT12 |      Manager   |CustomType   | ....

CT13 |        Seller      |CustomType | ....

CT14 |    Executive    |CustomType | ....

I want to create a filter so the users only can see the content created by their role; Sellers only see content created by sellers and so on. is this possible using only the drupal interface? Should I go deeper to modify code? Is this possible at all? thanks!

Views Send & Views Bulk Operations look bad together

Hi Drupalers, 

I´ve got the following problem that you can see here at this link: https://itxp-bills.de/sites/default/files/Question_Drupal.JPG

Is there a way that those two "tick boxes" from "Views Send" & "Views Bulk Operations module can be "melted" together? Or is there another module with which you can delete the content in a fast and easy manner. Or another good solution how to solve this problem?

Thank you very much

Security; filter_xss doesn't seem to work.

Situation: input text field for users, it's set to plain text, meant for holding a url.

It's printed in a template (to show as url) like this:

$url = filter_xss($user->field_user_website_url[LANGUAGE_NONE][0]['value']);

<?php if ($url): ?>
<li class="user-website"><a target="_blank" href="' . $url . '">website</a></li>

<?php endif; ?>

When using this as input:

Customize Error/Success Messages in Drupal 7

I need to customize the success/error message after submitting details. It needs to cover areas like contact form, forum create etc.,

Especially below message,

Your message has been sent.

Unable to send e-mail. Contact the site administrator if the problem persists.

Drupal Version : 7.57

Theme : Bootstrap

Also, Is there is any possibility to define e new style for above messages?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x