Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Plugin dev. routing
Post: RE: Plugin dev. routing
Bigin Wrote: (2016-09-07, 06:03:02)
--
Are you use get_page_content(); in your theme?
--
Yep ; )
Ok guys I made a fresh install and the solution of Bigin works there. Probably too much plugins a... |
|
mica |
General Questions and Problems
|
20 |
35,876 |
2016-09-07, 06:22:26 |
|
|
Thread: Plugin dev. routing
Post: RE: Plugin dev. routing
Bigin Wrote: (2016-09-07, 05:28:37)
--
Turn debug on in your config.php file, to see messages:
define('GSDEBUG', TRUE);
--
Already done √
No messages ;(
do you have the same version 3.3.11 ? Plugi... |
|
mica |
General Questions and Problems
|
20 |
35,876 |
2016-09-07, 05:31:42 |
|
|
Thread: Plugin dev. routing
Post: RE: Plugin dev. routing
Bigin Wrote: (2016-09-07, 05:20:28)
--
put $slug = get_page_slug(false); in your functions.php file in theme directory. Or you can use get_page_slug(false) in your anonymous functions
--
nope ;(
... |
|
mica |
General Questions and Problems
|
20 |
35,876 |
2016-09-07, 05:24:33 |
|
|
Thread: Plugin dev. routing
Post: RE: Plugin dev. routing
shawn_a Wrote: (2016-09-07, 04:49:15)
--
That plugin uses namespaces and anonymous functions closures, so you might have problems on php 5.2
other than that it seems to work well, it will also not w... |
|
mica |
General Questions and Problems
|
20 |
35,876 |
2016-09-07, 05:13:47 |
|
|
Thread: Plugin dev. routing
Post: RE: Plugin dev. routing
Bigin Wrote: (2016-09-07, 04:22:53)
--
Create new route: galleries/([a-z0-9-/]+) in gs-front-router, for example
Action:
Code:
--
|
|
mica |
General Questions and Problems
|
20 |
35,876 |
2016-09-07, 05:06:49 |
|
|
Thread: Plugin dev. routing
Post: RE: Plugin dev. routing
shawn_a Wrote: (2016-09-07, 01:09:59)
--
I do not think there is. I think there is code floating around the forum though.
eg
http://get-simple.info/forums/showthread.php?tid=8254
--
Ok thanks a... |
|
mica |
General Questions and Problems
|
20 |
35,876 |
2016-09-07, 03:29:33 |
|
|
Thread: Plugin dev. routing
Post: RE: Plugin dev. routing
shawn_a Wrote: (2016-09-07, 00:38:00)
--
ok so the plugin is already doing its own routing parsing.
hmm
--
mhmmm no, this is my question, the plugin provide only a function to retrieve gallery
So I ... |
|
mica |
General Questions and Problems
|
20 |
35,876 |
2016-09-07, 00:42:01 |
|
|
Thread: Plugin dev. routing
Post: RE: Plugin dev. routing
shawn_a Wrote: (2016-09-06, 23:48:31)
--
Is gallery your page id ?
eg.
website.com?id=gallery
--
Hi Shawn
Nope, for now the plugin doesn't create pages |
|
mica |
General Questions and Problems
|
20 |
35,876 |
2016-09-06, 23:59:46 |
|
|
Thread: Plugin dev. routing
Post: Plugin dev. routing
Hello there!
I'm trying to extend an existing plugin (ExtraGallery (http://get-simple.info/extend/plugin/extra-gallery/858/)). to make a specific portfolio.
For now, succeed to every modificatio... |
|
mica |
General Questions and Problems
|
20 |
35,876 |
2016-09-06, 22:24:52 |