Yii Framework Forum: Open Source Yii CMS - GXC CMS - Yii Framework Forum

Jump to content

  • (13 Pages)
  • +
  • « First
  • 3
  • 4
  • 5
  • 6
  • 7
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Open Source Yii CMS - GXC CMS Rate Topic: ***** 14 Votes

#81 User is offline   Jenengku dayat 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 14-March 12

Posted 16 March 2012 - 02:43 AM

@mr80

which SAMPLE CODE ..??
where I get a SAMPLE CODE?

sory, Iam newbie in Yii & GXC
0

#82 User is offline   Rajith R 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 850
  • Joined: 20-April 11
  • Location:India

Posted 16 March 2012 - 05:25 AM

View PostJenengku dayat, on 16 March 2012 - 02:43 AM, said:

@mr80

which SAMPLE CODE ..??
where I get a SAMPLE CODE?

sory, Iam newbie in Yii & GXC



Look Here

https://github.com/n...lock_output.php
Rajith Ramachandran,
Wiwo inc.
| Mobile: 919995504508
0

#83 User is offline   Rajith R 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 850
  • Joined: 20-April 11
  • Location:India

Posted 16 March 2012 - 05:26 AM

Thanks mr80..
Rajith Ramachandran,
Wiwo inc.
| Mobile: 919995504508
0

#84 User is offline   Rajith R 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 850
  • Joined: 20-April 11
  • Location:India

Posted 16 March 2012 - 06:43 AM

pls inform us after all updates..nice work mr80
Rajith Ramachandran,
Wiwo inc.
| Mobile: 919995504508
0

#85 User is offline   ah005 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 17-March 12

Posted 17 March 2012 - 08:12 AM

hello I have a problem on easyphp 5.3.8 it didn't happen with me on wamp 2.0i

when I finished successfully from installing gxc cms and I went to the backend/frontend it got the following error:

Strict Standards: Declaration of GxcUser::login() should be compatible with that of CWebUser::login() in C:\Program Files\EasyPHP\www\framework\gxc\core\cms1.0\components\user\GxcUser.php on line 167Error 500Declaration of GxcUser::login() should be compatible with that of CWebUser::login()


please help me.
thank you,
0

#86 User is offline   bigxu 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 15
  • Joined: 12-April 10

Posted 18 March 2012 - 02:19 AM

greate work
0

#87 User is offline   Jenengku dayat 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 14-March 12

Posted 18 March 2012 - 09:32 PM

@Rajith R

thank you Bro
0

#88 User is offline   bigxu 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 15
  • Joined: 12-April 10

Posted 27 March 2012 - 01:18 AM

function replaceTags has bug, when $newTitle is number.

	 function replaceTags($startPoint, $endPoint, $newText, $source) {
	    return preg_replace('#('.preg_quote($startPoint).')(.*)('.preg_quote($endPoint).')#si', '$1'.$newText.'$3', $source);
	 }
	 
	 return preg_replace('#('.preg_quote($startPoint).')(.*)('.preg_quote($endPoint).')#si', '${1}'.$newText.'${3}', $source);

0

#89 User is offline   mr80 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 70
  • Joined: 21-December 10

Posted 27 March 2012 - 02:01 AM

@bigxu:

Thank you bro!

Fixed it with your help!

Nice day
- Yii developer
- My Freelance Service
- My Blog
- Gxccms - Open source Yii cms
0

#90 User is offline   SapporoGuy 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 177
  • Joined: 25-December 10
  • Location:Sappor Beer Refinery

Posted 02 April 2012 - 04:19 PM

The instructions to install are really confusing! :(

I have:
gxc

-- core

----assets
----components
----extensions
----gii
----models
----modules
----widgets
----yii

--project

----avatar
----backend
----common
----frontend
----README
----resources
----thumbs
----tmp

Is this right?

When I try to install or even visit backend, I get:
http://gxc.local/project/backend/

backend index:
$yii=CORE_FOLDER.'/yii/framework/yii.php';


include(BeController.php): failed to open stream: No such file or directory in /Users/gxc/Sites/gxc/core/yii/framework/YiiBase.php on line 418

I know I'm doing something wrong but just not sure where to start looking since the instructions uses sample, demo or project :(
0

#91 User is offline   sparkcom 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 08-November 11

Posted 03 April 2012 - 10:47 AM

thanks very much of your hard work. will check it out.

I was trying to find out how to borrow the CMS ideas of Wordpress to make a nice CMS based on Yii. What you are doing is simliar to what i was seeking...
0

#92 User is offline   bigxu 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 15
  • Joined: 12-April 10

Posted 06 April 2012 - 04:20 AM

may be is is a bug:


primary(unique) key is (object_id,term_id) in table gxc_object_term;
(object_id,1) perhaps exist before updateall


        protected function beforeDelete(){
            
            // If this is the category : Uncategory - we won't delete it 
            
            if($this->term_id==1){
                Yii::app()->controller->redirect(isset($_POST['returnUrl']) ? $_POST['returnUrl'] : array('admin'));
                return false;
            } else {
                // If this category is not empty, first move all of its content to Uncategory 
                ObjectTerm::model()->updateAll(array('term_id'=>1),'term_id = :current_id',array(':current_id'=>$this->term_id));
                return true;
            }
           



my english is poor, so post two images

Attached File(s)

  • Attached File  2.jpg (38.86K)
    Number of downloads: 59
  • Attached File  1.jpg (87.15K)
    Number of downloads: 56

0

#93 User is offline   mr80 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 70
  • Joined: 21-December 10

Posted 06 April 2012 - 05:04 AM

@Bigxu:

Can you describe it in more detail?
- Yii developer
- My Freelance Service
- My Blog
- Gxccms - Open source Yii cms
0

#94 User is offline   SapporoGuy 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 177
  • Joined: 25-December 10
  • Location:Sappor Beer Refinery

Posted 06 April 2012 - 05:20 AM

How do you install this?
0

#95 User is offline   bigxu 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 15
  • Joined: 12-April 10

Posted 06 April 2012 - 05:35 AM

View Postmr80, on 06 April 2012 - 05:04 AM, said:

@Bigxu:

Can you describe it in more detail?


sorry :)

i will study english hard :-[
0

#96 User is offline   mauricioschneider 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 152
  • Joined: 16-August 10
  • Location:Santiago, Chile

Posted 06 April 2012 - 09:14 AM

View Postjacmoe, on 09 February 2012 - 04:46 PM, said:



Nice, I was wondering how you did that in bugitor and the rest of your projects :D
0

#97 User is offline   bigxu 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 15
  • Joined: 12-April 10

Posted 09 April 2012 - 01:37 AM

after i add column to table,i must clear cache;

i think you put table struct in cache. how did you make it? where is the code?

thank you
0

#98 User is offline   Chris-S 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 32
  • Joined: 08-January 12
  • Location:Ohio

Posted 09 April 2012 - 08:10 AM

View PostSapporoGuy, on 06 April 2012 - 05:20 AM, said:

How do you install this?

( YOU NEED TO BE FAMILIAR WITH YII FRAMEWORK BEFORE WORKING WITH THIS CMS)

So at first, you have to clone the two source :

CORE : GXC-CMS (https://github.com/nganhtuan63/GXC-CMS) PROJECT NAME : Sample-Project ( https://github.com/n.../Sample-Project ) For example, after cloning in our www directory, we have this structure:

|-gxc

|————core

|-project

|————backend

|————common

|————frontend

From here, you need to configure some PATH to CORE Folder, and basic INFO LIKE SITE_NAME, SUPPORT_EMAIL,...! With this structure, you can create multiple projects that use the same CORE folder.

1/ In file Common/config.php

Browse to line 90 and change Database Information

For the first installation, make sure we don’t use session handle by Db, so comment these lines that use session db components on line 139

2/ In file Common/define.php and Common/define-test.php (*)

Edit basic Information that your site will use to run in official or developing mode

3/ In file frontend/index.php, backend/index.php ()**

Check to make sure that the PATH to CORE FOLDER is CORRECT on line 12 (*)(**) – In your local machine, when developing, you should create an index-test.php file in backend and frontend folder. In that file point to (FRONT|BACK)END/protected/config/test.php and use COMMON/define-test.php. You can reference these files examples at common/local/frontend-index-test.php and common/local/frontend-index-test.php.

When using index-test.php, please make sure to change .htaccess in FRONTEND|BACKEND to use index-test.php RewriteRule ^.$ index.php [L] ==> RewriteRule ^.$ index-tesxt.php [L] 4/ After edit all information, run **

Remove .locked file in Common folder

http://localhost/sam...d/beinstall/run to install Database script to start!

That’s all for setting up the first application. Hope it run well. Feel free to contact or add issue tickets to this project.

Have a nice day and happy coding you guys!
ARC cms - www.goarc.org
Yii based cms with mybb forum software integrated!
0

#99 User is offline   ekerazha 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 525
  • Joined: 10-October 08
  • Location:European Union

Posted 11 April 2012 - 04:42 AM

This is a perfect example of why Yii config should be storable in the database to be easily customizable from a web interface instead of having to edit webapps files (only the Db config - db server, user, pass etc. - could be stored into a file).

This post has been edited by ekerazha: 11 April 2012 - 04:49 AM

Yii user #37
0

#100 User is offline   SapporoGuy 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 177
  • Joined: 25-December 10
  • Location:Sappor Beer Refinery

Posted 12 April 2012 - 06:22 AM

Thanks!

Tried that but cms1.0 folder is coming up from
Somewhere and not exactly sure ... Htaccess is suspect at the moment.
0

Share this topic:


  • (13 Pages)
  • +
  • « First
  • 3
  • 4
  • 5
  • 6
  • 7
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users