Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Components for theme
#17
Oh and to clarify components are just callouts, we eval them only because we do not have closures in php 5.2, nor do we have anonymous functions. A theme default component could just as easily be made to use a callback with thisnnew registration method i am thinking of, like plugins for themes, but with just the one function..

What indont understand is if you are saying you have php files and you edit them in theme editor, that is already a thing, so why do you even need a component wrapper?

There is also considerations on github to make components multiple file capable or multisourced or registered callbacks. Maybe it is not detailed properly.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply


Messages In This Thread
Components for theme - by Oleg06 - 2016-03-07, 00:40:39
RE: Components for theme - by shawn_a - 2016-03-07, 03:33:37
RE: Components for theme - by shawn_a - 2016-03-07, 03:40:17
RE: Components for theme - by Oleg06 - 2016-03-07, 04:09:17
RE: Components for theme - by shawn_a - 2016-03-07, 05:40:15
RE: Components for theme - by Oleg06 - 2016-03-07, 06:41:16
RE: Components for theme - by datiswous - 2016-03-07, 23:50:27
RE: Components for theme - by shawn_a - 2016-03-08, 23:07:22
RE: Components for theme - by datiswous - 2016-03-09, 03:16:31
RE: Components for theme - by shawn_a - 2016-03-11, 13:03:01
RE: Components for theme - by lokothodida - 2016-03-26, 21:49:11
RE: Components for theme - by DimaYakovlev - 2016-03-26, 23:48:54
RE: Components for theme - by Oleg06 - 2016-03-26, 23:01:13
RE: Components for theme - by shawn_a - 2016-03-27, 01:52:12
RE: Components for theme - by lokothodida - 2016-03-27, 10:32:49
RE: Components for theme - by shawn_a - 2016-03-27, 10:57:48
RE: Components for theme - by shawn_a - 2016-03-27, 11:04:02
RE: Components for theme - by lokothodida - 2016-03-27, 19:48:07
RE: Components for theme - by shawn_a - 2016-03-28, 00:04:23



Users browsing this thread: 1 Guest(s)