OK in a desperate attempt to get a site live in the absence of a released Flexinode, I put CCK on the site. (Flexinode is not even listed for 4.7 and CCK is listed but with dire warnings - but I had to choose SOMETHING! The client has been screaming for the site and Drupal has been in version-limbo for months).
So CCK is installed and activated HOWEVER, flexinode is there but not activated.
All seemed OK, after stumbling around for half a day I found the secret "Add content type" tab and created my content type. It seemed to be CCK because there were specialized field types.
I added my first content and noticed that the title was redundant since there was a "name" field is tacked on that I hadn't asked for. I also noticed something very weird: the node address had "flexinode-1" in it.
I went back to edit the content type and there is no more edit tab. The node that I had created was type "flexinode"! (Remember: Content module and all it's helper modules are enabled, flexinode is not).
So I figured that there is some sort of conflict between cck and flexinode, and actually DELETED flexinode.
NOW the add content tab is broken and the menu entrés (it is a restaurant site , www.quazines.com) vanished!
Comments
you had backups right
you had backups right ?
marcel
http://01ftp.com
Just spent 72 hours entering site
Of course I have backups of the site template and modules, but the content is in the database. There is no way to back-up or even move the content that I have found (other than a total site snapshot - see http://drupal.org/node/63943 ). That doesn't do you any good if you want to just restore the site data.
I empathise with your
I empathise with your situation, but it is very strange to say that you couldn't make a database backup. If you had one, you could have restored the site in less than two minutes- I have been saved from at least three or four such disasters because I made backups of both the install files and the db.
You can install dba module (not sure if it is 4.7 yet) and set a cron run to make and email you db backups every x hours. Alternatively, you can do it manually (both files and db) using the command line- the specific commands are in the lullabot drupal upgrade video.
Edit: Oops, how did I end up replying to an old post?!!
CVS flexinode is pretty solid
I've tried both CCK and flexinode on the same system and also found the results pretty confusing, especially with regard to the tabs.
IMO, cvs flexinode is pretty solid. It's in use on production sites.
As of today, Flexinode is
As of today, Flexinode is not on 4.7 yet. So i'm sticking with 4.6 for now.
marcel
http://businessletters.com
http://www.bigvertiser.com
CVS works
The CVS version works just fine.
Michelle
CVS is on its way to become 4.7
.. I am trough with most of the bugs and issues. The leftover issues are mostly for fields, unimportant fields. But I need your input on what are important fields.
That said: Flexinode in CVS is more stable then the one released in 4.7. A small story: Everyone could, in the past, make a release for any module. Flexinode was released for 4.7, eventhough it was not stable. It is easy to say somethigng is stable. It is much harder to make something stable.
I am working on the latter. But I really need some real world data, so that I can doe the final step: test the upgrade from 4.6 to 4.7. Without that test-data I cannot release a stable 4.7.
But please, I beg you, try CVS flexniode on 437 and submit issues about problems you encountered.
Bèr
---
Professional | Personal
I'm in the process of
I'm in the process of upgrading a site (4.6.6) using flexinode to cck (4.7). I have been reviewing several approaches, the following one is the one I seem more likely to work:
People have been working lately on node_import cvs version (http://drupal.org/node/4840/release) and now have support to import some cck fields, you might find bugs or depending on the complexity of your flexinode nodes this might be impossible using this approach, so if you try this use a special test installation.
--
Webmaster Resources | Canadian Directory
Thanks for the tip
I will look into it. If I can get CCK working it would be less work to just type in the data. But what I am trying to avoid is rebuilding the entire site from scratch yet again.
I just finished copying the entire site, by hand, from the dev site to the production site and am getting tired of it. This is like the old days where you had to re-type a document over and over again when you make revisions.
I will look into it.
Can't get CCK working
If I could uninstall and re-install CCK maybe I can get it to work, but it doesn't have any option to create content. Of course if anyone can direct me to ANY SCRAP of documentation on how to actually USE CCK, I would be eternally grateful!
How does Drupal know if a module is installed? If I can make it think CCK is not installed maybe I can fix it.
CCK is tricky, instead of
CCK is tricky, instead of enabling one module you need to enable a handful of them created by cck, they don't have the word cck on them, instead they have the phrase content module, please read the file readme.txt for more info.
--
Webmaster Resources | Canadian Directory
have it working...
I have it working now. Thanks all for the help.
The problem may be that location of the menu is not in any documentation. It may also be that CCK is not compatible with the administration module since it adds content from a different menu point than flexinode, or it may just be that in all my hunting around the menus I didn't stumble upon the menu item.
Remember that flexinode activated eventhough it was disabled. It adds a tab to Administer->content that reads "add content", while CCK adds a MENU ITEM under Administer->content that reads "add content".
Both of those are non-intuitive since by Drupal standards there should be an item under Administer->Settings->CCK or administer->Settings->flexinode
I have both CCK and Flexinode installed
Here is the non-intuitive part, as far as I'm concerned (when you have both Flexinode and CCK installed):
The flexinode list of types and all its customization of fields is found under the admin->content tab.
CCK, on the otherhand, puts its "add content type" tab in the admin->content area, and also a listing of fields, but if you want to list your CCK content types, you must go all the way down to admin->settings->content-types. This area lists all of your content types: flexinodes, core types, and CCK types. I'm not sure if maybe there is a conflict in the menu sytem between flexinode and CCK, as it seems that the CCK types should also be found under the admin-> content tab (list CCK types, or something like that). As it stands, it seems that there is no way to edit exiting CCK types from this menu system while flexinode is also installed. You can add new CCK's or configure existing CCK's, but you cannot edit the fields of exisitng CCK's. Odd-- this must be a conflict between the two modules. It should probably be resolved so that early adopters of CCK can more easily migrate from flexinode.
Other than this, both modules seem to coexist peacefully together. Are there any known conflicts here? Or is this just a matter of the menu system for CCK not being completely ironed out?
Thanks for any answers! I'll file a bug report with the CCK project regarding this issue.
The problem that I noticed...
(note that his was a while ago now) I noticed that although I had Flexnode and CCK installed, Flexinode was not enabled. However, Flexinode ignored the fact that it was not enabled.
Since there is no step-by-step documentation and you just have to stumble around the menus to figure out how modules work, I just figured CCK works like Flexinode with enhancements.
Nope.
When I removed the Flexinode module (it had never been enabled anyway) all my custom content went away.
Two workarounds for now
There is still a way to edit your CCK fields with flexinode installed, but it's kind of annoying. You can navigate directly to the URL used to edit CCK fields, which looks like this (if, say, your CCK type is called 'event'): http://example.com/admin/node/types/content-event/fields. (You can find out what the URL for your CCK type will be by visiting example.com/node/add & copying the link location for the content-type in question.) /admin/node/types/content-event will also work, giving you general config options for the type.
There's another, slightly less annoying method that works for me, too: if I disable flexinode at example.com/modules, then navigate to admin/node/types, I see all my CCK types listed, which I can edit at will. I make all my changes to these nodes with flexi disabled, then re-enable it at example.com/modules when I'm finished, and everything seems to work out fine.
Hope these help until this issue gets sorted out!
disable
to disable a module (or checked it is disabled), look in the system table
I think I know what happened. something similar happened to me. You somehow created the nodes as flexinodes. when you disable flexinode, they disappear. looks like you'll have to migrate them. (or enter from scratch.) I would think a restaurant does not have so many pages.
This problem no longer exists
The problem that I described in this thread no longer exists. Now Flexinode honors the fact that it may not be enabled.
Since there is no detailed docmentation that I can find on how either module is suppused to work, you just have to install it and tinker.
The problem still exists that neither Flexinode nor CCK is fully functional.
For example:
At this time neither module allows you to select an image and that is critical to another site that I was supposed to deliver 4 days ago.
Flexinode image gallery select is broken, and CCK select node is broken (actually select anything is broken).
Writing a custom module can't be THAT much harder that trying to get this working, can it?
submitted by
thank you
1) I find cck does not have "submitted by" info, which is a great surprise. Am I missing something obvious?
2) I agree, writing a custom node would be easier then getting cck to work. the trick might be to make the node work with everything else such as views.
Submitted by-- not a problem for me.
I have never had a site want submitted by, to me it is Drupal flotsam that just burns time theming out, so I wouldn't have noticed.
<rant>
What would be far more useful would be actual "by lines" on articles. And if you wanted some information (like the main site contents) to just be there, setting the author to blank should display NOTHING, not "written by anonymous" or "by guest" but NOTHING!
I see a module that claims to fix that, but I haven't tried it.
As it stands, you have a choice of "About Us: Written by admin on 6/6/2006 at 23:15" or no "written by" on any pages.
Since "Written By" on the "about" page or the "contact information" page is unacceptable, I choose nowhere.
</rant>
If you want to add the author information to any node, just theme it in using the same method that I use... change the .tpl.php file for that node type (the same way that I theme it out).
Use different types...
For "about" pages, I use the page type. For news and such, I use story types. I just unchecked everything except story types where you config which types show post information. No need to do any special theming.
Michelle
Image brocken
I had problems using images after the update, then somewhere I have found that in 4.7 there ar some
new fields for the image-fields. I added values in all this fields an now it is working.
Maximum picture dimensions:
Preview dimensions:
Thumbnail dimensions:
Maximum picture size:
Maximum picture file size, in kB.
kind regards
stoltoguzzi
Are you talking CCK or Flexinode?
Cool! Although I had to bite the bullet and have been trying to write a module.
Since neither works, which one did you get working? And would you mind posting some code?
Also, if you found a shred of documentation to hint at how to access images, a link would be sincerely appreciated. I have not been able to find any documentation on the image or image_assist modules that would make this huge task (selecting an image) simpler.
Image
After installing image module and the flexinode modul you should be able to add an image-field in your flexinode configuration.
I to not us CCK because it sounds like there is no image support at this time (maybe I'm wrong).
stoltoguzzi
Image type does not work
Image type appears to be available for Flexinode but it does not work at all.
It wants the image category to be set and there is no such setting on 4.7. (there are multiple categories).
It produces a slew of errors.
I think it's still broken
i installed the latest CCK a few days ago and things were working just swell with a custom content type. i just installed flexinode out of curiosity and instantly it caused problems. first of all, when i go to "admin->content->content types", the content types previously created by CCK are no longer listed! second, i get two "add content type" tabs! just for kicks, i went ahead and clicked on one just to see what would happen, and then i got a PHP error about some function not existing.
great. i immediately disabled flexinode. now, things seem back to normal again, but i wonder if there was any permanent damage. i'm using drupal 4.7.2, btw.
Yes, flexinode 4.7 is
Yes, flexinode 4.7 is effectively dead and buried. A number of its fields have been discontinued for 4.7 (apparently they were wrongly released), so if you used them in 4.6 and then upgraded, you're gone, zapped. I have a site with nearly a dozen content types that I still can't upgrage to 4.7 for this reason.
More of a zombie, I think
Lots of people saying 4.7 doesn't work. Then there's people, such as me, using flexinode on 4.7 with no problems. The only issue I have is the collision with CCK, but that can be worked around pretty easily. I guess it depends on what fields you use.
Michelle
I guess it depends on what
Yes. Multi-select and attachment fields, to mention just two.
So just to be clear.
I have a 4.6 site using flexinodes. I updraded to 4.7 and want to use cck and contemplate. All my old nodes that used flexinode are can't be upgraded?
I suggest you look at the
I suggest you look at the cvs messages for flexinode 4.7 to see which fields have been dropped and then compare whether you used those fields in your 4.6 site. If you did, I don't think you can upgrade the old nodes.
Edit: http://drupal.org/project/cvs/5737
You can see that multiselect, filefield and mp3 fields have been dropped.
Hmm...I think I
Hmm...I think I misunderstood your question. There isn't a flexinode to cck migration script yet, if that's what you meant.
hmmmm
An old node I have in 4.7 displays like this:
Date should be shown, that's ok.
Title Link is okay too.
No content is shown.
the bottom footer is okay except that 53 reads should not show.
When I create a new node, it displays proper fields and content.
So I guess I am asking/wondering do I need to hand convert all those old nodes???
edit: Also do I need to create all new tpl files? or rename what I have and customize for cck? Is there some documentation on going from Flexinode to CCK?
No. Flexinode is not dead. this lie must be killed instantly.
I wrote a long article on this matter on my blog, called What to choose: Flexinode versus CCK!. You may find more info there.
---
Professional | Personal
| Sympal: Development and Hosting
Easy way to convert Flexinode nodes into CCK nodes
I've found a post in http://www.disobey.com/node/1761 where Morbus Iff explains how to convert, in an easy way, flexinode contents.
In another place 'ive read that there are still context in which Flexinode is usefull.