Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
News Manager 3.7 beta
#27
(2015-11-17, 09:36:44)morvy Wrote: 1. OK - will continue putting it into functions.php
2. now I have my custom display function in functions.php and after each update I just modify site.php file where I replace the function's name, so maybe just clause if exists would be fine

I'll start working in implementing support for custom post rendering functions soon (I hope).

However if we put them in the theme's functions.php file, it will not work with GetSimple 3.4 (because of a change in the core, and the way NM renders its output)

So I think we'll have to create and use a separate theme file that would be loaded by News Manager. It should have a .inc.php extension so that it's not listed in the page template selector. Perhaps nm-functions.inc.php, or nm.inc.php, or news_manager.inc.php, ...
Reply


Messages In This Thread
News Manager 3.7 beta - by Carlos - 2015-06-06, 20:33:33
RE: News Manager 3.2 beta - by Carlos - 2015-06-06, 20:34:42
RE: News Manager 3.2 beta - by Carlos - 2015-06-09, 00:54:35
RE: News Manager 3.2 beta - by Carlos - 2015-08-14, 00:36:40
RE: News Manager 3.3 beta - by shawn_a - 2015-08-14, 01:56:59
RE: News Manager 3.3 beta - by Carlos - 2015-08-14, 04:52:37
RE: News Manager 3.3 beta - by Oleg06 - 2015-10-14, 03:43:20
RE: News Manager 3.3 beta - by Carlos - 2015-10-14, 06:23:16
RE: News Manager 3.3 beta - by webservsol - 2015-10-17, 01:03:22
RE: News Manager 3.3 beta - by Carlos - 2015-10-20, 04:04:41
RE: News Manager 3.3 beta - by Carlos - 2015-11-03, 05:12:08
RE: News Manager 3.3 beta - by Oleg06 - 2015-11-03, 07:25:15
RE: News Manager 3.3 beta - by Carlos - 2015-11-04, 06:42:54
RE: News Manager 3.3 beta - by Oleg06 - 2015-11-04, 07:19:28
RE: News Manager 3.3 beta - by morvy - 2015-11-16, 23:11:35
RE: News Manager 3.3 beta - by Carlos - 2015-11-17, 01:49:05
RE: News Manager 3.3 beta - by morvy - 2015-11-17, 09:36:44
RE: News Manager 3.3 beta - by Carlos - 2016-02-26, 04:57:56
RE: News Manager 3.3 beta - by Carlos - 2016-02-12, 05:52:50
RE: News Manager 3.3 beta - by Oleg06 - 2016-02-13, 00:00:29
RE: News Manager 3.3 beta - by Carlos - 2016-02-13, 01:44:23
RE: News Manager 3.3 beta - by Oleg06 - 2016-02-13, 04:42:00
RE: News Manager 3.3 beta - by Carlos - 2016-02-13, 06:13:48
RE: News Manager 3.3 beta - by Oleg06 - 2016-02-13, 07:19:39
RE: News Manager 3.3 beta - by Carlos - 2016-02-14, 02:17:37
RE: News Manager 3.3 beta - by Oleg06 - 2016-02-14, 03:05:16
RE: News Manager 3.3 beta - by Carlos - 2016-02-20, 20:45:45
RE: News Manager 3.3 beta - by davetest - 2016-02-27, 03:41:58
RE: News Manager 3.4 beta - by Carlos - 2016-05-09, 02:09:36
RE: News Manager 3.4 beta - by davetest - 2016-05-09, 03:51:51
RE: News Manager 3.3 beta - by Carlos - 2016-03-01, 05:30:13
RE: News Manager 3.3 beta - by Carlos - 2016-03-13, 19:39:15
RE: News Manager 3.3 beta - by Oleg06 - 2016-03-13, 23:33:05
RE: News Manager 3.4 beta - by Carlos - 2016-03-31, 20:04:40
RE: News Manager 3.4 beta - by Oleg06 - 2016-04-01, 02:25:05
RE: News Manager 3.4 beta - by Carlos - 2016-04-01, 02:32:51
RE: News Manager 3.4 beta - by kus_kus - 2016-04-13, 22:29:00
RE: News Manager 3.4 beta - by Carlos - 2016-04-22, 04:27:03
RE: News Manager 3.4 beta - by Carlos - 2017-10-22, 19:10:20
RE: News Manager 3.5 beta - by Carlos - 2017-12-10, 05:10:37
RE: News Manager 3.6 beta - by Carlos - 2017-12-19, 08:56:50
RE: News Manager 3.6 beta - by Oleg06 - 2017-12-19, 18:16:14
RE: News Manager 3.6 beta - by Carlos - 2017-12-20, 05:00:10
RE: News Manager 3.6 beta - by multicolor - 2017-12-23, 03:18:00
RE: News Manager 3.6 beta - by Carlos - 2017-12-23, 03:21:42
RE: News Manager 3.6 beta - by multicolor - 2017-12-23, 03:25:44
RE: News Manager 3.6 beta - by Carlos - 2017-12-23, 04:26:38
News Manager 3.7 beta - by Carlos - 2018-04-21, 17:13:28
RE: News Manager 3.7 beta - by Carlos - 2018-04-22, 16:54:41
RE: News Manager 3.7 beta - by kazu2015 - 2018-11-02, 17:52:10
RE: News Manager 3.7 beta - by Oleg06 - 2018-04-22, 18:53:36
RE: News Manager 3.7 beta - by Carlos - 2018-04-22, 19:07:53
RE: News Manager 3.7 beta - by Oleg06 - 2018-04-22, 21:56:48
RE: News Manager 3.7 beta - by Carlos - 2018-04-30, 03:46:39
RE: News Manager 3.7 beta - by Oleg06 - 2018-04-30, 04:33:31
RE: News Manager 3.7 beta - by Carlos - 2018-04-30, 04:51:36
RE: News Manager 3.7 beta - by Oleg06 - 2018-04-30, 05:36:01
RE: News Manager 3.7 beta - by Carlos - 2018-04-30, 05:51:12
RE: News Manager 3.7 beta - by Carlos - 2018-04-30, 06:05:29
RE: News Manager 3.7 beta - by Oleg06 - 2018-04-30, 07:04:25
RE: News Manager 3.7 beta - by Oleg06 - 2018-04-30, 23:13:10
RE: News Manager 3.7 beta - by Carlos - 2018-05-01, 07:22:59
RE: News Manager 3.7 beta - by Carlos - 2018-05-02, 03:39:03
RE: News Manager 3.7 beta - by Oleg06 - 2018-05-02, 04:00:57
RE: News Manager 3.7 beta - by Carlos - 2018-05-02, 04:58:40
RE: News Manager 3.7 beta - by kazu2015 - 2018-11-02, 17:56:35
RE: News Manager 3.7 beta - by Carlos - 2018-11-03, 01:02:02
RE: News Manager 3.7 beta - by kazu2015 - 2018-11-03, 16:53:09
RE: News Manager 3.7 beta - by Carlos - 2018-11-03, 20:46:29



Users browsing this thread: 6 Guest(s)