Giter VIP home page Giter VIP logo

gxc-cms-2's People

Contributors

nganhtuan63 avatar

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

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

gxc-cms-2's Issues

incorrect password or username

i can't login to gxc cms,
i already tried to input username : admin, and password : 123456
and i receive alert "incorrect username or password"

ContentList not filtering based on language selection

Hi,

The ability to filter on language selection is not implemented at all. In the file GxcHelpers.php within method getContentList() you need to update the code to be as follows:

                        $condition .= ' or (object_id in (select object_id from `{{tag_relationships}}` where tag_id in (' . $tag_id_list . ')))';
                    }

                    //criteria not newest
                    if ($model->criteria != ConstantDefine::CONTENT_LIST_CRITERIA_NEWEST) {
                        $criteria_field = 'object_view DESC';                                             
                    } 

                    $criteria = new CdBCriteria(array(
                        'condition'=>$condition,
                        'params'=>$params,
                        'order'=>$criteria_field,
                        'limit'=>isset($max)?$max:$model->number,                                
                    ));


                    // Language constraints. ID#0 means all languages so we only apply the conditional if the ID#0 is not set.
                    if (!in_array(0, $model->lang)) $criteria->addInCondition('lang', $model->lang);

                    if ($return_type == ConstantDefine::CONTENT_LIST_RETURN_DATA_PROVIDER && $model->number >=1) { 

                        $sort = new CSort('Object');
                        $sort->defaultOrder='t.object_date DESC';
                        $sort->attributes = array('object_view' => array('asc'=>'object_view ASC',
                                                                         'desc'=>'object_view DESC',
                                                                        ),
                                                  'object_date'=>array('asc'=>'t.object_date ASC',
                                                                       'desc'=>'t.object_date DESC',
                                                                      ),
                                                );                    

                        return new CActiveDataProvider('Object',array(
                                'criteria'=> $criteria,
                                'pagination'=>array('pageSize' => isset($max) ? $max : $model->number * $page_number, 'pageVar'=>'page'),
                                'sort'=>$sort,
                        ));
                    }

                    return Object::model()->findAll($criteria);
                }
                else {
                    //manual

Remove Amazon from storage ini file until it is developed

Under common/storages/info.ini remove this line:
storages[amazon] = AmazonStorage

It should only be put back in once the AmazonStorage class is actually developed.

You should also create an Interface called StorageInterface and have both classes implement this interface. This will make it easy for other developers to build their own storage interfaces without having to reverse engineer your storage classes.

SystemSettingsForm.php has depreciated field $language_number

SystemSettingsForm.php has depreciated field $language_number which stops you from submitting the form at /backend/settings/index/type/system due to a validation error.

This field is not referenced anywhere else throughout the entire project so I presume it is deprecated.

can't install

hi, I've trying to install using the tutorial but is give me this error

Not Found
The requested URL /gxcmstest/backend/install was not found on this server.
Apache/2.2.22 (Ubuntu) Server at localhost Port 80

The file is exist in my server, do I have to create .htaccess file or edit something?

Thanks in advance.

No install forlder

I want to create a local web site,so I follow the five steps in the document given on https://docs.google.com/document/d/1EBDb7WpepBfwV6LjOfx-UdvcoVxQDSZARx_lZnnfe3E/edit ,when I visit the site http://localhost/project/backend/ ,it would be redirected to http://localhost/project/backend/site/login and shows me 404 not found.I check the folder /home/webroot/project/backend/ and found that there is no folder named install.I have no idea what to do next. Is there anyother document ?

View object content details in frontend

Hi,

When I click in the title of the article from homepage, I redirect to the url like this /page?slug=post&id=5&pslug=this-is-the-sample-post-2

This page only show the right sidebar content, not show the content of the article !

Caching

Version 2 has caching issues. Clearing cache works only for backend cache. Frontend has it's own cache folder which is not cleared.

500 Internal Server Error while Installing

While accessing the /backend/install folder... the following error is thrown up:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at admin@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

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.