Code Monkey home page Code Monkey logo

ionize's Introduction

Ionize CMS

Version: 1.0.8

Not released yet

About Ionize

Ionize is a free professional and natively multilingual PHP CMS, developed with user experience in mind.

Ionize is dedicated to webdesigners and web agencies to simply make their clients happy.

Ionize uses the PHP framework CodeIgniter.

Official website: http://www.ionizecms.com

Screenshot

Authors

Contributors

Installation

IMPORTANT: Before any update, make a backup of your database. We will not be responsible for any loose of data.

These instruction takes in account that this version is in developement.

  • From Ionize 0.9.x

    • Copy your database, you will start working with this copy,
    • Go in your 0.9.x config/config.php file and copy your encryption key in the new config/config.php file,
    • Launch the installer: http://your_domain/install
    • The installer will migrate the database and the user accounts
  • From Ionize 0.9.7 (dev version)

    • Copy your database, you will start working with this copy,
    • Go in your 0.9.6 config/config.php file and copy your encryption key in the new config/config.php file,
    • Launch the installer: http://your_domain/install
    • The installer will migrate the database (not the user accounts)
    • Launch ONE TIME ONLY: http://your_domain/install/?step=migrate_users_to_ci2

Code Migration

  • From Ionize 0.9.x

    • Tags were rewritten for a more logical use. Please refer to the documentation to see how to migrate your views.
  • From Ionize 0.9.6

    • Articles Tag: Change your <ion:article filter="title:!=''" > attributes from "title:!=''" to "title !=''" (remove ":")
    • Articles Tag: Change <ion:article filter="type:='your_type'"> to <ion:article type="your_type" >
    • Navigation Tag: Add the "level" attribute: <ion:navigation level="0" />

Updates

See CHANGELOG.md

ionize's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ionize's Issues

Wrong img src in demo data.

In demo data some images have /ionize-with_ci2/files/website/ path.
Please move this images to themes/demo/images folder, and make good path.

File types

with_last_mtfm - branch
In which file it is possible to change allowed file types for upload and preview.
Thanks!

Content Translations - Modules page error

Hi

On the Content Translations - Module (Tab) page there are a couple of errors for each module


A PHP Error was encountered

Severity: Notice
Message: Undefined index: Comments
Filename: core/Loader.php(679) : eval()'d code
Line Number: 143
A PHP Error was encountered

Severity: Warning
Message: implode() [function.implode]: Invalid arguments passed
Filename: core/Loader.php(679) : eval()'d code
Line Number: 143


text editor shows only as a textarea

Hi there,
I am very happy to see you are progressing, with 0.9.7...
I tried to create a website everything worked OK except the text editor shows only as a text area and the toggle button does nothing actually...
I have tried with several browsers and with none of them is working.

For offline languages return content from default language.

For example. I have en,de languages, en - default online, de - offline. Checked force language.
when i browse site/de/page i get content from site/en/page, but not 404, as i got when browse site/fr/page (because no fr language)

For offline languages return content from default language.

A PHP Error in Advanced settings -> Medias.

For some mime-types get error:

A PHP Error was encountered

Severity: Notice

Message: Array to string conversion

Filename: core/Loader.php(679) : eval()'d code

Line Number: 119

Default, demo, foundation themes nav and lang menu.

Demo theme - language menu broken(need repair).
Default theme - language and navigation menu broken(need repair).
Foundation theme - no language menu in view(need add in view).

Tested on latest master branch.

Error setting the Maintenance page

Hi

In Settngs -> Advanced Settings -> System (Tab)

Trying to set the "Maintenance Page" by dragging a page from the Menu into it gives this error


A PHP Error was encountered

Severity: Notice
Message: Undefined index: name
Filename: admin/setting.php
Line Number: 289


Version - 0.9.7 Downloaded the zip file this morning

filemanager throws errors

The popup shows errors like this

Error
There was no file specified or the file does not exist. (path = /)

In code it seems, the system do a parse-failure. The filemanager will check the path to the webpage-files with urls like this:

root/admin/media/filemanager/view/files/

Accents doesn't work in Titles

Hello,

I just discover Ionize and I find It really simple to use. But I have a little issue here and I hope to find a quick answer on it :)
When I create a new page, I have 2 languages : French & English, French language is my default language.
So when I wrote in the french section for the title of my page : " La société" and I click on save, my fields become blank in french. If I wrote only : "La Societe" it works, but whith accents I didn't find the way to fix this.

How can I fix that?

Thank you (and sorry for my bad english)

Add new tag for hiding code in views from parser.

Request for add new tag, ion:hide or ion:skip or global atribute for tags(like cache attribute) or something else - for hiding code from parser.
For example have and in "test" view have comments, as result wrong html in output.

Language navigation on first page

The language navigation on the home page doesn't work properly under the following circumstances:

  • The site's default language is e.g. 'en'
  • My browser's language is 'it'
    When I enter the home page, I see the italian version of the website, however, the "english" link in the language navigation points to the root of my website (e.g. www.example.com). So clicking on the english link doesn't show me the english version of the website.

Tested on the latest version of the develop branch (d193575)

Problème d'encodage des caractères

Bonjour,

ayant installé hier en local (MAMP) la dernière version de Ionize. J'ai fait un petit test pour intégrer une carte google map dans un article (via une iframe).

Peu importe la façon dont j'ai collé le code à travers le textarea de saisi de texte, le code est mal interpreté et les balises HTML se voient transformées en entités HTML (&lgt; , ...). J'ai essayé via la fonction "HTML" de l'éditeur par défaut, et via le bouton "Show / Hide source HTML" situé en dessous de ce textarea, rien à faire...

Capture : http://images.akibatech.fr/images/capture201.png

Datepicker in admin section doesn't work when "timePicker" = false

When developing a new module I needed a datepicker without the time. However if you set the timePicker setting to false, the date is no longer updated in the attached textbox.

The code i'm using is the following:

    var datepicker = new DatePicker('.date', {
        pickerClass: 'datepicker_dashboard', 
        timePicker: false,
        format: 'd-m-Y', 
        inputOutputFormat: 'Y-m-d',
        allowEmpty:true,
        useFadeInOut:false,
        positionOffset: {x:-30,y:0},
        onSelect: function(d, input) { }
    });
    datepicker.attach($$("#someselector"));

exception_image_resize in thumbs generation when change the files directory

i've changed the files path to "d/" to get shorter urls, then when in the admin panel i add a picture in a path that contains a letter "d", it throws a ionize_exception_image_resize.
After debugging and tracing the exception i've found the bug:

in the controllers/admin/media.php file on Line 759
$thumb_path = FCPATH.Settings::get('files_path'). str_replace(Settings::get('files_path'), '/.thumbs', $picture['base_path']);
i added a trailing slash to files_path and .thumbs
$thumb_path = FCPATH.Settings::get('files_path'). str_replace(Settings::get('files_path').'/', '/.thumbs/', $picture['base_path']);

and the same for the line 856
$thumb_path = FCPATH . str_replace(Settings::get('files_path').'/', Settings::get('files_path').'/.thumbs/', $picture['base_path'] );

thumbnail creation problem

I'm having a issue with the add media file manager, when I upload a new image, it uploads the image to files/somepicture.png

The problem is where on the website, take for example the homepage slide show. If I upload a new image, and attach it to the slideshow, rather than link to http://localhost/files/somepicture.png it points to http://localhost/files/thumb_940/somepicture.png

And it fails to create the image in that folder.
Really I don't require thumbnail generation, I just want it to be able to get the path right with the real uploaded picture.
I don't expect you to change anything in your system, just let me know what steps to use in order to disable the thumb_??? path so i can use the cms.

Article's global scope

What happened with the "set_global_scope" function in "application/libraries/Tagmanager/Article.php" ?
if I try to search for an article like so:

<ion:articles type="privacy" scope="global">...</ion:articles>

I get an error, the "set_global_scope" function is missing"

Media Manager Fatal error

When I try to access media manager I get

Fatal error: Call to undefined function fnmatch() in E:\Projects\studio_casa\application\libraries\Filemanager\Tooling.php on line 101

I use 0.9.7 downloaded from the website

Some Issues and Some Suggestions

1 - When i use Textarea + Editor bold / italic on the text area content element section on the page not working!
2 - Could not see Administration interface languages settings!
3 - If you use tree navigation on front site if menu have child menu menu lang support not working when you click the menu page opening in default lang.

Suggestion
Can you put content element tab near to articles tab?
Add media to content element?
Rich text editor like article editor?

<ion:articles from=""> not working

Hello

Their is an issue with the ion:article tag in combination with the from="". This issue is mostly a "fork" of the forum topic found here:
http://www.ionizecms.com/forum/viewtopic.php?id=621

I posted an ugly workaround their, which should be possible with ion:articles from="parent" .

As I am currently starting learning PHP I am not already able to see the error/to fix.

Thank you for having a look.

Kindly Regards,
MaddinXx

Menu management Fixed introduced bug

In the admin theme's views, the menu.php where moved to it's own folder, though in the controller, the change hasn't been properly reflected:

application/controllers/admin/menu.php : 54
$this->output('menu');
should become:
$this->output('menu/menu');

No thumbnails created for sizes larger than the image size

When the thumbnails are about to be created, sizes that are larger than the image itself are skipped. Because of that, if a 500x500 image is uploaded, the parts where a 600 pixels wide image is required are left blank.
This is (intentionally?) caused by the following if condition on application/libraries/Medias.php, line 247 (as per version 0.9.7.7)

if ($dim[$settings['master_dim']] >= $settings['size']) 
{
    ...
}

Commenting out the if condition "fixes" the "problem", creating upscaled "thumbnails" of images.

While it makes sense that thumbnails, by definition, are the smaller versions of original images, some websites may contain many different sizes of images ranging from 100x57 to 1920x1080. For example, the editors of a news site might upload small sized images at first, and upload more detailed and bigger images later as more details about the news come in.

The CMS should compensate for these missing images. Here's my suggestions:

  • A new option is added to the Administrator panel which allows the upscaling of images
  • If the asked size for the thumbnail is larger than the image itself, the image is merely cloned
  • When a thumbnail is requested via <ion:src folder="folder_name" />, and the CMS is about to return the filename, it first checks if the file actually exists, and if not, it returns the path to the original image

Media tags: range with limit does not work

Version:

0.96

Description:
range and limit for media tags does not work...

<ion:medias type="picture" range="1,2" limit="2" >
    <a href="<ion:src />"><img src="<ion:src folder="small" />" /></a>
</ion:medias>

throws a php notice, and limit with range does not work as expected.

Error

Severity: Notice
Message: Undefined variable: num
Filename: Tagmanager/Page.php
Line Number: 1396

Solution:
Tagmanager/Page.php on line 1396

if ($index >= $from && $i < $num)

should be:

if ($index >= $from && $i < $limit)

how to load module into template layout

Hi gyus i am finished couple of modules but i can't load the module into theme template.i am getting error :

"Missing tags "regestration" : scope""

Please help me with that, i need it very badly for my client.

Thankx

Connect library privilege escalation

When using the connect library, if one checks for the user belonging to the editors group first, and then checks if it is an admin, the library will return true also if the user is just an editor.

  • Log in as an editor
  • $connect->restrict('editors', TRUE) >>> TRUE
  • $connect->restrict('administrators', TRUE) >>> TRUE

This is because the groups belonging to the editors slug remain in cache ($this->groups in the Connect library) also when executing the second query.

The issue is on the following line:
https://github.com/ionize/ionize/blob/tags_test/application/libraries/Connect.php#L661

This error happens to me when I try to restrict a particular area of a module's admin section from non-admin users:

<?php if(Connect::get_instance()->restrict('admins', TRUE)){ ?>
    This is only visible by admins
<?php } ?>

However, the above code does not restrict editors from viewing the restricted content!

CSRF Protection prevents loading of articles on the admin panel

I also posted this on the forums, but here goes.

While the CSRF protection was enabled, when I tried to edit an article on the admin panel, I realized that the AJAX request to admin/tree/get was responded with the following (response code 500);

An Error Was Encountered

The action you have requested is not allowed.

As a result, the article tree was not loaded. Investigating a little bit further made me realize that the request doesn't even get to the get() function on the tree controller.

Ionize fails to runs on native Apache, MySql, PHP installed environment.

I have installed Apache, MySql, PHP installed seperately. Ionize works flawlessly in WAMP Server, but does not work in the separately installed environment.

I didn't collect all the error encountered, but the one that keeps on showing is

Fatal error: Call to a member function num_rows() on a non-object in ...\application\models\article_model.php on line 224

The same extracted folder runs perfectly if copied to WAMP's directory.

I am guessing some of the extensions needed to run Ionize are not available.
I have enabled the following extension.

php_curl.dll
php_gd2.dll
php_mbstring.dll
php_mysql.dll
php_mysqli.dll
php_openssl.dll
php_pdomysql.dll
php_pdo_sqlite.dll
php_soap.dll
php_sockets.dll
php_tidy.dll

Help me solve this issue

mailto: javascript

Hello

When inserting a mailto: link (I did not test a normal link, but I don't think this happens there) the output is someting linke

//';l[1]='a';l[2]='/';l[3]='<';l[4]='|104';l[5]='|99';l[6]='|46';l[7]='|101';l[8]='|116';l[9]='|112';l[10]='|101';l[11]='|122';l[12]='|110';l[13]='|111';l[14]='|107';l[15]='|109';l[16]='|117';l[17]='|97';l[18]='|114';l[19]='|45';l[20]='|114';l[21]='|103';l[22]='|102';l[23]='|64';l[24]='|111';l[25]='|102';l[26]='|110';l[27]='|105';l[28]='>';l[29]='"';l[30]='|104';l[31]='|99';l[32]='|46';l[33]='|101';l[34]='|116';l[35]='|112';l[36]='|101';l[37]='|122';l[38]='|110';l[39]='|111';l[40]='|107';l[41]='|109';l[42]='|117';l[43]='|97';l[44]='|114';l[45]='|45';l[46]='|114';l[47]='|103';l[48]='|102';l[49]='|64';l[50]='|111';l[51]='|102';l[52]='|110';l[53]='|105';l[54]=':';l[55]='o';l[56]='t';l[57]='l';l[58]='i';l[59]='a';l[60]='m';l[61]='"';l[62]='=';l[63]='f';l[64]='e';l[65]='r';l[66]='h';l[67]=' ';l[68]='a';l[69]='<'; for (var i = l.length-1; i >= 0; i=i-1){ if (l[i].substring(0, 1) == '|') document.write("&#"+unescape(l[i].substring(1))+";"); else document.write(unescape(l[i]));} //]]> ">

Regards,
MaddinXx

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.