DragonflyCMS 10
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexCVS Info
Author Message
NanoCaiordo
Developer


Joined: Jun 29, 2004
Posts: 3678
Location: Melbourne, AU

PostPost subject: DragonflyCMS 10
Posted: Thu Jul 24, 2008 2:50 pm
Reply with quote

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! ::.

NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL 5.1 / PHP 5.3 / NextGen()
Back to top
View user's profile Visit poster's website
WebSiteGuru
1000+ Posts Club


Joined: Jun 09, 2005
Posts: 2321

PostPost subject: Re: DragonflyCMS 10
Posted: Thu Jul 24, 2008 3:28 pm
Reply with quote

Looking forward to this changes. Very Happy
_________________
Lead Theme Designer - WebSiteGuru Designs

WebSiteGuru's 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
Back to top
View user's profile Visit poster's website Yahoo Messenger
Eestlane
I18N / L10N Lead Dev


Joined: Apr 06, 2005
Posts: 1406
Location: Estonia

PostPost subject: Re: DragonflyCMS 10
Posted: Thu Jul 24, 2008 5:48 pm
Reply with quote

Awesome!



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


Eestlane's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.0.63/5.0.67/5.2.8/9.2.1
Back to top
View user's profile Send e-mail Visit poster's website
greenday2k
Forum Admin


Joined: Aug 11, 2005
Posts: 484
Location: CO

PostPost subject: Re: DragonflyCMS 10
Posted: Thu Jul 24, 2008 9:49 pm
Reply with quote

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



greenday2k's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website MSN Messenger Yahoo Messenger
NanoCaiordo
Developer


Joined: Jun 29, 2004
Posts: 3678
Location: Melbourne, AU

PostPost subject: Re: DragonflyCMS 10
Posted: Fri Jul 25, 2008 8:56 am
Reply with quote

@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! ::.

NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL 5.1 / PHP 5.3 / NextGen()
Back to top
View user's profile Visit poster's website
bulldog500
Newbie


Joined: Feb 18, 2006
Posts: 7
Location: Seattle

PostPost subject: Re: DragonflyCMS 10
Posted: Fri Aug 01, 2008 5:47 pm
Reply with quote

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.


bulldog500's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
CPGNuke dragonfly
Back to top
View user's profile
BrokenCrust
500+ Posts Club


Joined: Sep 06, 2004
Posts: 503

PostPost subject: Re: DragonflyCMS 10
Posted: Sat Aug 02, 2008 8:36 am
Reply with quote

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?


BrokenCrust's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.17/5.0.91/5.2.16/9.2.1
Back to top
View user's profile
radiogetswild
500+ Posts Club


Joined: Apr 22, 2004
Posts: 685
Location: UK

PostPost subject: Re: DragonflyCMS 10
Posted: Sat Aug 02, 2008 9:12 am
Reply with quote

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


radiogetswild's 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 Vista
Back to top
View user's profile Send e-mail Visit poster's website Yahoo Messenger
NanoCaiordo
Developer


Joined: Jun 29, 2004
Posts: 3678
Location: Melbourne, AU

PostPost subject: Re: DragonflyCMS 10
Posted: Sat Aug 02, 2008 9:40 am
Reply with quote

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! ::.

NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL 5.1 / PHP 5.3 / NextGen()
Back to top
View user's profile Visit poster's website
gaban
Nice poster


Joined: Apr 26, 2005
Posts: 84
Location: Kuala Lumpur

PostPost subject: Re: DragonflyCMS 10
Posted: Thu Sep 11, 2008 4:50 am
Reply with quote

any ETA?

gaban's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
WinXP/2.0.54/4.1.12/5.0.4/9.0.8 cvs
Back to top
View user's profile Visit poster's website
NanoCaiordo
Developer


Joined: Jun 29, 2004
Posts: 3678
Location: Melbourne, AU

PostPost subject: Re: DragonflyCMS 10
Posted: Thu Sep 11, 2008 6:49 am
Reply with quote

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! ::.

NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL 5.1 / PHP 5.3 / NextGen()
Back to top
View user's profile Visit poster's website
WebSiteGuru
1000+ Posts Club


Joined: Jun 09, 2005
Posts: 2321

PostPost subject: Re: DragonflyCMS 10
Posted: Fri Sep 12, 2008 3:38 pm
Reply with quote

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

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

_________________
Lead Theme Designer - WebSiteGuru Designs

WebSiteGuru's 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
Back to top
View user's profile Visit poster's website Yahoo Messenger
WebSiteGuru
1000+ Posts Club


Joined: Jun 09, 2005
Posts: 2321

PostPost subject: Re: DragonflyCMS 10
Posted: Fri Sep 12, 2008 4:42 pm
Reply with quote

Nevermind, just found out that my server php version is 4 and DF 10 required php5.
_________________
Lead Theme Designer - WebSiteGuru Designs

WebSiteGuru's 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
Back to top
View user's profile Visit poster's website Yahoo Messenger
NanoCaiordo
Developer


Joined: Jun 29, 2004
Posts: 3678
Location: Melbourne, AU

PostPost subject: Re: DragonflyCMS 10
Posted: Fri Sep 19, 2008 2:49 pm
Reply with quote

Every now and then keep an eye on our Wiki
_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL 5.1 / PHP 5.3 / NextGen()
Back to top
View user's profile Visit poster's website
Eestlane
I18N / L10N Lead Dev


Joined: Apr 06, 2005
Posts: 1406
Location: Estonia

PostPost subject: Re: DragonflyCMS 10
Posted: Thu Sep 25, 2008 8:23 am
Reply with quote

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:
PHP:
$langchoose = file_exists('language/'.$currentlang.'/pagetitles.php')?$currentlang:'english';
require_once(
'language/'.$langchoose.'/pagetitles.php');

EDIT:
Or using built in function instead
PHP:
get_lang('pagetitles')
And now make it to load on every page.


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


Eestlane's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.0.63/5.0.67/5.2.8/9.2.1
Back to top
View user's profile Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexCVS Info All times are GMT
Go to page 1, 2, 3, 4, 5  Next
Page 1 of 5


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

stopsoftwarepatents.eu petition banner
User Info [x]

Welcome Anonymous

Nickname
Password
(Register)

Last CVS commits [x]

Languages [x]

Community [x]

Support for DragonflyCMS in a other languages:

Deutsch
Español

X-links [x]
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

Preview theme [x]
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.


You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
This page generated in 1.1002 seconds with 16 DB Queries in 0.0703 seconds
Memory Usage: 3.03 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy