Hi thanks for the module.

I just added it and are trying to activate a number of Content Types.

Basically I have a list at /admin/settings/linkedin of nodes - some have pre-populated / default strings - others are blank.

When I activate these Content Types only the ones with default strings will keep the string and the activation after saving.

The others (blank ones) allow me to fill in the default strings and click the activation box - but after saving they do not display the default strings and the activation tick anymore.

What is the trick to activate all Content Types?

Could this have something to do with automatic title being used - with token or php? - Though there are some content types I cannot activate that do not have either - also Comments below cannot be activated.

Ah, and "Comments" even though it has a default string does not retain it's activation after saving.

Thanks for all and any advice ....

Comments

bellesmanieres’s picture

Hi,
Sorry but I did not manage to reproduce the bug.

Could this have something to do with automatic title being used
Do you use the Automatic Nodetitles module ? Maybe try to desactivate it (to be frank, I don't see why it would interfere, but one never knows.)
Did you also tried to create a new content type and see if it could be set at admin/settings/linkedin ?

tryitonce’s picture

thanks - I will try that and report back.

Question is though, why forum topic and Comment would not register as they are Drupal core.

tryitonce’s picture

Okay,

Turning automated titles otion in a node off did not change anything.

A new Content Type created allowed me to activate it.
Adding automated node titles - then deactivating and reactivating worked fine.

What to do with the old Content Type?
1. Exporting and reimporting them would be risky as the ndes could be lost or screwed up.
2. It might not work anyway.

Okay another option - old Content Type - I inserted the default string via http://www.example.com/devel/variable?destination=admin - it appeared in the variables and in LinkedIn settings - http://www.example.com/admin/settings/linkedin. The line was duely added to MySQL - Table: variable. So, in http://www.example.com/admin/settings/linkedin I checked the box to activate it.
After saving the default string disappeared and the line was removed from the MySQL table as well.
I have 13 Content Types in the table such as

linkedin_default_format_faq  	s:31:"Posted "!title" on !site : !url";
linkedin_default_format_general 	s:31:"Posted "!title" on !site : !url";
linkedin_default_format_poll  	s:31:"Posted "!title" on !site : !url";

For example the linkedin_default_format_poll as the default string but can also not be activated.
There are another 8 old Content Types that need to be included / activated for LinkedIn.

Not sure what to do next?????? .....

tryitonce’s picture

Hi,

any news on this?

I still have at least 8 (old) Content Types that need to be included / activated for LinkedIn.

And even new ones added after installing LinkedIn will not register and allow the module to post to LinkedIn.
Any chance of progressing this somehow - by me giving you more info in some form.

Thanks

.....

8bitwright’s picture

tryitonce,

I'm getting the same issue, did you find a workaround?

Thanks

8bitwright’s picture

Solved!

My CCK was named 'News Article'. I changed it to 'NewsArticle' (no space). voila! it now works.

tryitonce’s picture

botty1,

thanks for sharing this and I just tried it on one node and indeed that seems to be the problem.

I added an underscores between My_Content_Type_Name.

But it does not solve the problem and I would hope the LinkedIn module team - Pascal Morin and Greg Harvey - thanks for your work - I am sure with these fixes your module will really take off before too long.

If you could resolve this it would be great - because

Forum Topic and Blog Entry and some other Content Type names are coming with core and having to rename all of them is not so clever and doesn't look good either. Maybe the setting has to link in to the machine-readable name and not the displayed name.

I guess it is a small adjustment for those with the right skill - would be great if you could fix it !!!!!!!!!!!!!!!!!!!!!!!!!

tryitonce’s picture

.... please - try to fix this - ....

I changed the Content Type name for Blog and Forum
Blog entry to Blog_entry and
Forum topic to Forum_topic

but the LinkedIn does not show up. May be it is connected - may be it is something else???

thanks .....

bellesmanieres’s picture

Status: Active » Closed (duplicate)

Moving this to #860978 as it should fix the issue.