[?]Module allows to add JS scripts similar cms_stylesheet...

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

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

Post 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)
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
requish
Forum Members
Forum Members
Posts: 183
Joined: Sat Jan 24, 2009 3:12 pm

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

Post 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?
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

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

Post 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...
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12709
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

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

Post by Dr.CSS »

Sounds like you are going thru a lot of trouble for very little return...
User avatar
requish
Forum Members
Forum Members
Posts: 183
Joined: Sat Jan 24, 2009 3:12 pm

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

Post 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 :)
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3483
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

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

Post 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).
User avatar
requish
Forum Members
Forum Members
Posts: 183
Joined: Sat Jan 24, 2009 3:12 pm

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

Post 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.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3483
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

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

Post 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.
User avatar
requish
Forum Members
Forum Members
Posts: 183
Joined: Sat Jan 24, 2009 3:12 pm

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

Post 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?
applejack
Power Poster
Power Poster
Posts: 1015
Joined: Fri Mar 30, 2007 2:28 am
Location: London

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

Post by applejack »

Dr.CSS wrote:Sounds like you are going thru a lot of trouble for very little return...
Absolutely...
User avatar
requish
Forum Members
Forum Members
Posts: 183
Joined: Sat Jan 24, 2009 3:12 pm

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

Post by requish »

Subject died? :(
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3483
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

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

Post 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.
User avatar
requish
Forum Members
Forum Members
Posts: 183
Joined: Sat Jan 24, 2009 3:12 pm

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

Post 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? :)
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3483
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

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

Post 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.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1922
Joined: Mon Jan 29, 2007 4:47 pm

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

Post 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.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Post Reply

Return to “Modules/Add-Ons”