For a certain content type, I want the author's profile to be rendered after the node content but before comments. My theme is a simple sub-theme of Bartik.
How do I do that? This is what I have now (doesn't work):
template.php
function dht_preprocess_node(&$variables) {
if ($variables['type'] == 'design') {
if ($variables['node']->uid > 1) { // 0=anon 1=admin
$variables['architect'] = user_load($variables['node']->uid);
}
}
}
In Views 3 I have a USER type of view. I have an exposed filter for a specific vocabularies terms used as a term referance in the main profile. So, these terms are related to users. When a user searches for other users associated with these terms, it outputs individual users multiple times. How can I reduce the User duplcates?
I admit to being quite confused by Drupal on this issue. In Wordpress it seems pretty straightforward; the user generally accesses a site via regular http & is only then re-directed to secure parts of the site as specified by the admin - ie: user login, account section & shopping cart [if applicable].
Hii.. there.. when i am using regular Expressions for validations in web form.... its working very well as i desired in my local system but in my Global server its not working..(the validation is working but form is not submitting because of RE, when i delete that validation it submits the form) Please Help me on this..
I already used this in version 6 it works well but now it is irritating me.........
Its very urgent for me........
Thanks in advance for any help.
I have a list of nodes. i want to select the top 10 from my nodes ( Creation date for example). and after this I want to order these 10 items by visits.
Maybe this question is based on lack of experience. I don’t know.
I have been investigating of how to move from Joomla to Drupal. And of course, since I am new in this world, it would be obvious to start with V7. But there are some things that puzzles me.
The most installed modules currently are Views, Token, Content Construction Kit (CCK) and Pathauto. And here is what puzzles me.