Yii Framework Forum: Yiiframework.co.il Code is now open sourced! - Yii Framework Forum

Jump to content

  • (6 Pages)
  • +
  • « First
  • 4
  • 5
  • 6
  • You cannot start a new topic
  • You cannot reply to this topic

Yiiframework.co.il Code is now open sourced! Rate Topic: ***** 4 Votes

#101 User is offline   gaurish 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 28
  • Joined: 05-March 12
  • Location:Pune, India

Posted 21 March 2013 - 01:24 AM

Hi,
how can I disable url manager..
so it give the normal Yii url...
like index.php?r=controller/action.. tried with commenting url manager in main.config & removing .htaccess ,
but admin panel not working then..

and I want to disable multilingual.. make 'en'- english as default...
Thanks,
Gaurish
0

#102 User is offline   pranoy 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 05-April 13

Posted 05 April 2013 - 08:27 AM

HI Vince,

Thanks for sharing such a great site. I am New to YII. Trying to find some help - and i have found yours. I have NOT faced any difficulty installing it in localhost running with Xampp.

Thank you very much for sharing.

Best Regards,
1

#103 User is offline   dan_ 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 26
  • Joined: 04-November 13

Posted 08 November 2013 - 10:30 AM

Hi, can i edit automatically sourcemessage table?

if i change my default language and source language to it...is there some mistake?
0

#104 User is offline   dan_ 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 26
  • Joined: 04-November 13

Posted 11 November 2013 - 10:46 AM

View Postdan_, on 08 November 2013 - 10:30 AM, said:

Hi, can i edit automatically sourcemessage table?

if i change my default language and source language to it...is there some mistake?


I solved with an override of Yii::t() function
0

#105 User is offline   dan_ 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 26
  • Joined: 04-November 13

Posted 11 November 2013 - 10:50 AM

hi, how can i reach framework folder from alias?
i'm looking a solution to use gii into your Yiimcs, vince
0

#106 User is offline   dan_ 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 26
  • Joined: 04-November 13

Posted 13 November 2013 - 06:06 PM

View Postdan_, on 11 November 2013 - 10:50 AM, said:

hi, how can i reach framework folder from alias?
i'm looking a solution to use gii into your Yiimcs, vince


i solved using a normal instance of yii and manually copying the files!
0

#107 User is offline   dan_ 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 26
  • Joined: 04-November 13

Posted 13 November 2013 - 06:22 PM

if i use custom url that match this rule <controller/w+>/<action:/w+>/<string:(\w+[-]+\w+)> the zii.widgets.CMenu and zii.widgets.CBreadcrumbs create a wrong url like this: controller/action/string/lang/en when i expected en/controller/action/string

CMenu and CBreadcrumbs parameter:

'url' => array('immobilisourcemessage/tbl/condizione-immobile'),

where:

immobilisourcemessage is my controller, tbl is my action and condizione-immobile is my string

Why this???


Please help meeeeeee :blink:
0

#108 User is offline   taggert 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 26-September 13

Posted 28 November 2013 - 09:41 AM

When I try to import the "inserts.sql" file I receive:

INSERT INTO `authitemchild`
VALUES (
'manage_posts', 'add_post'
);

MySQL meldet: Dokumentation
#1452 - Cannot add or update a child row: a foreign key constraint fails (`yii_cms`.`authitemchild`, CONSTRAINT `authitemchild_ibfk_1` FOREIGN KEY (`parent`) REFERENCES `authitem` (`name`) ON DELETE CASCADE ON UPDATE CASCADE) 


Could someone help me to fix it? :)
0

#109 User is offline   raiethan 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 62
  • Joined: 10-February 12

Posted 08 March 2014 - 01:57 AM

thank you for this, but how can i use this on my localhost.. can you give me CustomUrlManager for localhost.. thank you so much..
0

Share this topic:


  • (6 Pages)
  • +
  • « First
  • 4
  • 5
  • 6
  • 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