开发者

hook_menu for sitename.com/content-title

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( … )开发者_JS百科;

Is this possible?


pathauto should do this for you. Use path rather than menu hooks for content as large menus cause perforance hits.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜