General ⇒ DVCS Info (Mercurial/CVS) ⇒ DragonflyCMS 10 ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum IndexDVCS Info (Mercurial/CVS)

DragonflyCMS 10 Reply to topic

Go to page 1, 2, 3, 4, 5, 6, 7, 8 Next

As of today we will handle the PHP5 version of DragonflyCMS in Dragonfly 10 Project section.

Our road map is still the same and will be maintained. There are going to be some additions to Dragonfly's future, and one of them is in CVS already.

CVS already includes a new HOOK class, it's a simple and easy way to permit so called mods, plug-ins or hacks to be included in the core execution at different stages (which and where is to be discussed).

One more little change will be the ability to include mods, plugins and hacks template's data directly into $cpgtpl->assign_blockvars().

My main targets are:
- easy upgrades without the worry to lose any of your custom changes.
- give module developers more options to communicate with the core.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


Looking forward to this changes. Very Happy

Lead Theme Designer - WebSiteGuru Designs

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux 2.6.9 / Apache 2.2.6 / MySQL 5.0.27 / PHP 5 / DF Version 9.2.1


Awesome!



Is there any way to see the changes made and repository on the web for that branch like there is one for head?

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
-


Looks Great! Heres comes a BIG upgrade
the HOOK class is a awesome feature!

And it will turn updating high customizated websites into a easy job =)

Changes and custom settings will be stored on DB?

www.greenday2k.net

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


@Eestlane: its in HEAD, and will stay there only.

@greenday2k: is few words we will be placing hooks in different parts of the core, then you dedice which hook will include your specified file and/or execute your function (classes are supported as well).

At this point you will have unlimited possibilites and you decide where to load/save your custom settings, process the data, halt the execution with an error, redirect ... what ever you want and need.

We give you the ability to add your php code in the core without the need to edit core files, just add a record to cms_hooks.

cms_hooks fields wrote
type: 0=script, 1=tpl ...
active: possibility for site admins to enable/disable them.
cfile: required - this is the Core file you want to interact with eg: includes/classes/blocks.php
cfunc: optional - Core function where you want to fire up your script eg: init
hfile: required - path where your script is located eg: modules/your/file.php
hfunc: optional - the function you want to call eg: your_function


In few words you can include a file or execute a function inside or outside Core functions.
At this stage function arguments are not supported but they will pretty soon, I only need to get a decision about few things frist.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


The HOOK class is just what i needed at this time.

It will eliminate all my core hacks. For my
"Custom Menus Mod I have developed"

It currently has 28 different styled Menus that can load "anywhere" in dragonfly.
They include flyouts dropdowns tabs et etc and all are
customizable with their own css and or javscript and some include Icons. Each menu has it's own class.
New "Menu styles" can be "Installed" as plugins.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
PHP Version 7.0.6 + MariaDB + Dragonfly 9.4 Modified


This sounds really great to me (and for some of my modules).

Will it be possible to rewrite some core classes / functions as a custom mod and then load them instead of the core ones (so it loads the core only if a custom mod was not already loaded)? Not good for some things (templates / db engine etc, but would be useful to change things like pagination / header / main menu / blocks / search etc).

Is 10 going to be the next release or will there first be another 9.x release?

Please enter your server specs in your user profile! 😢


Many thanks for all your great work Nano we are looking forward to the new changes.

Dragonfly I feel this year is going though massive changes and upgrades and pushing towards a truly unique identity of its own of which is going to make it stand out from all other CMS's out there.

Once again to you and all the structural engineers and Module block and theme developers Thank-you for your dedication hard work and outstanding team work..

From Tim & Dee and all the crew at Radio Gets Wild

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
MySQL Version 5.0.45 PHP Version 5.2.6 apache is 1.3.41 Dragonfly 9.2.1 Windows 7


A DragonflyCMS 10 stable release is not going to happen anytime soon as it needs lot of work to be done. Hooks are a quick approach to get things moving to the right direction while all my questions gets answered, all our needs are satisfied and minimal modules changes are required to mantain compatibility and extending their reach.

OOP and Extended classes is the final target.

A 9.2 bug fix only release its on the way already, just keep under control our 9.2 Project page and you will know when we will release.

Next, we will include subforums in 10 and 9.2 as per roadmap.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


any ETA?

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
WinXP/2.0.54/4.1.12/5.0.4/9.0.8 cvs


Well, we have been testing subforums support in DragonflyCMS 10 and looks like all is fine at this stage.

Will includes them in 9.2 + all bug fixes and release an RC.

Just keep under control our project pages.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


I just tried to install the CVS to take a look at it, and I am getting this error:

Fatal error: Call to undefined function: stripos() in /home/***/includes/cmsinit.inc on line 30

Lead Theme Designer - WebSiteGuru Designs

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux 2.6.9 / Apache 2.2.6 / MySQL 5.0.27 / PHP 5 / DF Version 9.2.1


Nevermind, just found out that my server php version is 4 and DF 10 required php5.

Lead Theme Designer - WebSiteGuru Designs

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux 2.6.9 / Apache 2.2.6 / MySQL 5.0.27 / PHP 5 / DF Version 9.2.1


Every now and then keep an eye on our Wiki

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


The hook system is a bit confusing atm. And also some functions are still missing. For example for adding a hook. Ofcourse that can be done manually aswell.

I would like to know, which is the best way to load custom languagefile via hook system.

Example:
$langchoose = file_exists('language/'.$currentlang.'/pagetitles.php')?$currentlang:'english';
require_once('language/'.$langchoose.'/pagetitles.php');


EDIT:
Or using built in function instead
get_lang('pagetitles')

And now make it to load on every page.


EDIT2: Ideally it should be something like this I guess:
type: 0 (script)
active: 1 (enable)
cfile: includes/cmsinit.inc
cfunc: empty (optional)
hfile: none (required, though)
hfunc: get_lang('pagetitles')

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
-

All times are UTC
Go to page 1, 2, 3, 4, 5, 6, 7, 8 Next


Jump to: