Extension--Rights

Hello,

I need help with Yii Extension–Rights. My main.php layout doesn’t work. I already did copy this to my column1 and column 2,

(<?php $this->beginContent(‘application.views.layouts.main’); ?>).

It just gives me an output in list type

-Assignments

-Permissions

-Operations

-Tasks

-Roles

-Generator

instead of something with its images. :unsure:

Note that the extension Right has a thread for itself where you can post questions about it - http://www.yiiframework.com/forum/index.php?/topic/10556-extension-rights/

they don’t answer anyway :(

Oh, you’re breaking our hearts…

I am sorry that we’re not here 24/7.

The worst thing you can do now is posting the same question in more than one topic because that tends to bother people.

If you want to get an answer, add some more detail to your existing question.

Thanks.

Maybe the author of Rights have a life ?

Patience… ;)

I did PM’s, comments and I’ve got nothing. lol :rolleyes:

Wow.

You asked a question Today, 10:34 AM

Three quarters of an hour later, you give up.

Awesome.

The author of Rights, while busy with his real life, is providing top notch support.

He has written an excellent guide, is very responsive in answering questions, fixing bugs, etc.

You can’t complain about that. ;)

It was just now that I posted question in forum coz the author was not replying…

As i have said I did PM’s, comments to the author.

have you forgot your reading skills? <_<

Renzy, my dear troll:

You posted this question today, right?

So, maybe he is at work?

Or maybe your question is a bit muddy?

So what did you do to your layout?

Are you using the standard?

If you are, you shouldn’t have to touch anything related to the current layout.

Here’s what I do to prevent things from ‘suddenly stop working, even if I did nothing to it’:

I use version control, usually Mercurial - but you can use git, svn, whatever - and make my project a repository.

After a commit, I can mess it up, knowing that I can always go back to something that worked.

Then you can just revert, and try again.

Highly recommended. :)

okay, i private message him for about two weeks ago?. is it enough for my waiting?

this was i got:

1002

Untitled.png

instead of:

1003

ss.png

I am currently using SVN :-*

Alright.

Looks like Rights can’t find the assets.

In the Rights module directory you see an ‘assets’ folder.

Are you using a custom theme, or are you using default Yii theme for your app?

Try and wipe out the contents of your assets directory (the one with the hashed names directories in your web root directory)

i just used the default theme of Yii.

nothing happpened after i wiped over the contents.

About your PM:

I usually ignore PMs for help myself. Maybe he does too?

IMO, the best way to get help is to post in the forum, not by sending PMs.

In some circles, unsolicited PMs asking for help is kind of rude.

Just FYI. Just thought I’d mention it.

About your problem:

If have this in the default column1/column2:


<?php $this->beginContent('//layouts/main'); ?>

And that definitely works.

Try that and see what happens. :)

hmmm. I didn’t work as well. :( well as far as i know, im using the default theme. and aside from column 1 and 2, does any other component of application affected of the layout?

Rights does.

It will use the layout in ‘rights.views.layouts.rights’ if none is provided in the module config.

Weird issue.

If the rest of your app is alright, then you could just copy the contents of the Rights stylesheets and paste in your main.css.

Just as a test.

You probably need to revert afterwards.

And clean your assets directory.

okay let me try :D

failed again, wew! :rolleyes: