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

Jump to content

  • (13 Pages)
  • +
  • « First
  • 8
  • 9
  • 10
  • 11
  • 12
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

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

#181 User is offline   mr80 

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

Posted 09 October 2012 - 09:21 AM

@bimatix:

Do you mean: you have a module xyz, inside that module you have a controller and an action. Now, you want a page (with the layout like other pages but the content render will be based on the action. Is it right?

If that is your case, I will do it as follow:

1/ I will create a new block called, XYZ Module Render.
2/ Put that Block in the Region I want
3/ Inside the renderContent() of the Block, I will call the action from that Controller (I haven't tested this but I found some thread about calling other controller's action)

But in fact, I really don't like this approach and I haven't implemented the cms to support it that way. I don't know much about your current situation with the module (render the module based on the current site layout or call an action of module which won't render anything, just do some logic code,...). It will be better for me to understand if you can tell a real example. I will think about it for the next version of the cms.

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

#182 User is offline   bitmatix 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 162
  • Joined: 23-March 09

Posted 10 October 2012 - 03:45 AM

@mr80:

thank you for your reply.

we are building websites for some car dealers here in germany and we are looking for a solution to handle all the stuff like location information, events, special offers with a cms. we also show the vehicles of the dealers on their websites with a module ("vehicleAds") which fetches the vehicles from a provider by an API. the module contains a vehicle search, list and the detail views of the vehicles. The caching of the vehicles and some other stuff which belongs to the vehicles is handled by the module.

Here is an example (all the pages belong to the module):

Search: http://www.britcars....uchtwagen/suche
List: http://www.britcars....uchtwagen/liste
Detail page: http://www.britcars.....0-crd-se-klima

All the others pages could be handled by a cms like yours :-)

Cheers!
0

#183 User is offline   mr80 

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

Posted 11 October 2012 - 01:55 AM

@bimatix:

As we discussed through PM, I've implemented the core to support the feature: merging single blocks to a folder. Please update the new source code.

Hope this helps!

Happy coding!
- Yii developer
- My Freelance Service
- My Blog
- Gxccms - Open source Yii cms
0

#184 User is offline   jr jonny 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 08-October 12

Posted 12 October 2012 - 04:40 AM

if you want add to file /core/cms1.0/models/resource/resource.php

122 $this->created=$this->updated=time();
123 $this->creator=user()->id;
this >> $this->resource_path = str_replace('\\', '/', $this->resource_path);

On windows images saves as dir\dir\filename and no preview in resource admin module and nowhere :(
0

#185 User is offline   Deepan 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 8
  • Joined: 12-April 12
  • Location:www.techooks.com

Posted 23 October 2012 - 12:43 AM

Hi,Tuan Nguyen

your Class Representation not version compatible in php 5.2.... versions..

Bug 1:

parsing ini files:

don`t specify Regions:

[region]
(wrong)
region[0]=Header
region[1]=Content
region[2]=Footer

[region]
(Right)
region[]=Header
region[]=Content
region[]=Footer

php 5.2 version not parse those ini files.

Bug 2

Dynamic Class Call`s in

below modules :
Resources and Object

dont call functions as $classname::finctionName(); (wrong)

create object references then use it for functoon call.

if any clarifications, Pls post... on this
0

#186 User is offline   mr80 

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

Posted 23 October 2012 - 01:29 AM

@Deepan :

Thank you for your guide.

Bug 1: I will update it. I received many feedback about this bug as they are using php 5.2. Thank you very much.

Bug 2: Can you show me the way you would call? (An example please,...)
- Yii developer
- My Freelance Service
- My Blog
- Gxccms - Open source Yii cms
0

#187 User is offline   raghul 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 06-September 12
  • Location:Kerala,India

Posted 05 November 2012 - 02:26 AM

how can i setup these to local system? am new in yii
Rag
0

#188 User is offline   Saeed Kafrashi 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 27-October 12
  • Location:Tehran

Posted 20 November 2012 - 03:04 AM

Thank you mr80, I like to join this too!
0

#189 User is offline   moginn 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 29
  • Joined: 07-April 12
  • Location:Spain

Posted 22 November 2012 - 04:14 PM

hi, I have a problem with the cms.

Every time I access localhost/project/backend/beinstall/run

i got the following error:

Internal Server Error

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

Please contact the server administrator, admin@HG532.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

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

0

#190 User is offline   innocube 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 19-February 12

Posted 23 November 2012 - 04:05 AM

Hi guys,

A wonderful yii project!
I installed GXC and trying to log in to the backend. Can anybody help me how can I do that?

Thank you!
0

#191 User is offline   innocube 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 19-February 12

Posted 23 November 2012 - 04:13 AM

View PostHgTAn, on 21 May 2012 - 01:05 PM, said:

you can skip this step (beinstall/run) and follow the instructions below

Step 1: import db to phpmyadmin (..common\data\data.sql)

2: Replace some default attributes in table gxc_user: (default admin/123456)
password (function md5) 123456sdad12313ssgdpahcxrwwqas (123456.USER_SALT)
salt : sdad12313ssgdpahcxrwwqas

3: Replace some default attributes in gxc_settings (option)

Done. Go back and login!!!


Hi,

I have a question for you.
If I edit gxc_user's password to [123456sdad12313ssgdpahcxrwwqas] & salt to [sdad12313ssgdpahcxrwwqas], should I be able to login as admin/123456?
0

#192 User is offline   Bucephaluz 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 30-November 12
  • Location:India

Posted 01 December 2012 - 09:11 AM

hi,

have you completed the testimonial module?

i am just copied your cms to my site.

Thanks
Alex
0

#193 User is offline   cindyming 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 09-December 12

Posted 09 December 2012 - 10:55 PM

Try it, Think you for all the work. I just try to find one cms framework which base on YII
0

#194 User is offline   Hamidreza 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 04-December 12

Posted 18 December 2012 - 12:54 AM

nice one
the core structure was great
waiting for new version.
any information available about new features and version?

Regards
0

#195 User is offline   mhamson 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 28-December 12

Posted 28 December 2012 - 06:11 AM

I am evaluating GXC CMS... and was wondering if someone could help me real quick. I am trying to find the best way to have the frontend as the site root with the backend as some arbitrary path.

For example:

Frontend: www mydomain local/
Backend: www mydomain loca/siteadmin

I currently have the demo working local as the instructions have suggested. But I cannot get my htaccess rewrites to work correctly to allow for this configuration.

anyway... thanks for any and all help.


-Michael
0

#196 User is offline   mr80 

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

Posted 02 January 2013 - 10:06 PM

Hi all,

I almost finish the new version of cms at:

https://github.com/n...uan63/GXC-CMS-2

You can check GXC-CMS documentation at:

https://docs.google....x_lZnnfe3E/edit

Regards
Tuan
- Yii developer
- My Freelance Service
- My Blog
- Gxccms - Open source Yii cms
2

#197 User is offline   J.J 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 126
  • Joined: 01-April 11

Posted 03 January 2013 - 09:41 PM

View Postmr80, on 02 January 2013 - 10:06 PM, said:

Hi all,

I almost finish the new version of cms at:

https://github.com/n...uan63/GXC-CMS-2

You can check GXC-CMS documentation at:

https://docs.google....x_lZnnfe3E/edit

Regards
Tuan


Thank for update this CMS included with new updates framework and documentation.
Good job mr80. +1 for this.
0

#198 User is offline   ekerazha 

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

Posted 04 January 2013 - 07:46 AM

View Postmr80, on 02 January 2013 - 10:06 PM, said:

Hi all,

I almost finish the new version of cms at:

https://github.com/n...uan63/GXC-CMS-2

You can check GXC-CMS documentation at:

https://docs.google....x_lZnnfe3E/edit

Regards
Tuan


Nice, however password hashing keeps being ugly in my opinion...

VieHashing.php
      public static function hash($input, $full = true)
     {
			if($full)
			{
				return md5($input . SALT) . SALT_SEPERATOR . base64_encode(md5(SECURITY_STRING) . SALT);
			}
			else 
			{
				return md5($input . SALT);
			}
     }


MD5? Really?

On PHP >= 5.3 I would use crypt() with CRYPT_BLOWFISH.

If you want to keep PHP 5.1/5.2 compatibility, you could use phpass http://www.openwall.com/phpass/
Yii user #37
0

#199 User is offline   mr80 

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

Posted 04 January 2013 - 08:50 AM

@ ekerazha:

I updated the password encryption based on your suggestion. Thank you very much. I understand more about md5 vs crypt. I've implemented based on this tutorial:

http://net.tutsplus....passwords-safe/

Happy coding!
- Yii developer
- My Freelance Service
- My Blog
- Gxccms - Open source Yii cms
0

#200 User is offline   ekerazha 

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

Posted 04 January 2013 - 09:50 AM

Ok, be aware that it requires PHP >= 5.3 now.

Also, I don't fully agree with that implementation

// generates a 22 character long random string  
function unique_salt() {  
	return substr(sha1(mt_rand()),0,22);  
}  


Why SHA1? Just generate 22 random chars.

If I'll find some spare time, tonight I could pull some changes from GitHub.

Maybe we could also add legacy support for GXC-CMS v1 passwords.

This post has been edited by ekerazha: 04 January 2013 - 09:52 AM

Yii user #37
0

Share this topic:


  • (13 Pages)
  • +
  • « First
  • 8
  • 9
  • 10
  • 11
  • 12
  • 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

  1. Google