Hi. Thanks for the theme. However, my RSS button has disappeared from the above the header area. It used to be there, and I have no idea why it would disappear. I just re-installed 6.x-1.8. Can you help please? You can check it out at http://SavilleIZation.com

Thanks, Dan.

Jeremy

Comments

danpros’s picture

Hi Jeremy,

This is could be because you are using Views, and you don't set the Feed under your custom Views display.

I check the Danland page-front.tpl.php and the RSS feed is there

	<div id="authorize">
      <ul><?php global $user; if ($user->uid != 0) { print '<li class="first">' .t('Logged in as&nbsp;'). '<a href="' .url('user/'.$user->uid). '">' .$user->name. '</a></li>'; print '<li><a href="' .url('logout'). '">' .t('Logout'). '</a></li>'; } else { print '<li class="first"><a href="' .url('user'). '">' .t('Login'). '</a></li>'; print '<li><a href="' .url('user/register'). '">' .t('Register'). '</a></li>'; } ?></ul>
	  <?php print $feed_icons; ?> <!-- this will display the RSS feed if any -->
  </div>

So the problems is your Views settings, maybe you must add the feed there. Choose "Feed" under the list and "Add display".

Hope that helps, you can find tutorial to set the RSS by your self

Anyway I like the content of your website, great works! :)

Dan

CinemaSaville’s picture

Hi Dan,

Thanks for the compliment on the site. Working very hard to make it work out. Let your peeps in Indonesia know about the story. You know how it is to build a dream, and I'm working on entertaining the world with serious comedy.
As far as the RSS and Views goes, I couldn't figure it out, so I guess I'll just put a syndicate block on the Right Side Bar. If you can figure this out you might be able to help future lovers of Danland who want to keep the RSS feed link up in the header with a view or 2. Honestly I'm a filmmaker turned site master, so it's hard for me to wrap my mind around the ultra technical programming stuff sometimes. I'm just doing this to make movies and get them out to the world.

Thanks for the great work. Keep it up my friend. Great response time too. You epitomize a good Drupaler.

danpros’s picture

Hopefully, your dreams can soon become a reality, you've done what you should do well. Keep trying and praying.

I will try to find out about that RSS, I am also still in the learning stages about Drupal :)

Thanks

danpros’s picture

Status: Closed (fixed) » Active

Hello, this is my custom frontpage Views for one of my website. I don't want a post in my frontpage except via block, this can be done by configuring Filters > Node: Type, and I think you do the same.

$view = new view;
$view->name = 'frontpage';
$view->description = 'Emulates the default Drupal front page; you may set the default home page path to this view to make it your front page.';
$view->tag = 'default';
$view->view_php = '';
$view->base_table = 'node';
$view->is_cacheable = FALSE;
$view->api_version = 2;
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
$handler = $view->new_display('default', 'Defaults', 'default');
$handler->override_option('sorts', array(
  'sticky' => array(
    'id' => 'sticky',
    'table' => 'node',
    'field' => 'sticky',
    'order' => 'DESC',
  ),
  'created' => array(
    'id' => 'created',
    'table' => 'node',
    'field' => 'created',
    'order' => 'DESC',
    'relationship' => 'none',
    'granularity' => 'second',
  ),
));
$handler->override_option('filters', array(
  'status' => array(
    'id' => 'status',
    'table' => 'node',
    'field' => 'status',
    'operator' => '=',
    'value' => '1',
    'group' => 0,
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
  ),
  'type' => array(
    'operator' => 'not in',
    'value' => array(
      'blog' => 'blog',
      'poll' => 'poll',
      'forum' => 'forum',
      'book' => 'book',
      'page' => 'page',
      'story' => 'story',
    ),
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'type',
    'table' => 'node',
    'field' => 'type',
    'relationship' => 'none',
  ),
));
$handler->override_option('access', array(
  'type' => 'none',
  'role' => array(),
  'perm' => '',
));
$handler->override_option('cache', array(
  'type' => 'none',
));
$handler->override_option('header_format', '1');
$handler->override_option('footer_format', '1');
$handler->override_option('empty_format', '1');
$handler->override_option('use_pager', '1');
$handler->override_option('row_plugin', 'node');
$handler->override_option('row_options', array(
  'teaser' => 1,
  'links' => 1,
));
$handler = $view->new_display('page', 'Page', 'page');
$handler->override_option('path', 'frontpage');
$handler->override_option('menu', array(
  'type' => 'none',
  'title' => '',
  'description' => '',
  'weight' => 0,
  'name' => 'navigation',
));
$handler->override_option('tab_options', array(
  'type' => 'none',
  'title' => '',
  'description' => '',
  'weight' => 0,
));
$handler = $view->new_display('feed', 'Feed', 'feed');
$handler->override_option('filters', array(
  'status' => array(
    'id' => 'status',
    'table' => 'node',
    'field' => 'status',
    'operator' => '=',
    'value' => '1',
    'group' => 0,
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
  ),
  'type' => array(
    'operator' => 'in',
    'value' => array(
      'blog' => 'blog',
      'poll' => 'poll',
      'forum' => 'forum',
      'book' => 'book',
      'story' => 'story',
    ),
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'type',
    'table' => 'node',
    'field' => 'type',
    'relationship' => 'none',
    'override' => array(
      'button' => 'Use default',
    ),
  ),
));
$handler->override_option('title', 'Front page feed');
$handler->override_option('style_plugin', 'rss');
$handler->override_option('style_options', array(
  'mission_description' => 1,
  'description' => '',
));
$handler->override_option('row_plugin', 'node_rss');
$handler->override_option('row_options', array(
  'item_length' => 'default',
));
$handler->override_option('path', 'rss.xml');
$handler->override_option('menu', array(
  'type' => 'none',
  'title' => '',
  'description' => '',
  'weight' => 0,
  'name' => 'navigation',
));
$handler->override_option('tab_options', array(
  'type' => 'none',
  'title' => '',
  'description' => '',
  'weight' => 0,
));
$handler->override_option('displays', array(
  'default' => 'default',
  'page' => 'page',
));
$handler->override_option('sitename_title', '1');

If you already enabled the default frontpage Views, please disabled it first. Go to Views > Import. Leave blank for name, above is the code, and "Save", set this custom frontpage as your default frontpage (under site information).

Hope that help,

Dan

danpros’s picture

Status: Active » Fixed

I think that resolved the problems.

danpros’s picture

Status: Fixed » Closed (fixed)

Closed.

mirkochip’s picture

Status: Active » Closed (fixed)

Hi Dan, thank you for your great work about this very nice theme.

So I have read this post but I have still a little problem with the RSS icon. I don't use customable views and I am not able to display the RSS icon on top into the page, except in the page called:"aggregator feeds", in this case the RSS icon appear!!!

I have tried to install also the Views module (isn't included by default), but without success!

Have you any ideas to suggest me? Thank you..!!

Bye ;)

danpros’s picture

Hi, thanks.

Did you promoted the content to frontpage? The front page RSS feed will appear if there is content in frontpage.

Dan,

mirkochip’s picture

Category: support » feature
Priority: Normal » Minor

Hi Dan :)

Thank you for all, now it work fine ;)

Bye!