as title

Comments

drozas’s picture

Version: 7.x-1.0-beta3 » 7.x-1.0-rc1
Assigned: Unassigned » drozas

Thanks Stefano!,

I will create a branch of the code at github, take a look at it and provide a patch with the solution to be committed to drupal.org after testing.

drozas’s picture

Status: Active » Needs work
drozas’s picture

Status: Needs work » Active
drozas’s picture

I think our problem is due to to the way the urls are organized: either we mark them as children of certain other functionality if we want to keep the relationship with the parent element (with the current UI it would be list), or either we assume they are "services", and then they do not belong to that parent functionality.

I see a couple of ways to solve this:

- Set the entries as MENU_LOCAL_ACTION and then modify the theming to hide them in the main page. But I do not like this way neither, it is definitely a very ugly solution.
- We could try redefining the whole urls structure, to make these actions children of the parent element 'list' Again we would have the problem of disabling/hiding the entries in the main page if we want to respect the current interface (i.e.: marking that menu entry as non-expanded)

We could also assume they are "independent services" from list (think of it as services in the term of a web service you can access at certain url), and therefore we keep the structure as it is.

drozas’s picture

Status: Active » Closed (works as designed)

After discussing the issue with shakty, we decided to leave it as it is. I'll close this issue then.