Early OpenPublish 1.7 Preview
As you may have noticed, we have been somewhat quiet during the last several days. It was so because we've been working long days, ramping up to the release of the much-anticipated OpenPublish 1.7 - the first OP version with an extensive Features support.
We are pleased to present to you an early preview of the 1.7 version. We really appreciate your participation in the group, and wanted to give you an exclusive early sneak-peek at what's coming + a chance for feedback.
Please keep in mind that it is just a preview, so there's no update instructions and there may be things still needing some ironing-out, though.
Thank you.
Groups:
Login or register to post comments

I'm wrapping up learning how
I'm wrapping up learning how to build modules -- still don't have a clue :P I was going to start rebuilding the site on the 1st of February. Should I wait until your done with 1.7 before I start?
I've been slow at helping you here. Do you still want the tutorial to this http://themes.myalbums.biz/content/upright50-free-theme on the front page of the site or have you been working on something else that might be better? I'd be happy to put it together in the next couple of days if it's still worth while for people at this point.
Marine job board with Drupal 7 at http://windwardjobs.com
When will OP 1.7 be released??
I will be doing a presentation on OP in Feb. at the Atlanta Drupal Users Group meeting. I'd LOVE to base it on 1.7. What's the rough estimate for 1.7 release?
And THANKS for the preview. Hopefully I can use it for the basis of my presentation.
Not sure, yet. Among other
Not sure, yet. Among other things, there're number of bugs in third-party modules that are currently fixed with patches, but that breaks module-level update for those modules and we are trying to work with contributors to get fixes into releases, instead. It's a slow process.
The preview release should be good enough for the presentation. We will try to keep posting new builds in this thread, as things get increasingly polished.
.............................................
http://agileapproach.com
http://twitter.com/inadarei
pretty interesting
it looks good, the 'kitchen sink' approach is good for seeing what it can do but i wish there was a packaging script + form or something for you to pick and choose the features you wanted before you downloaded the whole thing. it seems to me that it would be a pain to disable/remove things you don't want as is.
Follow me on twitter: @drupalninja
Not really. OP 1.7 is heavily
Not really. OP 1.7 is heavily Features-based and very modular. You can just disable a Feature and module, if you don't need/want it.
.............................................
http://agileapproach.com
http://twitter.com/inadarei
More OP 1.7 Feedback?
Has anyone else tried v1.7 that wants to give some feedback? There are lots of differences to this version (install profile, features, new functionality, etc.) so the feedback from this group is very helpful. Is it getting better? heading in the right direction, etc?
There are plans for more releases very soon so also a good chance to squash bugs and clean up things.
Jeff
There are some great ideas
There are some great ideas with the add content form, having the ability to create and add authors. The first thing I noticed is there is not an admin/build/blocks page which makes a little sense since it's redundant with the context module. For some reason the administration theme section at /openpublish/admin/themes is not creating an array of regions and is throwing this error:
* warning: array_map() [function.array-map]: Argument #2 should be an array in /home/thetrito/public_html/openpublish/modules/system/system.module on line 1015.* warning: array_keys() [function.array-keys]: The first argument should be an array in /home/thetrito/public_html/openpublish/includes/theme.inc on line 1771.
* warning: Invalid argument supplied for foreach() in /home/thetrito/public_html/openpublish/includes/theme.inc on line 1771.
template_preprocess_page() is passing 'slate' as the argument to this function:
function system_region_list($theme_key) {
static $list = array();
if (!array_key_exists($theme_key, $list)) {
$info = unserialize(db_result(db_query("SELECT info FROM {system} WHERE type = 'theme' AND name = '%s'", $theme_key)));
$list[$theme_key] = array_map('t', $info['regions']);
}
return $list[$theme_key];
}
there is no field with the name = 'slate' and the type = 'theme' in the database table 'system'.
Marine job board with Drupal 7 at http://windwardjobs.com
Yeah, Slate is causing a lot
Yeah, Slate is causing a lot of headache due to unorthodox implementation. It looks great, but it's definitely a trouble-maker.
Fortunately, the maintainer of the admin module has fixed the implementation in the next version (by separating theme from the module) and we will try to move to that shortly. We still need to do more testing to ascertain that the new version is stable.
.............................................
http://agileapproach.com
http://twitter.com/inadarei
There is now a database entry
There is now a database entry for Slate in the system table. I like I might have just overlooked it.
EDIT: Nope, every time I refresh /admin/themes the database toggles between being there or not.
Marine job board with Drupal 7 at http://windwardjobs.com
Error message
After an error-free (or warning-free) installation, when I went to the Features tab, I got the following error.
user warning: Duplicate entry 'sites/all/modules/admin/theme/slate.info' for key 'PRIMARY' query: INSERT INTO system (name, owner, info, type, filename, status, throttle, bootstrap) VALUES ('slate', 'themes/engines/phptemplate/phptemplate.engine', 'a:8:{s:7:\"regions\";a:5:{s:4:\"left\";s:12:\"Left sidebar\";s:5:\"right\";s:13:\"Right sidebar\";s:7:\"content\";s:7:\"Content\";s:6:\"header\";s:6:\"Header\";s:6:\"footer\";s:6:\"Footer\";}s:11:\"description\";s:0:\"\";s:8:\"features\";a:10:{i:0;s:20:\"comment_user_picture\";i:1;s:7:\"favicon\";i:2;s:7:\"mission\";i:3;s:4:\"logo\";i:4;s:4:\"name\";i:5;s:17:\"node_user_picture\";i:6;s:6:\"search\";i:7;s:6:\"slogan\";i:8;s:13:\"primary_links\";i:9;s:15:\"secondary_links\";}s:11:\"stylesheets\";a:1:{s:3:\"all\";a:1:{i:0;s:9:\"style.css\";}}s:7:\"scripts\";a:1:{i:0;s:9:\"script.js\";}s:10:\"screenshot\";s:14:\"screenshot.png\";s:3:\"php\";s:5:\"4.3.5\";s:4:\"name\";s:5:\"Slate\";}', 'theme', 'sites/all/modules/admin/theme/slate.info', 0, 0, 0) in /opt/lampp/htdocs/openpublish/sites/all/modules/admin/admin.module on line 594.I've installed OP1.7 locally with Xaamp Linux 1.7.1.
Php config:
max_execution_time = 600
max_input_time = 600
memory_limit = 92M
However, after I created some contents and visited the feature page, I found no errors.
sTattler.com
Yeah, that's a bug in Slate
Yeah, that's a bug in Slate theme implementation (the theme used for admin side). We tried to fix it but seems like the bug is resilient. We will probably just abandon it and move to Rubick.
Rubick looks very similar to Slate, but is implemented in much more standard, Drupal way and does not seem to carry some of the problems of Slate.
.............................................
http://agileapproach.com
http://twitter.com/inadarei
Comments about Author Content
I found the option to add "Author" to a node to be extremely useful. In OP 1.7, an author is also a registered user of the site, which to me a bit limiting. I would expect a more general term for author, say, "Sources". Sources are similar to author, but they could be anyone without being a registered user of the site.
IMO, the URL for author page should be with the username, not by the actual name. The reason is, the user might change him/her name (or screen name) and that will result in a broken link in search engines.
sTattler.com
Actually, one of the big
Actually, one of the big changes in OP 1.7 is complete separation of the notion of "Author" from Drupal user. Author is a node type now, which means: you can have several per a content item, there does not have to be a corresponding Drupal user, URL of the author page can be anything (you can change it via Path attribute) etc.
.............................................
http://agileapproach.com
http://twitter.com/inadarei
Question:
Are new releases going to require full installs?
Or can the be updated
This is my biggest question
This is my biggest question as well at this point. I'm currently stuck with one production installation running 1.5 and really no way to move to 1.7 without a lot of node export/import and merging of theme/template customizations. Been holding off until I know the effort will be worth it by being able to do simple OP upgrades
Some definitive information would be great. Thanks.
My god, how about fix OP
Before going and adding all kinds of stuff.
We will try to minimize pain
We will try to minimize pain of upgrade from 1.6 to 1.7, but the gap with 1.5 is so significant that realistically, you will probably need to install new version and migrate data + changes you've made.
Sorry, we don't mean to create any pain but we either need to innovate or provide full backwards compatibility - the two, unfortunately get into each other's way. While OpenPublish is still young, we have to make decisions in favor of innovation so we can move forward and not stall.
.............................................
http://agileapproach.com
http://twitter.com/inadarei
Thanks. That is what I
Thanks. That is what I thought. Going through a node export by content type on the OP1.5 site and then a node import into OP1.7 for now. Luckily no external users to deal with and comments are limited.
So would you say that y'all are committed to upgrade paths from this point forward?
Thanks again. OP is a great installation profile if we can just keep an upgrade path.
i get that same error
i get that same error
Follow me on twitter: @drupalninja
I see a dev version of flickr
I see a dev version of flickr which is interesting, where is that being used?
Follow me on twitter: @drupalninja
I believe it's part of the
I believe it's part of the More Like This functionality: http://drupal.org/project/morelikethis
.............................................
http://agileapproach.com
http://twitter.com/inadarei
is the recommended reading
is the recommended reading block also powered by opencalais?
Follow me on twitter: @drupalninja
Just started playing with it, but...
I'm using the Acquia Stack installer which worked fine for me with 1.6 and during install I received a ton of errors, but the install still completed. I am including some of the errors I am coming across. For instance, the following error messages (this is only a portion of the LOOOONG list of warnings) show up on the modules configuration page:
* user warning: Table 'op17.noderelationships_default_settings' doesn't exist query: CREATE TEMPORARY TABLE noderelationships_default_settings (type_nameVARCHAR(32) NOT NULL DEFAULT '',relation_typeVARCHAR(10) NOT NULL DEFAULT '',related_typeVARCHAR(32) NOT NULL DEFAULT '',field_nameVARCHAR(32) NOT NULL DEFAULT '',settingsMEDIUMTEXT NOT NULL,export_keyVARCHAR(64) NOT NULL DEFAULT '', PRIMARY KEY (type_name, relation_type, related_type, field_name), INDEX type_field_relation (type_name, field_name, relation_type), INDEX related_field_relation (related_type, field_name, relation_type), INDEX field_name (field_name) ) /*!40100 DEFAULT CHARACTER SET UTF8 */ in /Users/joechoo/Sites/openpublish_1-7/sites/all/modules/noderelationships/noderelationships.inc on line 74.* user warning: Table 'op17.noderelationships_default_settings' doesn't exist query: INSERT INTO noderelationships_default_settings (type_name, relation_type, related_type, field_name, settings, export_key) VALUES ('article', 'noderef', '', 'field_related_content', 'a:2:{s:25:\"search_and_reference_view\";s:35:\"noderelationships_noderef:page_grid\";s:20:\"create_and_reference\";s:21:\"field_related_content\";}', 'article__field_related_content') in /Users/joechoo/Sites/openpublish_1-7/includes/common.inc on line 3467.
Just as preliminary praise... I did attempt to create an article and really like the additions. Scheduling, multiple authors, additional media are all great additions to the article node!
irakli mentioned that the upgrade will be documented for those of us who are going from 1.6. I'm just worried that I'll be pulling my hair out trying to keep my customizations intact.
Upgrading from 1.6 to 1.7
I made an attempt to upgrade my site from 1.6 to 1.7 (in development server). The transition was not very smooth. Most importantly, the "Author" option is not functioning as it should be. Here is what I did
After doing this, the site was visible without any error or anything. However, the author and feature modules were not activated. I enabled them from modules page.
I tried to create an Author. It created an author but the author URL showed a blank page.
I created a blog and assigned that new author. The blog was created but does not show the author on front page. On node view, author name shows, but the "More about the author" is not showing at the bottom.
I just gave it a shot. But I understand that this is not the right way of an upgrade.
The developers would like to provide us with the functioning upgrade path from OP 1.6 to OP 1.7 (as mentioned in http://groups.drupal.org/node/47116#comment-122956 )
sTattler.com
Good changes in 1.7
I did an update to 1.7 over the weekend, by just uploading it and letting it run...and that seemed to work pretty well. I went back and did a clean install anyway so I could see what was really new, and not something I'd added on.
Is there a list of new features somewhere?
I'd already put in scheduling on my 1.6, so I was pleased to see it here as well. The author field is great, as it was much needed.
I had no trouble creating an "author" but don't seem to be able to select it from the search option that's available when you're creating an article. I may be missing something.
Another oddity is that I'm getting duplicate listings of articles under the various main nav tab views. Each article is showing up twice, though it only occurs once. I thought running cron might cure it, but no dice.
So far 1.7 looks like a real step forward.
Ernest
more like this flickr
Where do I go to change the terms that more like this flickr is pulling from? And the size of the images as well, since they're dropping into a 300px column?
Ernest
Go to
Go to siteurl/admin/settings/morelikethis/general
sTattler.com
Doh.
Doh. Of course. I added "admin" to the admin menu because it's easier for me to find things if they're all together. "Scan" is still the most basic form or navigation.
Ernest
Splitting article views by feed source
I would like to create individual views for each of the feeds I have so that I can put the views into different blocks / contexts. I notice in an individual article that at the bottom, the name of the feed source and a link to the feed node is given. When I am in Views looking at the "articles" view and the "Homepage Block", I cannot figure out how to use Filters to identify a specific feed.
I can see that this last line with the feed link is provided by the function called theme_links(), but I believe my area of focus is not how the function works, but how to use Views. If my thinking is correct, the article node must be storing the feed information, so somehow I am believing there must be a way to get access to that node information through Views.
Any ideas?
Cheers,
Neil
swftools error message on first visit to site
On installation success page, I get the message: Installation successful you can now visit your site.
Upon visiting site for the first time I get this message:
warning: file_get_contents(sites/all/modules/swftools/shared/swfobject2/swfobject.js) [function.file-get-contents]: failed to open stream: No such file or directory in /Applications/MAMP/htdocs/openpub170/includes/locale.inc on line 1689.
I ignore the above message. Next time I visit the home page the error message does not appear.
Installation of OpenPublish 1.7 on MacOSX 10.4.11 running MAMP 1.8.4
Apture
When I go to edit content, I am presented with the Apture "Create Account" page, with no hints about what Apture is and whether I really need it or want it. (As long as it uses popups, I personally do not want it on my site.)
I would suggest you add some basic info about Apture on a "getting started page" so folks would know why this is popping up and how to disable Apture by disabling the module.
Apture is a great service, just not necessarily appropriate for every site.
Agree with this
It can be overwhelming when you first install it, if there's any way to make this optional and off by default it would help.
The LA Times is using Apture
The LA Times is using Apture to manage all their images. I really wish I knew how they used and integrated it into their online news service. While I'm currently working on OpenPublish 1.7 I think it's great being able to upload and have the images hosted on another server which will eliminate on more problem of moving all the articles to the new database. Also, since the images are hosted on their servers it doesn't bother me too much when people hot link our photos.
I'm having a little difficulty with getting Youtube embedded to work with apture and I have to use the RTE for the flash.
Marine job board with Drupal 7 at http://windwardjobs.com
Articles vs. Feed Items
Is there any reason I should choose Article vs. Feed Item when setting up an automatic feed? In glancing through the two content types, they seem to do the same thing (process a feed into nodes.)
I think this version 1.7 is a great improvement, by the way and I really like the direction you're going in with OpenPublish. Thanks for making it available.
Twitter Content Type Removed from version 1.7
Hi, I was just wondering why the Twitter Item Content Type was removed from v 1.7. I think I'm going to recreate it in my new site. Is it just a clone of the Feed Item? Is there a better way to get Twitter feeds into their own space on the home page?