Posted by irb1 on May 6, 2010 at 2:28am
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..
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...
kind of the same answer as number 1 above.
Twitter accounts
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
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
To modify the twitter pull, you need to modify the .tpl file?
That works
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:
<?phpprint twitter_pull_render ('@MyTwitterName', t('Our Tweets'), 3, 'op
_homepage_tweets');
?>
<?phpprint $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.