Functionality

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
pkcho's picture

Created a new content type based on the Article type, but the image is not displaying

I was hoping that someone might catch something that I missed.

I created a new content type for OP called people_places based off of the article content type. I basically employed some of the same cck fields used the article type (author, main image, thumbnail, etc...), using the "existing" cck fields.

I then duplicated the node-article.tpl.php template file and renamed it, node-people_places.tpl.php. I flushed my cache. I even attempted to clear the theme registry (by going to the themes page and saving).

Read more
dakke's picture

Understanding OpenPublish

Hi all,

I need a few clarifications to fully understand OpenPublish:
- Why is contexts used in displaying the full articles? It appears to be used to hook blocks to it, just wondering why Views is not used here. Asking for I might be overlooking something.
- Why are only a few fields used from 'Profiles' and all the rest added to the 'Author' content type? Why not group it all in 'Author' content type? Are there any advantages doing it the current way?

Read more
subu.purohit's picture

Compare date/time with current time in customized view template in drupal

Hi,

I have a field called field_streaming_date (datetime) under blog content type. I created a blog listing view and selected title,body and streaming date under view fields and override it with views-view-fields--blog.tpl.php. Now I have to display some text according to streaming_date field:

If streaming date < current date/time : print "streamed";
If streaming date == current date/time : print "streaming";
If streaming date > current date/time : print "not streamed";

I converted current time in timestamp using : <?= strtotime(date('y-m-d H:i:s'))?>

Read more
Dibs's picture

Deleted Credits Block by Mistake

Hi

On a recent'ish install, in admin/build/block - I deleted the Credits Block and now I see a "N\A" in the footer. I can get around this by removing,

<?php
print $footer_message . $footer
?>

at the bottom of my sub-theme's copy of page-footer.tpl.php, but would like to know why this is occurring. I did add the Block back in and assign it to the footer region. The newly added block does show up but so does the N\A. Any thoughts?

Many Thanks.

Dibs

Read more
want2boutside's picture

Seeking OpenPublish themes or re-sizing advice. Default theme is too big.

Anyone else have this problem? The default OpenPublish theme is too big. Very little content is visible above the fold.

Only 1 headline and 1 blog entry are visible when the page loads. My audience needs to see the latest news immediately rather than having to scroll as soon as they land on the page. And I need more than just the header ad zone visible.

So I want to ask:
- Does anyone have other themes for OpenPublish, or any Drupal themes for news sites? Do you know where I might find one?

Alternatively:
- Is there a way to reduce the height of the elements in the top part of default theme display without having to develop a whole new theme?

Thanks.

Read more
chrysonline's picture

New build OP 2.3 - 441 : what's new ?

Hi,

what is the main diff. between the new OP 2.3 build 441 (2011) and OP 2.3 build 375 (end of 2010) ?

Any release notes somewhere ?

Thks ;-)

Read more

Desktop/browser editors - Drupal WYSIWYG & specific modules

.
Started with this post: Add editor: XStandard (+ other desktop/browser side plug-ins?). Add info & edit to get more structured. Researching for solutions eating lesser server resources, so a desktop/browser side plug-in might be the solution. I haven't seen another like (the quality of) XStandard. But then I found many other browser/desktop editors:

Read more
rasoolakhter's picture

publishing time not creation time on page! help

hi to all

op is really my favorite i must say, i want only one thing to know that in template frontend ad in article section i need only publish time to show not creation time because my editor edited story and put story for publish on certain time but when it published it shows creation time, but for archive and my need is, that it should show published time not creation time. Please help !

regards

Read more
dale386's picture

Articles by This Author on Author Page Broken at Install

I am having issues getting articles to display on an author's page. When I test the view using the author's nid, everything shows up fine in the preview. When I actually access an author's page, nothing shows up aside from the author's name and information. In the Pages "Author Page" variant, under "Content," I get the error message "Deleted/missing content type views / Missing content type / This pane's content type is either missing or has been deleted. This pane will not render."

I tried installing a "clean" version of OP, and it looks like the problem starts out of the box. Any ideas?

Read more
subu.purohit's picture

Image gallery for content types

Hi all,

Does anyone know about how to implement this functionality:

I have three content type 1: movie, 2: artist and 3: event and I have to create image galleries for all three content types.

The way I know is :
I created three content types again 1: moviegallery for movie, 2: artistgallery for artist and 3: eventgallery for event.
And I put a node reference field for each gallery content type ie. movie for moviegallery, artist for artistgallery and event for eventgallery.

Read more
Subscribe with RSS Syndicate content