[Solved]How to filter in Views using an added user filed value from a currently logged in User

I am trying to create a website with user hierarchy.

I have users belonging to different cities called location. I have added more fields to the user registration (config->account settings) and one of them is a "location field"

Now in Views, I need to list the rest of the users belonging to that city. I have selected a views with users. How to extract the city of the logged in user and apply that in views so that only users from that city will be displayed!

Appreciate the helps.

Wysiwyg tinymce for IOS

Hi team
I am using iPhone iOS 5.01 and on my Drupal site when I try to enter text in filtered or full HTML I do not get the options of bold italic and do on to customize the text, but on this support forum I am able to view it properly
Any suggestion

Block theming

I have added content to my main page but it is not looking good
I want to add borders to all blocks in a content region
Please tell me the code required to do this
Also tell me which tpl file to edit

How to display node ID on a page?

Hi all,

I've browsed the forums endlessly in search of a solution to display a node ID inside a node. None of the posted solutions worked for me. I'm using Drupal 7. I have the PHP module enabled and have created a custom field but cannot get this to work. Please help!

I want to remove ul and li tags from theme menu links

Hii,
i am creating a theme for Drupal 7 but its in table format so for main menu link i want to have it in just anchor tags not inside ul and li tags.
I want to create like this

Why is D7.10 printing a tabs class for anonymous user?

I'm theming Drupal 7.10 using Bartik as a basis. When logged out, I'm seeing that an empty tabs div
<div class="tabs"></div>
is being created even though in the page.tpl.php, it has

      <?php if ($tabs): ?>
        <div class="tabs">
          <?php print render($tabs); ?>
        </div>
      <?php endif; ?>

This is causing a layout issue because .tabs has margin-bottom of 20px. Any thoughts on why this is happening?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x