Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Rewriting to revolve around common.php*
Post: Rewriting to revolve around common.php*
Nijikokun, what if, like in my case, I create a file in my plugin that is 3 levels deep... e.g.
admin/plugins/myplugin/file.php
If common.php is to become the main included file that loads everythin... |
|
litzinger |
GS Development Testing - (alpha/beta)
|
12 |
31,506 |
2010-01-21, 22:57:11 |
|
|
Thread: Any documentation?
Post: Any documentation?
Here is what my functions.php file looks like now. Right now I'm getting a "Unable to open plugins/" error, but it's further along than before.
I like Nijikokun's approach, but that means you're goin... |
|
litzinger |
GS Development Testing - (alpha/beta)
|
17 |
39,050 |
2010-01-21, 12:51:47 |
|
|
Thread: Any documentation?
Post: Any documentation?
Ok, I have a feeling this could work, or I could be onto something. It would involve setting the include path if someone defines either PATH_ADMIN or PATH_ROOT before trying to load those files, then ... |
|
litzinger |
GS Development Testing - (alpha/beta)
|
17 |
39,050 |
2010-01-21, 12:23:55 |
|
|
Thread: Any documentation?
Post: Any documentation?
This right here should always return the full path to the admin folder, so long as the admin folder isn't renamed.
Code:
--
function get_admin_path()
{
$path = dirname(__FILE__) . '/';
... |
|
litzinger |
GS Development Testing - (alpha/beta)
|
17 |
39,050 |
2010-01-21, 11:41:53 |
|
|
Thread: Any documentation?
Post: Any documentation?
What about the include paths? I'm having trouble creating a plugin b/c it's in the plugins/myplugin folder, and I can't include the functions.php file because it's 3 directories up. Since there is no ... |
|
litzinger |
GS Development Testing - (alpha/beta)
|
17 |
39,050 |
2010-01-21, 11:12:41 |
|
|
Thread: Any documentation?
Post: Any documentation?
Especially for plugins? A list of the hooks available would be cool. |
|
litzinger |
GS Development Testing - (alpha/beta)
|
17 |
39,050 |
2010-01-21, 10:18:07 |
|
|
Thread: Custom fields and dynamic entries
Post: Custom fields and dynamic entries
Is there a beta release or nightly build available of 2.0 available? |
|
litzinger |
Scripts & Components
|
7 |
21,113 |
2010-01-06, 21:14:28 |
|
|
Thread: Plugin Feature
Post: Plugin Feature
I'm new to GS, but if you are looking to add a plugin system take a look at ExpressionEngine's system hooks if you haven't seen them. |
|
litzinger |
Feature Requests
|
16 |
38,623 |
2010-01-06, 12:33:59 |
|
|
Thread: Custom fields and dynamic entries
Post: Custom fields and dynamic entries
Has anyone created a component to add custom fields, or additional WYSIWYG fields to a page?
How about the ability to create new content types? E.g., a news feed, photos etc
I come from ExpressionEn... |
|
litzinger |
Scripts & Components
|
7 |
21,113 |
2010-01-06, 12:08:12 |