See attachment for what I'm referring to.

This may be an issue for a module, I'm not entirely certain.

So when I create an event, I get the little teaser calendar, which is really the creation date of the event/node. I would like for that date to be the date of the event, or not at all. I think its just going to confuse users to have the creation date there. Is there a toggle somewhere that I overlooked?

Thanks!

CommentFileSizeAuthor
created.png11.68 KBcausalloop
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

maggielanoue’s picture

I also need to know how to make this "teaser calendar" either today's date - or make it go away. It looks really bad right there on the top page. someone must know.

komal.savla’s picture

Hi,
The "teaser calendar" is getting generated from the following code in the node--teaser.tpl.php

<?php if ($display_submitted): ?>
  <div class="teaser-created">
    <div class="teaser-created-month">
       <?php print date('M',$node->created); ?>
    </div>
    <div class="teaser-created-day">
      <?php print date('d',$node->created); ?>
    </div>			
  </div>
<?php endif; ?>

First create the teaser template file for particular node type for which you want to remove the calender teaser
For this you need to copy the node--teaser.tpl.php file and name it as node--[node_type]--teaser.tpl.php (for eg: node--blog--teaser.tpl.php)
Then remove the above code from this new template file. This will remove the calender from the teaser view.

Thanks,
Komal

maggielanoue’s picture

Sorry - do not understand how to do this. I am a newbie. Here is the site. http://184.154.126.130/~greatera/ The little calendar that I want to make go away is there on the top page. Thanks much for filling in a few more details. Is this done from within drupal? or ftp and text edit? and if so, where is the file? and what should I rename it?

Deepika.chavan’s picture

Hi,
1. Create custom css file, for that add following code in 'marinelli.info'

stylesheets[all][] = local.css

2. In local.css file added following css to remove the "teaser calendar":

.teaser-created {
   display: none;
}

3. Please clear cached data (here- admin/config/development/performance).

Rgrds,

Deepika Chavan.

maggielanoue’s picture

Marinelli theme is installed and showing up as active on the test site I listed above. But it is a mystery to me where my greengeeks server placed this new theme. I can access my new drupal website thru ftp, and I know the core theme are in the main themes directory, and the contributed themes are supposed to be in the sites/all/themes directory. All that is that directory is a read me file saying that is the proper place for the contributed themes to go. So is there another place that I could look for marinelli theme? I figure I can look for the css file after I know where the theme is. and after i do find it, would I ftp the files you mention, back them up, then add the lines you show above in a text editor and ftp them back? any permissions things to be aware of? I greatly appreciate your help.

maggielanoue’s picture

I have solved one mystery on the location of the marinelli theme. My sites are on shared hosting - and I did not realized that the host name is the same for all ftp, but I must use the unique login and password for each site. Otherwise I am not looking at what I wanted to find. Ditto for cpanel. I see now the legacy file manager in my site's cpanel is where I should be doing my editing of php files and setting of permissions (as per this post http://drupal.org/node/1085274).

For this actual issue, at first I tried to create a new sub theme and use the suggestions of deepika's above in post #4, then I tried to update the actual marinelli.info file as he suggests. I did clear the cache too as he explained. I did all this thru ftp though, so that might have been the problem. (it didn't work) I could not see the permissions that way at all. I also started to do the suggestions in post #2 by komal but got sidetracked when I read in the marinelli handbook here http://drupal.org/node/1000284 that strongly suggests creating a marinelli subtheme for all changes. which I believe must be done thru cpanel and legacy file manager. So I expect if I put this all together correctly it will work. But one thing leads to 12 more things in Drupal and it is frustrating.

I have been making many notes to myself with links to details for months to learn Drupal. In the meantime, a friend suggested WordPress and I picked up the basics of that in about a week. I like having the editor built into the administration page. I am going to stop and regroup, get all my new knowledge linked for myself with logins, passwords etc for each site I am creating, so I can find things better, understand where I need to be to do each type of thing, then come back to this. Thank you all for your help. As I learn things I am going to try to explain them clearly with links for the benefit of newbies like myself.

diegoalejo15’s picture

where can I find the code for a panel or an article? I need to resize it´s window as well as the backround color but I can´t find it, I´m using marinelli theme and drupal 7, many thanks!