Page 2 of 3

Re: [?]Module allows to add JS scripts similar cms_styleshee

Posted: Sat May 18, 2013 1:38 pm
by Rolf
requish wrote:So OK, concept its OK :) and now how to hide this for clients and other users. I tried to do this using some module (news) to make the same thing. Unfortunately dont work (weird url at no prettyurl website is directing to nowhere).
The tag only works if you use the default URL, not with mod_rewrite pretty urls.
You can use the custom url feature of the News module (I think)

Re: [?]Module allows to add JS scripts similar cms_styleshee

Posted: Sat May 18, 2013 6:51 pm
by requish
Rolf wrote:The tag only works if you use the default URL, not with mod_rewrite pretty urls.
You can use the custom url feature of the News module (I think)
Should works both URL methods... Custom URL works with mod ON. I know becouse I tried enter my url.

Ive done CGBlog templates to work it. So src have url like that

Code: Select all

www.domain.com/index.php?mact=CGBlog,cntnt01,detail,0&cntnt01articleid=1&cntnt01returnid=23
and this is display script well, but at frontend animation dont work.

However using method by content>alias its works well.

Any ideas why its not work even display scripts good?

Re: [?]Module allows to add JS scripts similar cms_styleshee

Posted: Sat May 18, 2013 6:56 pm
by Rolf
With the tag you simulate embedding of a "file".
You only read the content of the "file" not the template and stylesheets. Just plain HTML...

Re: [?]Module allows to add JS scripts similar cms_styleshee

Posted: Sat May 18, 2013 7:14 pm
by Dr.CSS
Sounds like you are going thru a lot of trouble for very little return...

Re: [?]Module allows to add JS scripts similar cms_styleshee

Posted: Sat May 18, 2013 8:47 pm
by requish
Rolf wrote:With the tag you simulate embedding of a "file".
You only read the content of the "file" not the template and stylesheets. Just plain HTML...
Yes yes, right. Simulate file its ok for me. I wanna use this by the same method like with content imported by cms_selflink but using other tool than content. I dont wanna to show to other users these scripts. And with use content, script works well, so with other module should to. News or CGBlog arent good becouse these generate weird urls.

So Im still looking for any tool which help me make similar effect like witch content and cms_selflink.

P.S. Thanks very much You all for digging for solution in this subject :)

Re: [?]Module allows to add JS scripts similar cms_styleshee

Posted: Sat May 18, 2013 8:53 pm
by velden
You could of course use the possibility of setting permissions who's allowed to edit a page. But I think that would involve settings those permissions on every page (not sure though).

Re: [?]Module allows to add JS scripts similar cms_styleshee

Posted: Sat May 18, 2013 9:30 pm
by requish
velden wrote:You could of course use the possibility of setting permissions who's allowed to edit a page. But I think that would involve settings those permissions on every page (not sure though).
All pages allways are editable for clients/users.

Unforunately there is no option to 'block/hide' selected pages for other users than admin.

Re: [?]Module allows to add JS scripts similar cms_styleshee

Posted: Sat May 18, 2013 10:08 pm
by velden
Not true. You can make it that way.

Just don't give them the 'edit all pages' permission and give permission to appropriate pages via options tab of content page.

Re: [?]Module allows to add JS scripts similar cms_styleshee

Posted: Sat May 18, 2013 10:43 pm
by requish
velden wrote:Not true. You can make it that way.

Just don't give them the 'edit all pages' permission and give permission to appropriate pages via options tab of content page.
If I dont give "Manage All Content" user see all pages but he cant edit additional options which are need for him.

If I dont give "Modify Any Page" nothing happed special.

If I dont give "Manage All Content" and "Modify Any Page" too, then selected pages dont show at user Pages. BUT User cant create pages, manage needed options... :(

Ofcourse I gave selection for which page user can see, and which are only for admin.

Any idea for that?

Re: [?]Module allows to add JS scripts similar cms_styleshee

Posted: Sun May 19, 2013 12:56 am
by applejack
Dr.CSS wrote:Sounds like you are going thru a lot of trouble for very little return...
Absolutely...

Re: [?]Module allows to add JS scripts similar cms_styleshee

Posted: Mon May 27, 2013 8:34 am
by requish
Subject died? :(

Re: [?]Module allows to add JS scripts similar cms_styleshee

Posted: Mon May 27, 2013 8:51 am
by velden
requish wrote:
velden wrote:Not true. You can make it that way.

Just don't give them the 'edit all pages' permission and give permission to appropriate pages via options tab of content page.
If I dont give "Manage All Content" user see all pages but he cant edit additional options which are need for him.

...

Any idea for that?
Move those options the the first tab:

Site Admin » Global Settings -> Content Editing Settins (tab) ->
'Basic properties'
This field allows you to specify which content properties that users without the "Manage All Content" permission are allowed to edit. The selected properties will appear in the "Main Tab" on the edit content page.

Re: [?]Module allows to add JS scripts similar cms_styleshee

Posted: Mon May 27, 2013 12:03 pm
by requish
velden wrote:
requish wrote:
velden wrote:Not true. You can make it that way.

Just don't give them the 'edit all pages' permission and give permission to appropriate pages via options tab of content page.
If I dont give "Manage All Content" user see all pages but he cant edit additional options which are need for him.

...

Any idea for that?
Move those options the the first tab:

Site Admin » Global Settings -> Content Editing Settins (tab) ->
'Basic properties'
This field allows you to specify which content properties that users without the "Manage All Content" permission are allowed to edit. The selected properties will appear in the "Main Tab" on the edit content page.
Hi, thanks for reply.

Pretty nice. 8) There missing one option, its edit parent list. User can add new page only to exists pages. What when user want add new main page (parent:none)? When I will use Mle CMS its ok, parents will be names of lang, but if I have only one lang... I dont want create next-level menu where hierachy will look like this 'mainmenu>about'. I would like have just page 'about' as non-child, and that user can create pages non-child...

Is there is any hack for that too? :)

Re: [?]Module allows to add JS scripts similar cms_styleshee

Posted: Mon May 27, 2013 12:30 pm
by velden
I see, don't know the answer though.

Actually it seems those user needs permissions on a page, to be able to create sub-pages.

Don't know enough of the permissions model to tell you whether this is easy to solve.

Re: [?]Module allows to add JS scripts similar cms_styleshee

Posted: Mon May 27, 2013 1:47 pm
by Jo Morg
velden wrote:but if I have only one lang... I dont want create next-level menu where hierachy will look like this 'mainmenu>about'. I would like have just page 'about' as non-child, and that user can create pages non-child...Is there is any hack for that too?
That shouldn't be a problem as menus can start on any branch. The hierarchy of pages on the front-end doesn't necessarily have to reflect the way you organize pages on the back-end. You can set pages URL, you can set whether to use page hierarchy or not, etc... check this!
HTH.