Custom title before node title

Hello,

I want to add my title before node title. I tried to add it in node.php and it works. But it shows that title on every page: blog, forum etc.

Can i write my title just for one content type?

Thank you!

I need a php code that returns TRUE if the current viewed page is a full-node page (not frontpage, view, add comment page etc..)

I need that in the context of custom CSS injection based on node type. I have discovered that this code works for that goal:

function acquia_marina_preprocess_node(&$variables) {
  if (!empty($variables['node'])) {{
      $nodesort = $variables['node']->type;
}

switch ($nodesort) {
**CASES HERE**
}
}
}

However, I need to make sure that this code will be executed only if the currently viewed page is a full-node page (not a view or a front-page with teasers, for instance).

Module to search database items according to users query, and display results

Hi there,

Sorry for the horribly vague title! I have an idea for a site where the user needs to enter their search variables, hit enter, and the page displays the database items that match that description/have the 'tags' that match the search criteria. Probably a pretty simple thing to do, except that I'm not sure where to start. Is there a module that could assist me with this? I'm keen to read and learn how to do this, I'm just not sure where to start and what to search for, so a little guidance would be appreciated.

Replacing current Drupal site with new Drupal site

Hi,

I started and run a gaming website that was built on Drupal 7. I am currently rebuilding the site from scratch on a subdomain, and plan to replace the current site with the new site thats sitting on the subdomain.

My question is what folders and files need to be transferred in order for my main domain to show the new drupal site? Basically, do I just drop in and replace the 'Sites' folder from the subdomain into public_html and now it'll be the new site?

Any advice or pointers for this would be greatly appreciated, thanks!

Module as page

Hey,

Can anyone tell me how to make a module, which can be loaded as page (not as block), and have his own menu item?

Thanks in advance,

mr32

using the rtl css

Hi.
Ive installed and configured drupal and i understand that my currently used them have rtl support because it contains css files with "-rtl".
But i didnt see anywhere how drupal uses that css. when i view the source html of a page i see only the default css ("style.css"). What should i do to tell drupal to use the "style-rtl.css".

Thanks.

Haim N.
http://pitput.com

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x