I want to use sitename.com/content-title for one possibly two content types.
I can’t seem to add the correct wild card/token the menu hook.
$items['%'] = array( … );
Is this possible?
I want to use sitename.com/content-title for one possibly two content types.
I can’t seem to add the correct wild card/token the menu hook.
$items['%'] = array( … );
Is this possible?
pathauto should do this for you. Use path rather than menu hooks for content as large menus cause perforance hits.