Hi,

i'm using pathauto on my blog like: site.com/year/month/title

could it be possible to have an overview from
the month when typed site.com/year/month
the year when typed site.com/year

and eg
the week when typed site.com/week

thanx in advence

Rindert

Comments

mikeryan’s picture

Assigned: Unassigned » mikeryan

By "overview pages" I assume you mean listings of matching nodes? I'd like to do that myself, but I'm working at upgrading to 4.6 right now - I'll address this after I've got my live site up and running with 4.6 (presuming the final release isn't too far off).

mikeryan’s picture

Version: » 4.6.x-1.x-dev

Just to keep things up-to-date - I did produce an implementation of the concept by generating lists of nodes based on their aliases, and one person is using that now. However, digging into it I think this is best addressed in a more dynamic fashion, rather than using the alias table. It looks like the nodelist module is working in this area - when I have some time, I'll take a close look at nodelist and see if there are opportunities for the two modules to work together.

mikeryan’s picture

A version of pathauto that creates index pages for aliases corresponding to pathauto patterns has been committed for 4.6. Let me know if you have any problems with this...

lennart’s picture

This idea is great, but /user itself, and anything downstream, should be exempt.

Because the function as of now also applies to user, I cannot se my user profile anymore.

lennart’s picture

This alias causes the problem

alias system
user pathauto/node/user

After
Create index aliases

And
Bulk generate index aliases

On some sites that does not use the login-block for login this can even cause problems with logging in.

mikeryan’s picture

There are two issues here:

1. The core path module blindly accepts the aliases it is given, without checking to prevent overriding of existing paths. A true solution to the problem needs to be implemented there (this has been discussed previously, but I can't seem to find the issue).

2. The bulk update operation doesn't know who created a given alias, and by defaulting to "node" generates bad aliases for other content types (e.g., users). I'm working on making this smarter, and should be able to alleviate the first issue, at least for index paths.

lennart’s picture

Thanks Mike - for taking the time to explain this.

I have alleviated my problem by deleting the alias in question, and everything now works fine.

Thanks again for the module, and the great response to user questions and requests!

Kind Regards,
Lennart Kiil

lennart’s picture

maybe I should mention that this is also a problem with /forum where you would want the tabular format provided as standard by the forum.module

Kind Regards,
Lennart

mikeryan’s picture

Status: Active » Closed (fixed)
dddave’s picture

Issue summary: View changes

deleted email by request of user