Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# Mike Savage 4/3/2005 2:40 PM
Some suggestions for new or modified functionality:
- Do not display "Comments" when disallowing comments on articles. Currently I do not allow comment but still see Comments in the Published line and in the article details.
- When editing a section and have selected a module of type Articles it would be nice if the "Number of articles to display" would default to some number.
- Menus should to show Name or have a title (optional display like Sections).
- It would be great to reuse or share articles on multiple nodes. This way I can have my product articles on one page but have another page with "featured products" that point to the same content.

Questions:
- Why are menus only allowed at the top level node? I'd like to have menus of links on other pages too.
- What does "Detach" do in the Sections listing? It does not seem like it is ever a clickable link.

Bugs:
- When saving Article I get a vague "can not save" error instead of the validator telling me the dates are required. I've seen this one a few other edit screens too.
- Authenicated user (not editor or admin) is able to edit. Although I'm logged into your site now and don't see the Edit links...
- Friendly urls are not being displayed. I see a url of "http://localhost/Cuyahoga/14/view.aspx" but the edit node page shows a friendly url of "Default/browse-categories/home-accents". This could be a bug or my misunderstanding how these work.
- I mentioned this one before. I received an "another object with the same id was already associated with the session" exception when adding a search module to the main page. I set the NodeCacheDuration to 1 and this corrected the problem.

Let me know if you need more detail about any of these. You have a great web app here!

Mike
# martijnb 4/4/2005 1:36 AM
Mike Savage- Do not display "Comments" when disallowing comments on articles. Currently I do not allow comment but still see Comments in the Published line and in the article details.
- When editing a section and have selected a module of type Articles it would be nice if the "Number of articles to display" would default to some number.
- Menus should to show Name or have a title (optional display like Sections).

Agreed, some things need some polishing :).
- It would be great to reuse or share articles on multiple nodes. This way I can have my product articles on one page but have another page with "featured products" that point to the same content.

Won't you be better off with a custom product catalog module?
- Why are menus only allowed at the top level node? I'd like to have menus of links on other pages too.

You add menu's at the top level, but they are visible on every page. It's really meant for links to search, sitemap, privacy information etc. that don't fit in the site hierarchy.
- What does "Detach" do in the Sections listing? It does not seem like it is ever a clickable link.

Detach isn't ready yet but the purpose is that you can (de)couple sections from nodes. This way all content is preserved when you want to move sections.
- When saving Article I get a vague "can not save" error instead of the validator telling me the dates are required. I've seen this one a few other edit screens too.

Aargh, these validators are driving me nuts. It seems like every now and then they just stop working. And then, the next day when I wan't to fix them, they suddenly work again.
- Authenicated user (not editor or admin) is able to edit. Although I'm logged into your site now and don't see the Edit links...

Did you give the Authenticated user role editor permissions? And after that, you have to change the security settings of the existing nodes and sections. I'm going to add an option to propagate security settings.
- Friendly urls are not being displayed. I see a url of "http://localhost/Cuyahoga/14/view.aspx" but the edit node page shows a friendly url of "Default/browse-categories/home-accents". This could be a bug or my misunderstanding how these work.

They work, although Cuyahoga doesn't use them by default. Just enter "http://localhost/Cuyahoga/Default/browse-categories/home-accents.aspx" and it should work.

# Mike Savage 4/4/2005 4:16 AM
Did you give the Authenticated user role editor permissions? And after that, you have to change the security settings of the existing nodes and sections. I'm going to add an option to propagate security settings.
The authenticated user role only has "Authenticated" permissions, not Editor or Admin. On each node and section for authenticated users there is only a checkbox for View Allowed, no checkbox for Edit Allowed. So I don't believe I can even give an authenticated user edit permissions outside of the role settings.

# martijnb 4/4/2005 8:52 AM
Aahhh, now I see what you mean: you log in as an ordinary authenticated user and suddenly you see edit hyperlinks that shouldn't be there. That strange indeed. I'll have a look at it.
# Mike Savage 4/4/2005 7:14 PM (edited 4/4/2005 7:16 PM)
You are missing "p.EditAllowed &&" below in User.cs. After I add that code authenticated users (non-admin/editor) can no longer edit non-editable sections.
public bool CanEdit(Section section)
{
	foreach (Permission p in section.SectionPermissions)
	{
		if (p.EditAllowed && IsInRole(p.Role))
		{
			return true;
		}
	}
	return false;
}