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

Jump to content

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

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

#121 User is offline   ProFfessor 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 06-June 12

Posted 06 June 2012 - 06:42 AM

Great job, mr80. Thank you very much and continue this project please..
0

#122 User is offline   kevinwu 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 04-June 12

Posted 07 June 2012 - 12:42 AM

Thanks.How to logon backend?
0

#123 User is offline   mr80 

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

Posted 08 June 2012 - 04:43 AM

Hi all,

I have some news:

1/ I have deployed a small application for learning English vocabulary - Mywordbook.com (http://mywordbook.com).

2/ It has been built based on the gxccms.

3/ I want to use this app as a place where I can create more social features (message, news feed,...) for the cms, apply some optimization techniques (both frontend and backend) to improve the cms speed, and mobile versions.

Currently I have optimized a little Frontend (Mod_defalte, mod_expires), limit the requests by merging css,js files (thanks to minscript extension) . Going to optimize html and css.

4/ Going to install apc cache, and apply some cache strategy for page render and word definition.

If you have any ideas/suggestions about this project, please contact me.

Have a nice day.
- Yii developer
- My Freelance Service
- My Blog
- Gxccms - Open source Yii cms
0

#124 User is offline   unine 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 26-January 12

Posted 14 June 2012 - 10:24 PM

thank you it save my life from my boss :D
but one think i use php 5.2 it have error when create post
syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM on Object.php line 604 in core/cms1.0/models

i tried fix by this
i change this
return $class_name::buildLink($this);

to
return $class_name->buildLink($this);

and it work!!
is that a good way to fix?
im the new for yii and kind of oop
can any one suggests me ;D
0

#125 User is offline   mr80 

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

Posted 14 June 2012 - 10:26 PM

Upgrade your PHP to 5.3.10 ( btw, it has a security problem with php under php5.3.10)
- Yii developer
- My Freelance Service
- My Blog
- Gxccms - Open source Yii cms
0

#126 User is offline   unine 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 26-January 12

Posted 14 June 2012 - 11:02 PM

it shared host i think i can't do any thing about that but thank for your suggests i will pressure my hosting to upgrade it :P :P
0

#127 User is offline   unine 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 26-January 12

Posted 16 June 2012 - 01:33 AM

i don't know it a bug or i do something wrong in script
when i login with email at backend i can not user permission it said i don't have permission
but if i login with username it work ok :rolleyes:
0

#128 User is offline   cyphos 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 9
  • Joined: 13-March 12

Posted 16 June 2012 - 01:19 PM

Hello mr80

Congratulations for your open source GXC

After installing the core and the sample project, i have some problems
- in the frontend, I see the half of the page index
(see my screen 1
Posted Image
)
- in the backend, i logged (ok).
now i try to create an article; the page become white
(http://localhost:82/...te/type/article)

for infos,
- Apache/2.2.17 (Win32) PHP/5.2.17
- backend/frontend index.php, I defined the path define('CORE_FOLDER',dirname(dirname(dirname(__FILE__))).DIRECTORY_SEPARATOR.'core');


thanks you for your responses

Cyphos
France
0

#129 User is offline   unine 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 26-January 12

Posted 17 June 2012 - 09:17 AM

hay cyphos if you use php 5.2 you will get error same me see my post above it may solve your problem.
but the best way is like mr80 say should upgrade to php 5.3 but if you use on sharedhost i think nothing can do about that

now i install this on myvps and it work perfect hope this can help :D
0

#130 User is offline   cyphos 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 9
  • Joined: 13-March 12

Posted 18 June 2012 - 11:18 AM

hello unine

I changed of version PHP with Uwamp: now 5.3.5

and i see some errors

Quote

Strict standards: Declaration of GxcUser::login() should be compatible with that of CWebUser::login() in D:\UwAmp\www\Demo - Yii - GXC-CMS\core\cms1.0\components\user\GxcUser.php on line 183


thanks you
0

#131 User is offline   ametad 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 78
  • Joined: 08-February 12
  • Location:Holland

Posted 19 June 2012 - 06:39 AM

Hello 'world',

;) I tried this CMS too and got an error that is also reported earlier:

View Postah005, on 17 March 2012 - 08:12 AM, said:

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,


I got this error:
Declaration of GxcUser::login() should be compatible with that of CWebUser::login()


On a XAMPP config with PHP 5.3.8

Can anyone help me solve this?
0

#132 User is offline   mr80 

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

Posted 19 June 2012 - 07:36 AM

Try with this bros:

Changed php.ini setting from:

error_reporting = E_ALL * E_STRICT

to:

error_reporting = E_ALL ^ E_STRICT
- Yii developer
- My Freelance Service
- My Blog
- Gxccms - Open source Yii cms
0

#133 User is offline   ametad 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 78
  • Joined: 08-February 12
  • Location:Holland

Posted 19 June 2012 - 04:51 PM

View Postmr80, on 19 June 2012 - 07:36 AM, said:

Try with this bros:

Changed php.ini setting from:

error_reporting = E_ALL * E_STRICT

to:

error_reporting = E_ALL ^ E_STRICT


Thank you! I have changed it somewhat different:

The login function of GxcUser needed a default value for the 'duration' param to be fully compatible with CUser. So I changed the function to:

        public function login($identity, $duration=0)
        {
                return parent::login($identity, $duration);
				
        }


Another question

How does it work to get pages with different translations? I got stuck in te 'backend' trying to set the 'Number of Language Available' to more than 2. But it gave an error:
Site currently supports only 2 Languages

So I changed that number to 1 and saved: no error. But right after that I tried to set it back to a value of '2', now it gives me this error(!):
Site currently supports only 1 Languages

There is also a table gxc_language, filled with Vietnamese and English, but I cannot find an admin action in the code / CMS where the languages can be altered.

What do I have to do to get a multilanguage website? I hope you can help me out, help is appreciated!
0

#134 User is offline   mr80 

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

Posted 19 June 2012 - 08:38 PM

@ametad:

Updated the core with your fix. Thank you.

For languages, I haven't made CRUD for language table. I edit it manually in database. I added new language to db if neccesary.

I think you can implement it in the backend.
- Yii developer
- My Freelance Service
- My Blog
- Gxccms - Open source Yii cms
0

#135 User is offline   ametad 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 78
  • Joined: 08-February 12
  • Location:Holland

Posted 20 June 2012 - 01:53 AM

View Postmr80, on 19 June 2012 - 08:38 PM, said:

@ametad:

Updated the core with your fix. Thank you.

For languages, I haven't made CRUD for language table. I edit it manually in database. I added new language to db if neccesary.

I think you can implement it in the backend.


Thank you for your ideas. I have tried to add one more language: dutch (I am from Holland you see :) ) In the table gxc_language an extra row was added (3, nl_nl, Dutch, 0, 1, nl) but in the backend it still gave the error of:
Site currently supports only 2 Languages

The error came after I added the extra language. Why is this happening?
0

#136 User is offline   mr80 

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

Posted 20 June 2012 - 03:25 AM

I have a silly bug at https://github.com/n...ls/Language.php - line 119.

Now I comment the limit line.
- Yii developer
- My Freelance Service
- My Blog
- Gxccms - Open source Yii cms
0

#137 User is offline   ametad 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 78
  • Joined: 08-February 12
  • Location:Holland

Posted 20 June 2012 - 11:38 AM

View Postmr80, on 20 June 2012 - 03:25 AM, said:

I have a silly bug at https://github.com/n...ls/Language.php - line 119.

Now I comment the limit line.


Nice :) Now it works!
0

#138 User is offline   ametad 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 78
  • Joined: 08-February 12
  • Location:Holland

Posted 21 June 2012 - 05:16 AM

Mr80,

Your CMS looks realy nice! I hope I can ask you questions about it some more, because I am exploring it right now. I also try to help you too by clearing out some faulty English grammar.

Question: what about the .ini files in some of the directories?
0

#139 User is offline   ametad 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 78
  • Joined: 08-February 12
  • Location:Holland

Posted 21 June 2012 - 06:13 AM

And right away another post:

How did you plan to implement User login functionality on the frontend? I see the following Blocks implying user login functionallity: singin, singup, reset_password, recover_password, profile, account, active_user. On a testpage with the Signup Block on it, an error is given:
Property "UserRegisterForm.display_name" is not defined. 

What I want is a way for frontend users to sign-up (before) so the can react on a product on the website, that way I have the information of someone stored and do I know who reacted.

I also want translation on the frontend, just the same as on the backend with a drop-down. Can you tell me your ideas get this working?

Thank you in advance.

Greetings from Holland.
0

#140 User is offline   mr80 

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

Posted 21 June 2012 - 09:35 AM

Hi ametad,

1/ Ini files:

Ini files are used to define some information.

- For example, ini file in a block in front_blocks folder is used to define the block id, block name and the class associated with the the Block.

- The ini file in the front_layouts folder defines the regions of the layout...

2/ For user sign up, sign in:

I have commited the sample project with blocks like Sign up, Sign in, Reset password,...that I used for mywordbook.com project. You can check it. The mail won't work cause I use Amazon SES, you can disable it.

3/ Multiple languages frontend:

- Currently as you can see, the page can be translated into other language, these pages connect with other pages by the same guid.

- To translate stuff related to t('message'),...I am thinking a solution for this.
- Yii developer
- My Freelance Service
- My Blog
- Gxccms - Open source Yii cms
0

Share this topic:


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

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