#1 2010-11-10 00:34:54

toopixel
Ionize Core Team
From: Geneva
Registered: 2010-04-20
Posts: 272
Website

Pure PHP in views !

Just wanted to claim it because it's a huge victory for Ionize, after hours and hours of hard work and brainstorming with Michel-Ange, we managed to find a very good solution so that webdesigners can use pure php in their website views, including template tags in their PHP !

Yes, in the next Ionize version, you'll be able to make things like <?php echo '<ion:title />'; ?> or whatever else you want with PHP directly in your views without having to pass php to the now useless <ion:php /> tag !!!

Just wanted to shout it loud, among all the new features of the upcoming 0.9.6 this is really the most incredible one smile


Too Pixel is a web agency located in Geneva, Switzerland

Offline

#2 2010-11-10 02:35:44

ukyo
Community Manager
From: Marmaris - Turkey
Registered: 2010-05-19
Posts: 734
Website

Re: Pure PHP in views !

nice voices coming before v. 0.9.6 smile


<ion:ukyo from="Turkey" />
Ionize CMS Türkçe Dil Çeviri Dosyaları | My Github Repositories
Please send your first message to a forum section, not forum users or administration.

Offline

#3 2010-11-10 10:09:32

Kink
Ion Tester
From: France
Registered: 2010-06-04
Posts: 581

Re: Pure PHP in views !

Ho yes, I cry tears of milk ^^

Too borring to display little php views (too many files) in ion view like this :

<?=date('Y');?>

But... but, when ? What is the date for the next release ? smile

Last edited by Kink (2010-11-10 10:10:04)


Webmaster / OUF!WEB

Offline

#4 2010-11-10 10:52:49

toopixel
Ionize Core Team
From: Geneva
Registered: 2010-04-20
Posts: 272
Website

Re: Pure PHP in views !

As usual we can't say a precise date. Firstly we'll release a tester version probably next week, then the official release may come 1-2 weeks later, so don't expect the 0.9.6 to be officially release before end of November 2010.


Too Pixel is a web agency located in Geneva, Switzerland

Offline

#5 2010-11-10 11:39:30

toopixel
Ionize Core Team
From: Geneva
Registered: 2010-04-20
Posts: 272
Website

Re: Pure PHP in views !

Kink, just one remark, you could have done <ion:php> date('Y'); </ion:php> instead of loading a small view for doing this (I agree that this was not the best syntax, but it was working since 0.9.5).


Too Pixel is a web agency located in Geneva, Switzerland

Offline

#6 2010-11-10 14:44:01

Kink
Ion Tester
From: France
Registered: 2010-06-04
Posts: 581

Re: Pure PHP in views !

Hooo, thanks Toopixel, i didn't know the <ion:php> tag.

It's good for example to show copyright in the footer.

<li>©<ion:php>date('Y');</ion:php> - YourBrand</li>

Webmaster / OUF!WEB

Offline

#7 2010-11-10 14:54:58

toopixel
Ionize Core Team
From: Geneva
Registered: 2010-04-20
Posts: 272
Website

Re: Pure PHP in views !

Yeah many features are not documented as the User guide is still outdated, but Michel-Ange started to work on the new user guide today, 0.9.6 will come with a shiny new up to date documentation wink


Too Pixel is a web agency located in Geneva, Switzerland

Offline

#8 2010-11-10 15:27:29

Kink
Ion Tester
From: France
Registered: 2010-06-04
Posts: 581

Re: Pure PHP in views !

Yes a new documentation is very welcome, our 0.9.3 doc is very out of date tongue


Webmaster / OUF!WEB

Offline

#9 2010-11-10 15:29:01

Kink
Ion Tester
From: France
Registered: 2010-06-04
Posts: 581

Re: Pure PHP in views !

Hey...
what about an online doc in the admin panel, with an automatic update ? Instead of doing PDF and PDF and PDF... and so on ?


Webmaster / OUF!WEB

Offline

#10 2010-11-10 15:33:03

toopixel
Ionize Core Team
From: Geneva
Registered: 2010-04-20
Posts: 272
Website

Re: Pure PHP in views !

The new documentation will be in HTML, like they did for CodeIgniter, and which we found very convenient to maintain and distribute.


Too Pixel is a web agency located in Geneva, Switzerland

Offline

What's Ionize ?

Ionize is an Open Source Content Management System created by webdesigners for webdesigners.

Created and maintained by Partikule and Toopixel, Ionize wants to be the easiest and most powerful CMS.

Can I help ?

Because talent is nothing without involvement, we are looking for motivated coders and webdesigners to join the project team.

Resources

Website : ionizecms.com
Documentation : doc.ionizecms.com

Development : Ionize on GitHub
Translations : Ionize Translations