41
bumciach
Re: CKeditor and custom configs
  • 2010/8/25 21:25

  • bumciach

  • Not too shy to talk

  • Posts: 153

  • Since: 2007/6/25


OK. I analyzed code xoopseditor deeper. This directory is to upload the configuration files, not from this directory (what it was like in the old FCKeditor).

But it not work. There are some bugs in /xoopseditor/ckeditor/ckeditor.php:

First. Path to '/xoopseditor/ckeditor/module' is invalid.
Second. Argument for file_exists has to be PATH not URL.

Lines 63-64 should look like
if ( file_existsXOOPS_ROOT_PATH $this->rootPath '/module/config.'.$dirname.'.js' ) )
                    
$GLOBALS['xoTheme']->addScriptXOOPS_URL $this->rootPath '/module/config.'.$dirname.'.js' );


and lines 80-81
if ( file_existsXOOPS_ROOT_PATH $this->rootPath '/module/config.'.$dirname.'.js' ) ) 
                    
$ret .= '<script src="' XOOPS_URL $this->rootPath '/module/config.'.$dirname.'.js' '" type="text/javascript"></script>';


EDIT: I add this to BugTracker.



42
bumciach
CKeditor and custom configs
  • 2010/8/25 18:12

  • bumciach

  • Not too shy to talk

  • Posts: 153

  • Since: 2007/6/25


How add custom configuration to CKeditor?
FCKeditor had fckeditor.config.js file in /xoopseditor/fckeditor/module which could be copied to module folder and applied specific options.



43
bumciach
Re: Adding notifications of posted comments
  • 2010/8/23 22:50

  • bumciach

  • Not too shy to talk

  • Posts: 153

  • Since: 2007/6/25


Now I tracked it down!
I had this problem in all versions of XOOPS. But it is not linked directly to the XOOPS. It's the translation issue. In my language _NOT_COMMENTSUBMIT_NOTIFY and _NOT_COMMENT_NOTIFY has been translated the same way in notification.php .

However the core should protect somehow against this issue. So
I add this to bugtrackerhttp://sourceforge.net/tracker/?func=detail&aid=3051852&group_id=41586&atid=430840

Meanwhile, I report gaps in the translation to my local support.



44
bumciach
Re: "Universal" module framework...
  • 2010/8/6 13:11

  • bumciach

  • Not too shy to talk

  • Posts: 153

  • Since: 2007/6/25


I returned after a few months break. Maybe I missed some discussion, but let me throw in there some opinions.

First. What exactly the functionality we expect from a module framework? What classes should include, feature lists, etc..

Personally (I have some experience in develop XOOPS modules), I do not see a huge need for additional layers as the module framework. Perhaps the collection classes and helpers, yes. But whether we call this framework?
Many developers have their own ideas and habits and can not meet all of one 'universal' framework.
In my vision, the core defines modules routine (how mods interact with each other, with layers of data, logic, presentation) and provide the bricks (such as XoopsObjects) to build these modules.
So... I think more useful is good documentation and tutorials how to build the modern XOOPS modules, how to properly use XoopsObject, etc. Unfortunately, my knowledge in this area is quite limited to help into docs.

Quote:
Adding a lot of code to the Core will create tons of dependencies and higher complexity, and higher chances to break things.


Well, everything depends on how the core is designed as a modular and if we stick rigidly MVC or MVP... but I do not have much experience, so I can not judge.



45
bumciach
Re: Module recommendation for document management
  • 2010/4/14 11:42

  • bumciach

  • Not too shy to talk

  • Posts: 153

  • Since: 2007/6/25


Sorry, I do not currently use DMS. I tried dms some time ago (when XOOPS 2.0.18 was released), but gave up because it was too powerful and sophisticated tool for my the then requirements. I have to re-explore this module.



46
bumciach
Re: Module recommendation for document management
  • 2010/4/14 8:29

  • bumciach

  • Not too shy to talk

  • Posts: 153

  • Since: 2007/6/25


Currently I work (a long time, because the concept of changing a little) over my own intranet solution for sharing files. However, in relation to dms is a very simplified module (eg, automatic versioning does not need), so also will try to help with dms.



47
bumciach
PHP classes naming standard
  • 2010/4/14 8:07

  • bumciach

  • Not too shy to talk

  • Posts: 153

  • Since: 2007/6/25


It's proposal about working on standardize naming of classes and mechanisms to automatically load in PHP. Standardization group of the larger developers create PHP projects, such as Doctrine, PEAR, phpBB, Drupal, Symfony, Zend Framework.
PSR-0 Final Proposal



48
bumciach
Re: Parse and replace keywords prior to final output?
  • 2010/3/23 21:13

  • bumciach

  • Not too shy to talk

  • Posts: 153

  • Since: 2007/6/25


Or maybe try connect somehow overlib with jquery highlight plugin? Especially the last example on that page - you can do simply everything with highlighted elements. It will be working after process files.
But I'm not good in javascript so I can't help much. It is just such an idea.



49
bumciach
Re: Tickets System Module
  • 2010/3/17 11:37

  • bumciach

  • Not too shy to talk

  • Posts: 153

  • Since: 2007/6/25


Truth be told I did not think about release it. But if it can be useful for someone, why not...
First of all I have to do a translation into English (now only Polish) and add some several config options, which are now hard-coded.
Maybe next week :)



50
bumciach
Re: Tickets System Module
  • 2010/3/16 20:29

  • bumciach

  • Not too shy to talk

  • Posts: 153

  • Since: 2007/6/25


In our company we are using RequestTracker. So I have created front-end module for xoops. This is a simple form with a list of active queues in the database RT. User choose queue, give the subject, and describes the problem and XOOPS send e-mail to RT. And RT do the rest.




TopTop
« 1 2 3 4 (5) 6 7 8 ... 14 »



Login

Who's Online

191 user(s) are online (122 user(s) are browsing Support Forums)


Members: 0


Guests: 191


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits