1 of 2
1
Cant edit or type new articles
Posted: 25 June 2008 03:33 PM   [ Ignore ]  
Summer Student
Total Posts:  24
Joined  11-29-2006

Hello,

I seem to have done something to my blog which makes the editing of current articles and creating new articles no longer possible. The actual problem is in the publish page where I can see title and url title, but no longer what I think was called summary. It is very hard for me to remember exactly what caused this. The artiles that were created before this issue work fine, even though I cat edit their content.

Is there any kind of information I an provide in order for some greatly appreciated assistance?

Thanks.

Profile
 
 
Posted: 25 June 2008 03:41 PM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15368
Joined  05-15-2004

Do you have deleted a few custom fields? Which do you have now? Also, what code are you using to show your articles? Finally, which version and build are you on?

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
Posted: 25 June 2008 03:53 PM   [ Ignore ]   [ # 2 ]  
Summer Student
Total Posts:  24
Joined  11-29-2006

Thank you for such a quick reply. Yes I believe I may have deleted some custom fields. The blog section of the site currently has no custom fields.

The code is the following:

<h3>{title} <span>| {entry_date format="%d %F"}</span></h3>
            
{body}
            {
/exp:weblog:entries}
<br>

Profile
 
 
Posted: 25 June 2008 04:05 PM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15368
Joined  05-15-2004

Well, the only custom fields I see in your code is {body}. Could you have deleted that? After making a backup, simply try to recreate any missing fields again via the control panel.

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
Posted: 25 June 2008 04:12 PM   [ Ignore ]   [ # 4 ]  
Summer Student
Total Posts:  24
Joined  11-29-2006

Yes possibly. I just tried to create the body custom field but I receive the following message:

The field name you chose is already taken

I had a look at the other custom fields for different sections and they appear to both have a body field so I am not sure if the problem comes from that.

one has field name body and field label body, the other field name item_body and field label body.

Profile
 
 
Posted: 26 June 2008 03:02 AM   [ Ignore ]   [ # 5 ]  
Summer Student
Total Posts:  24
Joined  11-29-2006

Is it perhaps possible that the custom field is called something else than body? Thanks

Profile
 
 
Posted: 26 June 2008 03:07 AM   [ Ignore ]   [ # 6 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15368
Joined  05-15-2004

Of course, but how could we know? You can edit them at CP > Admin > Weblog Administration > Custom Weblog Fields.

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
Posted: 26 June 2008 03:16 AM   [ Ignore ]   [ # 7 ]  
Summer Student
Total Posts:  24
Joined  11-29-2006

There was nothing in the custom weblog fields for the blog area so it is hard to know if that is the case. When I added field names such as body2, still no text area shows up when I go to publish.

Profile
 
 
Posted: 26 June 2008 03:29 AM   [ Ignore ]   [ # 8 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15368
Joined  05-15-2004

Do you have a field group assigned to this weblog?
CP > Admin > Weblog Administration > Weblog Management > Edit Groups

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
Posted: 26 June 2008 03:36 AM   [ Ignore ]   [ # 9 ]  
Summer Student
Total Posts:  24
Joined  11-29-2006

Thanks, I had forgotten to do that part. Well I have a text area again in the publish page which is great but when I go to edit previously made articles, the old content is not in the area of course because it has a new field name.

Profile
 
 
Posted: 26 June 2008 04:10 AM   [ Ignore ]   [ # 10 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15368
Joined  05-15-2004

I am afraid there is not all that much we can do about that. A backup, if you have one? If you don’t have too many old articles, simply copy & paste’ing over the content might be the way to go.

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
Posted: 26 June 2008 04:20 AM   [ Ignore ]   [ # 11 ]  
Summer Student
Total Posts:  24
Joined  11-29-2006

Unfortunate to hear that. Well I edited my blog page to no longer show {body} but {body2} and then assigned field name and label name to body2, but that didnt seem to work as my blog test renders no body content. This sure isnt easy smile

Profile
 
 
Posted: 26 June 2008 07:40 AM   [ Ignore ]   [ # 12 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23522
Joined  05-20-2002

Walk me through this slowly. 

- Go to ‘Admin- Weblog Admin- Custom Weblog Fields’.  On that page- under field groups, what groups do you have listed?

- Go to ‘Admin- Weblog Admin- Weblog Management’ click ‘Edit Groups’- do you have a field group assigned to each weblog- and what is it?

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 26 June 2008 08:00 AM   [ Ignore ]   [ # 13 ]  
Summer Student
Total Posts:  24
Joined  11-29-2006

On Admin- Weblog Admin- Custom Weblog Fields

I have 3 fields, dacheboard(1), news(1) and portfolio(1). It is the dacheboard which is having the problems.

In Admin- Weblog Admin- Weblog Management and Edit Groups I have dacheboard field group assigned to dacheboard, news to news and portfolio to portfolio.

Thanks

Profile
 
 
Posted: 26 June 2008 08:07 AM   [ Ignore ]   [ # 14 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23522
Joined  05-20-2002

OK- that helps.  Now- how much data did you have in the weblog already?  And is it important to recover it?  Or are you just testing at the moment and the key thing is just to get things working so you can play around with it?

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 26 June 2008 09:43 AM   [ Ignore ]   [ # 15 ]  
Summer Student
Total Posts:  24
Joined  11-29-2006

Great to hear. Theres only been 2 articles with about 20 comments, so I dont mind starting over because I have them backed up. The only real importance is getting it working again really, Im happy with any methods possible.

Profile
 
 
Posted: 26 June 2008 09:56 AM   [ Ignore ]   [ # 16 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23522
Joined  05-20-2002

OK- if we’re starting over a bit, things are much easier. 

OK- so now dacheboard weblog is assigned the dacheboard custom field group.  Swing back to ‘Admin- Weblog Admin- Custom Weblog Fields’- edit dacheboard field group- copy the Field Name - which is the shortname for the custom field(s) you want to show the data for.

Now- you need to edit your templates- anywhere you want to show the contents of that field?  You need to put that shortname a la {body2}- or whatever the name of it is.

The reason your content isn’t showing up is because you’ve still got that old shortname in the templates- probably showing {body} in your weblog tag.  But- now you’re putting the info in body2- so you need to change the tag to match the correct field shortname.

Does that help?  If it’s still fuzzy- if you can link me to an example page, I can walk you through it a bit more.

It’s a lot to get the hang of all at once- but once you catch on, it’s easy.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 27 June 2008 04:05 AM   [ Ignore ]   [ # 17 ]  
Summer Student
Total Posts:  24
Joined  11-29-2006

Hi there,

Im sure it gets easier in time smile
I set to modify the changes said above, it seems quite logical that why it was showing the old body info. I changed it all in custom field name, label name and in the template to bodyx. It is still showing the old data and when I published a test article, the body area is blank.
What kind of example page can I send?

Thanks so much

Profile
 
 
Posted: 27 June 2008 05:35 AM   [ Ignore ]   [ # 18 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12376
Joined  04-29-2002

dache, when you use the exp:weblog:entries tag, you don’t use the {body} field, you’d use {bodyx}. Can you doublecheck that is what you did?

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
   
1 of 2
1
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64908 Total Logged-in Users: 43
Total Topics: 81852 Total Anonymous Users: 18
Total Replies: 440061 Total Guests: 216
Total Posts: 521913    
Members ( View Memberlist )