Postponed (maintainer needs more info)
Project:
E-Journal
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
13 Jan 2008 at 18:02 UTC
Updated:
26 Feb 2019 at 20:59 UTC
Comments
Comment #1
romca commentedhi,
sorry for the delay. I am not an user of pathauto personally, but looking at its documentation, it should be possible to change urls (ejournal is using drupal's l() and url() functions, so no hardcoded links). What is needed though, is to place pathauto rule inside of the pathauto module. Ejournal is not enhancing node module, not even taxonomy or user modules (even though we use them).
I am changing the category to feature request, it can be done for both for d5 and d6, i can't promise anything though for now. If you want to go ahead, please post it back to the queue.
The code can be in the ejournal core, but I would prefer to place the code in a separate inc:
from the docs:
>>
Ideally this code will be integrated into a module, but a developer may extend
a module they don't maintain by implementing these functions in a file
of the form pathauto_.inc in the pathauto directory.
<<
or we can use the ejournal's plugin autoloading
What i don't understand is this bit:
>>
Note that as of Pathauto 5-2 this API is vastly simplified. If all you want is
to enable tokens for your module you will simply need to implement two functions
hook_token_values
hook_token_list
See the token.module for more information about this process.
<<
we are using tokens module but i don't know how to use it for path aliases. Somebody would have to do a little research, that would be nice.
Comment #2
Southpaw commented*Bookmarked*
Comment #3
romca commentedComment #4
drein commentedYes, this is a cool feature.
I have the same problem, in the configuration menu, when you have to type title of journal and web page where store journal, it doesn't work. Obviously, I can go to example.com/ejournal/1, but not ejournal.com/name_of_journal.
I have pathauto installed, but, I don't know if I shoud configure something about ejournal in that module.
Anyway, I want to thank you for having solved the 2 3 bugs that I reported last week, so ejournal becomes my favourite module for this kind of content.
Still thanks.