want to see if Drupal is right for me - need text in tables

Before I invest a lot of effort in learning Drupal, can someone confirm whether is it possible to insert text in tables or grids on in the body of a page? This table would simply have formatted text and images. I know it can be done in Joomla 1.6 which has a WYSIWYG text editor, is it possible in Drupal 7 - I would much prefer Drupal which otherwise appears ideal for what I need.
Steve

Searching specific fields from custom content

Salam,

I'm new to Drupal 7, and i think this section fits with the issue i'm facing while trying to use drupal7.

What i want to do is :
1- Create custom content : Car (Color, Constructor, Model) which are text fields; OK
2- Add Car Content to my drupal7; OK
for exemple : (Green, Mercedes, 2009); (Blue, Renault,2005)
3- Search by model, by color or by date as keyword ; Not OK; I got "Your search yielded no results" but after two days i got my results

Couple of newbie questions

I just started to use drupal 7 and I have a few questions that I want clearify about. All help are appreciated.

1) Is there a way to display the login panel on certain page only, instead of having it on every single page.
2) Is there a way to display selected image only from the server, for example I have 2 sections for image, time period and theme
some of images in these two sections will overlap, therefore I would like to upload one image bank and display the selected image only. I know there is a way with asp.net, but is there a way with drupal.

hook_menu() and wildcard auto-loader

Hi!

I'm building a module that fetches data from WebServices using cURL and then renders HTML using that data.

In the hook_menu implementation I've defined path(s) containing a "auto-loader" wildcard as stated on http://api.drupal.org/api/drupal/modules--system--system.api.php/functio...
For example, I'm doing something like this:

<?php
function stuff_menu() {
  $items['stuff/%stuff'] = array(
    'page callback' => 'stuff_page_view',
    'page arguments' => array(1),
  );
  return $items;
}
  
function stuff_load($name) {
  $stuff = stuff_api_load($name);
  if ($stuff === FALSE) {
    return FALSE;
  }
  
  return (object) $stuff;
}
?>

This seems to work great. What confusing me is that hook_load seems to be a hook in the node module or has something to do with the entity API.
I'm not making use of either of thoose in my module, still the name "stuff_load" confirms to the rules for being an implementation of hook_load?

Also, in "stuff_page_view" (menu callback) I want to do something similar to what the node module does (letting other modules hook in to modify the renderable array before being rendered).

My first thought was to do something like this:

<?php
function stuff_page_view($stuff) {
$stuff->content = array();

$stuff->content['description'] = array(
'#theme' => 'description',

views, attachments and titles, oh my!

In Drupal 6, using the views module combined with the upload module, I was able to create a node with an attachment, then create a block view which displayed links to the attachments using the Title of the node as the link name.
So, I would get a collection of links pointing to each of the nodes' attachments that looked like this:
< href='/files/attachment1.pdf'>Title</a>

Put another way, I could do this in the Fields area of the view:
Fields
Node: Title Title
Upload: Attached files

Teaser theming - remove text editor image but keep the thumbnail image (added with image field)

Hi,

I've added an image field to one of my content types so I can use it a thumbnail for the teaser.

The problem - the teaser still shows images which were added in the text editor, when they were added close to the top of the Body. This breaks the layout of the teaser and doesn't look good.

How can I configure it so it will keep the thumbnail image which is retrieved from the image field, but remove the image from the text editor?

Tweaking the CSS or stripping the img tag will remove both of the images, so isn't the solution.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x