Search found 66 matches

Go to advanced search

by richarddodd
Fri Jun 06, 2014 4:19 pm
Forum: Contributed development
Topic: documentation configuration file
Replies: 1
Views: 2554

documentation configuration file

Hi Here's a config file for for phpDocumentor2 (best php doc gen I've seen). It excludes the vendor 3rd party libs. Rich file:phpdoc.xml <?xml version="1.0" encoding="UTF-8" ?> <phpdoc> <parser> <target>doc/cache</target> </parser> <transformer> <target>doc</target> </transformer> <files> <directory...
by richarddodd
Fri Jun 06, 2014 8:36 am
Forum: Development Chats
Topic: define.amd defined
Replies: 1
Views: 2047

Re: define.amd defined

I'm not sure what the solution is here - I've modified my moment.js lib to not try to load asynchronously, but I don't know if other people will have similar problems.
by richarddodd
Fri Jun 06, 2014 8:35 am
Forum: Development Chats
Topic: define.amd defined
Replies: 1
Views: 2047

define.amd defined

In the new chat module, some asynchronous module definition code is loaded. This crashes some other vendor scripts, as they detect this and assume AMD is being used.
by richarddodd
Fri Jun 06, 2014 8:17 am
Forum: Development Chats
Topic: Bug in v6.0 chat module
Replies: 2
Views: 2465

Bug in v6.0 chat module

After installing the chat module, I am getting the following error: Fatal error: Uncaught exception 'Exception' with message 'Headers already sent in /home/rdodd/devel/group-office-code/www/views/Extjs3/default_scripts.inc.php on line 159. Cannot send log data to FirePHP. You must have Output Buffer...
by richarddodd
Fri Jun 06, 2014 7:51 am
Forum: Development Chats
Topic: [FIXED] Bug in v6.0
Replies: 2
Views: 2391

[FIXED] Bug in v6.0

In the v6.0 branch, in www/go/GO.php line 1230, file_get_contents outputs a warning if the professional module isn't installed.
by richarddodd
Thu Jun 05, 2014 3:17 pm
Forum: Development Chats
Topic: v6 upgrade script
Replies: 0
Views: 2589

v6 upgrade script

Just to mention that along with namespaces, controller names need to be changed from `Name` to `NameController.`

Rich
by richarddodd
Thu Jun 05, 2014 12:27 pm
Forum: Development Chats
Topic: activerecord add custom sql to query
Replies: 2
Views: 2173

Re: activerecord add custom sql to query

You can add custom criteria to your query (FindParams instance) by doing something like $fparams = GO_Base_Db_FindParams::newInstance(); $fparams->getCriteria()   ->addCondition(<your condition here>); $stmt = GO_Module_Model_YourModelName::model()->find($fparams);   I have used this for quite exoti...
by richarddodd
Thu Jun 05, 2014 12:23 pm
Forum: Development Chats
Topic: Composer
Replies: 0
Views: 2529

Composer

Hi

Have you guys thought about using composer for dependency management. I've not got a lot of experience with it, but I know that npm is awesome (js/node equivalent)
by richarddodd
Thu May 29, 2014 12:43 pm
Forum: Development Chats
Topic: Create warehouse module
Replies: 8
Views: 4757

Re: Create warehouse module

<Impartiality note> There are many other js stack inspectors (firebug, ie, ...) :)
by richarddodd
Thu May 29, 2014 12:42 pm
Forum: Development Chats
Topic: Create warehouse module
Replies: 8
Views: 4757

Re: Create warehouse module

You get extjs errors like this that aren't always helpful. What I do is set chrome to 'pause on exception' and then inspect the stack trace to see if my code features in it anywhere. If it does, then begin looking here, if not then it's probably an initialization problem, like not specifying 'fields...
by richarddodd
Thu May 22, 2014 2:36 pm
Forum: General help
Topic: Please how to transfer Address list filter emails?
Replies: 2
Views: 1021

Re: Please how to transfer Address list filter emails?

The database isn't to complicated here - so you may be able to do it through something like phpmyadmin if you uderstand sql a little.
by richarddodd
Thu May 22, 2014 2:34 pm
Forum: General help
Topic: Email template - social media icons
Replies: 5
Views: 1963

Re: Email template - social media icons

If they are small - I tend to add things like that inline.
by richarddodd
Thu May 22, 2014 12:30 pm
Forum: Contributed development
Topic: ACL System
Replies: 8
Views: 9831

Re: ACL System

@Merijn

Maybe the programmatic stuff should be on the wiki? I know it took me a long time to figure all this stuff out.

Rich
by richarddodd
Thu May 22, 2014 12:28 pm
Forum: Contributed development
Topic: ACL System
Replies: 8
Views: 9831

Re: ACL System

There have also been some times when I have had to write some custom SQL whilst respecting ACL. This can be done as part of the SQL, for example to select contacts from `ab_contacts` you would do: (sql_calc_found_rows and limit start, limit are optional, used for paging) SELECT DISTINCT SQL_CALC_FOU...
by richarddodd
Thu May 22, 2014 12:13 pm
Forum: Development Chats
Topic: Documentation and API stabilization
Replies: 6
Views: 3848

Re: Documentation and API stabilization

doxygen also works (tested)

Note that there are no namespaces, so I basically navigate using the search bar to look for classes

cron