This forum is for less technical discussions about the Drupal project, not for support questions.

Drupal for Different Screen Resolutions

Anyone have any tips on how I can implement am interface that will be nicely rendered whichever the client screen resolution is??

I was thinking of a code in JS redirecting the browser to the correct resolution page for the client browser screen..

How would I integrate this kind of functionality into drupal?? Using different page-template.tpl.php files for the different resolution templates??

Anyone ever implemented or come across a similar thing??
Any suggestions??

ciao

Restrict Content to Organic Group by Terms

Right now I run a site where users can post content, but depending on what terms they tag that content with, it becomes restricted to certain roles. I am using Taxonomy Access to accomplish this right now.

Categories displayed on front page?

I was wondering if it were possible to display a directory of categories on the frontpage.

I good example can be found at www.shareyourexpertise.com. I show all the cateroies in a directory format to which people may publish blogs.

Thanks!

HTML filter in 4.7. always strips css? Would like to allow some CSS for TinyMCE

I use TinyMCE as editor and Filtered HTML als default input format.

When adding images the caption is put (by TinyMCE) in a with a style attribute to set the width. This style attribute is filtered out by the 'Filtered HTML' HTML filter.

Is there any way to filter out css but preserve some values? (I understand that display:none should be filtered out to prevent invisible comment spam, etc).

Images

Why is Drupal adding a border to my images, even if I specify that the border should be 0 using HTML code?

Theming with Views and Images

I've got a View which is images from the image_views.patch_0.txt for the Image module. That's all working fine. But now I'd like to theme the output from my view. I can access all of the other fields that are output by the view, but I can't get an image.

Can anyone suggest the proper format for the image_display() that is needed to get an image to show up when derived from a view?

This is an export of the view:

$view = new stdClass();
$view->name = 'latest_images';
$view->description = 'latest six images';
$view->access = array (
);
$view->view_args_php = '';
$view->page = TRUE;
$view->page_title = 'Photos tagged with %1';
$view->page_header = '';
$view->page_header_format = '1';
$view->page_footer = '';
$view->page_footer_format = '1';
$view->page_empty = '';
$view->page_empty_format = '1';
$view->page_type = 'list';
$view->url = 'new/images';
$view->use_pager = TRUE;
$view->nodes_per_page = '6';
$view->sort = array (
array (
'tablename' => 'node',
'field' => 'created',
'sortorder' => 'DESC',
'options' => '',
),
);
$view->argument = array (
);
$view->field = array (
array (
'tablename' => 'image',
'field' => 'nid',
'label' => ' ',
'handler' => 'image_views_handler_image_img_link',
'options' => 'thumbnail',

Pages

Subscribe with RSS Subscribe to RSS - General discussion