Search found 24 matches

by sonnur
Wed Aug 07, 2013 7:07 pm
Forum: General
Topic: Use another theme or stanard theme when logged in
Replies: 2
Views: 2452

Re: Use another theme or stanard theme when logged in

Thanks Christoph, just added my code at line 400 when the login.php have been included. Tried the userfuncs.php solution didn't work.
by sonnur
Wed Aug 07, 2013 4:44 pm
Forum: General
Topic: Use another theme or stanard theme when logged in
Replies: 2
Views: 2452

Use another theme or stanard theme when logged in

Is it possible to use another theme or standard theme when admin signed in I need this because my theme I have created does not go well with the admin panel. In line 218 in cms.php I have tried this: if ($adm) { $cf['site']['template']="ge1024blackred2XH"; $pth['folder']['template']=$pth['folder']['...
by sonnur
Wed Aug 07, 2013 4:42 pm
Forum: General
Topic: How to show the menu as fully expanded
Replies: 7
Views: 4528

Re: How to show the menu as fully expanded

Thanks for answers I did use:

Code: Select all

<?=li($hc,'sitemaplevel')?>
by sonnur
Wed Aug 07, 2013 1:24 pm
Forum: General
Topic: How to show the menu as fully expanded
Replies: 7
Views: 4528

How to show the menu as fully expanded

I am creating a CMSimple theme that have a dropdown menu.

How do I show the menu as fully expanded with all menu levels open?
by sonnur
Sun Dec 30, 2012 4:54 pm
Forum: General
Topic: How to get access to admin variable $adm in a php file?
Replies: 6
Views: 3123

Re: How to get access to admin variable $adm in a php file?

How do I get access to the $adm variable in a random php doc? What do you mean with "random php doc"? Do you mean a stand-alone PHP script, that could be included in an IFrame? In this case you don't have access to any part of the CMSimple framework, including its global variables, so you have to p...
by sonnur
Sun Dec 30, 2012 4:51 pm
Forum: General
Topic: How to get access to admin variable $adm in a php file?
Replies: 6
Views: 3123

Re: How to get access to admin variable $adm in a php file?

Tata wrote:You mean something like this?

Code: Select all

<?php if ($adm=='true'){echo function1();}else{echo function2();} ?>
Exactly is the $adm always available?
by sonnur
Sun Dec 30, 2012 4:28 pm
Forum: General
Topic: How to get access to admin variable $adm in a php file?
Replies: 6
Views: 3123

How to get access to admin variable $adm in a php file?

How do I get access to the $adm variable in a random php doc? What do I need to require?

Just want to do something like:

Code: Select all

<?php if($adm){ echo "yes"; } ?>
by sonnur
Sun Dec 30, 2012 4:08 pm
Forum: Installation
Topic: How to integrate TinyMCE with hi_kcfinder?
Replies: 20
Views: 12955

Re: How to integrate TinyMCE with hi_kcfinder?

cmb wrote:There are 3 skins already delivered with the CKEditor plugin: kama, office2003 and v2.
Just downloaded a skin named mono. Put it in the skin folder, I have choosed it in the ckeditor plugin config, but no editor does appear.. Maybe I have forgot something..
by sonnur
Sun Dec 30, 2012 4:01 pm
Forum: Installation
Topic: How to integrate TinyMCE with hi_kcfinder?
Replies: 20
Views: 12955

Re: How to integrate TinyMCE with hi_kcfinder?

ckeditor filebrowser works fine. Do you know a nice skin?
by sonnur
Sun Dec 30, 2012 3:56 pm
Forum: Installation
Topic: How to integrate TinyMCE with hi_kcfinder?
Replies: 20
Views: 12955

Re: How to integrate TinyMCE with hi_kcfinder?

safe_mode Off Off Then it's quite likely related to suEXEC, which would also explain yesterdays problems with the default filebrowser. Is this something I can fix on my own or do I have to contact my host? Is there a fckeditor plugin? FCKeditor is abandoned since 2008. But there's a plugin for its ...