Hello,

firstly thank you for this great module! Works like a charm.

I just have one question that i don't find covered anywhere else so far:

Is it possible to have different content types as "default for new content"?

I have created several content types that all have a wiki-like behaviour but different input forms created with cck:

e.g. :

Content Type

1) Wiki Person
2) Wiki Company

Let's say for Wiki Person i have a different set of CCK input fields than for for Wiki Company but i would like them both to appear as options when new freelinked content is created.

About any hint how to slove this i would be really glad!

Comments

sonden’s picture

Status: Active » Closed (fixed)

After some fiddling i figured out, how to get it to work. The important settings are to be found in Wikitools (Checkboxes for input types) and in pathauto (Wiki Person and Wiki Company must share the same url scheme).

Now i just have to figure out how to style the "You can create the page as *Wiki Person or *Wiki Company" bit.

sonden’s picture

Status: Closed (fixed) » Postponed (maintainer needs more info)

I am still missing one essential function to get it all to work.

I am using the block showing all freelinks to be created from all content types i am using. But if I click on any of the links i am automatically forwarded to create a book content type although i want that the user has to choose between different content types as it would work out if i click freelinks in an existing nodes.

I suppose the problem is that in the freeklinking settings i only can choose one "Default for new content".

Is there any way how to achieve this?

sonden’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

I found finally a very unelegant workaround for this problem:

The "freelinks to be created" block does link by default directly to the edit page of the content type defined in freelinking. But for i wanted to let users choose which kind of content type they would like to create the freelink with instead of creating the default content type automatically, i created yet another content type that no user has the permission to create. I set this content type as default in the freelinking admin settings. Now if a non-admin user tries to create a freelink he will not be able to create the content type so he is forwarded to the general create content page with all the content type choices.

A workaround in any sense... Hope that helps any of your further!

DrupalSza’s picture

Trying to solve the same situation...

However, when I do this, I am not redirected to the create content page, instead I am shown an "access denied" page. Any thoughts?

DrupalSza’s picture

btw... drupal 6

Grayside’s picture

Hello DrupalSza,

Unfortunately, the 5x branch of Freelinking is Feature-Frozen, and the 6.x-1.x line is no longer undergoing new features development by the maintainers. We are happy to commit a reviewed patch with worthwhile new functionality.

New features in Freelinking are being developed in the 6.x-3.x branch, and the features requested here do not make sense given the significant difference between versions 1 and 3 of Freelinking.

Sorry I cannot be of better help.

DrupalSza’s picture

np. Thanks!