Newbie Questions

Events happening in the community are now at Drupal community events on www.drupal.org.
irb1's picture

Hello,

I just downloaded and installed OpenPublish today and have started playing around with it. I have a few questions:

1) How do I get rid of the default OpenPublish images? For example, at the very top of the OpenPublish default theme there is an image that says "A smarter solution for today's publishers' and below it there is another image that says 'OpenPublish Journal'
2) How can I configure the "Our tweets" to integrate into my twitter account and not the OpenPublish twitter account?

Also, if you have any good advice for a new user of OpenPublish or any sites that give out advice for using OpenPublish (besides their own site) please let me know!

TIA

Comments

TWO ANSWERS TO YOUR Question... actually 2.5..

irishgringo's picture

Answer number 1: If you goto BLOCKs, you wont see any blocks deployed. That is becuase OP uses CONTEXT ( /admin/build/context)
In the OPEN PUBLISH > GENERAL section click Override
There you will find TOP BANNER ADD in the HEADER SECTION. From there you can delete the banner.

ANSWER number 2:
In BLOCKS section, click CONFIGURE for TOP BANNER ADD. You will see some HTML that hardlinks to the image ( that you want to get rid of ) and the URL of OpenPublish.
Change the HTML to anything you want there. Including changint he banner and the URL link. You will be able to change the banner, but its still going to be up there.

ANSWER number 2.5: follow the link in the Theme/themename/banners and you can change the Image. I did it because I was doing a multi-site and wanted to change all of the pictures at the same time. But not so clever as I still had to change the URL's.

BEST answer: before you do an installation, modify the INSTALLATION PROFILE by changing the URL's of all the default banners. Which is what I will do next time when I do a multisite installation. You can also change the default Tax terms.

good luck

twitter accounts...

irishgringo's picture

kind of the same answer as number 1 above.

Twitter accounts

irb1's picture

Vince,

For Question #1 I was able to do everything you stated. Thank you!

However, for integrating my own twitter account I'm not sure I follow your suggestion. I researched on the open publish website and I found this article however since I am using version 2.0 it says not to follow the advice: http://openpublishapp.com/doc/consuming-incoming-feeds-eg-twitter

So do you have any other advice for version 2.0 in order for me to integrate my twitter feed?

Thanks again!

Twitter accounts

irb1's picture

Never mind, I figured it out. I just modified the page-front.tpl file and substituted my account for the openpublish account and it's working fine. Hopefully anyone else that needs to figure this out will read this in the future :>)

twitter account

daveslc's picture

To modify the twitter pull, you need to modify the .tpl file?

That works

daveslc's picture

The file is here: openpublish/sites/all/themes/openpublish_theme/page/page-front.tpl.php

This really should be a 'block' where you can configure the twitter feed via a parameter and not have to hard code it into the theme.

Couldn't you just take this code:

<?php
print twitter_pull_render ('@MyTwitterName', t('Our Tweets'), 3, 'op
_homepage_tweets'
);
?>

<?php
print $right;
?>

And plug it in somewhere?

I don't know how to do that yet, but that seems like the obvious way to do this rather than having this hard coded.

OpenPublish

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week