Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
faking the funk, invisible slugs
#3
The downsides, you will have to update it with other fields as they are added to core if you want to, I can modify index to accommodate missing ones in the future, also we assign all these to globals, so there is some confusion as to which are used where a global or data_index, which has been adopted by a lot of components and plugins. So we should make it standard one of these days.

Also there is the issues of menus and breadcrumbs and headers possibly not working, I am looking into all the possibilities to make this an official method of slowing dynamic slugs or making a new hook for it specifically.

For things that use page cache it's possible to add your dynamic slug into it for site maps etc. I just have not looked at it all yet.

As far as metad and template_file these are right out of index.php.
So maybe we should alias them to match the globals or make a new global object of page variables.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply


Messages In This Thread
faking the funk, invisible slugs - by shawn_a - 2013-05-21, 07:16:57
RE: faking the funk, invisible slugs - by shawn_a - 2013-05-21, 11:28:18
RE: faking the funk, invisible slugs - by Carlos - 2013-05-21, 15:48:47
RE: faking the funk, invisible slugs - by shawn_a - 2013-05-22, 02:40:23



Users browsing this thread: 1 Guest(s)