Search found 26 matches

by simon_a
Thu Nov 06, 2008 2:21 pm
Forum: General Discussion
Topic: What's the coding style?
Replies: 1
Views: 1109

Re: What's the coding style?

coding style == "no response"

:P
by simon_a
Tue Nov 04, 2008 1:18 pm
Forum: General Discussion
Topic: What's the coding style?
Replies: 1
Views: 1109

What's the coding style?

Hey, I'm just wondering what's the coding style used in the CMSMS code? I mean, the opening curly bracket for a loop seems to be indented more to the left than the loop declaration itself. Just wondering is it a standard of some sort? I'm generally happier fully indenting all lines of code that are ...
by simon_a
Fri Oct 24, 2008 8:23 am
Forum: Modules/Add-Ons
Topic: Hiding FormBrowser in the menu
Replies: 1
Views: 900

Re: Hiding FormBrowser in the menu

Bump  ;)
by simon_a
Wed Oct 22, 2008 2:39 pm
Forum: Modules/Add-Ons
Topic: Hiding FormBrowser in the menu
Replies: 1
Views: 900

Hiding FormBrowser in the menu

Hi all, I'm using MLE 1.4.1, Form Builder 0.5.5 and Form Browser 0.2.3. I've unset the permissions Modify Form Browsers and Modify Forms for editor account. However, Form Browser is still being listed in the Admin->Content->Form Browser menu. Clicking on that menu item says "--Add Me - module:F...
by simon_a
Wed Oct 22, 2008 12:23 pm
Forum: Modules/Add-Ons
Topic: TinyMCE Image Manager: preventing upload
Replies: 3
Views: 1424

Re: TinyMCE Image Manager: preventing upload

Duh. One would have thought I would have checked there  ::)

Thanks for the pointer.
by simon_a
Wed Oct 22, 2008 8:58 am
Forum: Modules/Add-Ons
Topic: TinyMCE Image Manager: preventing upload
Replies: 3
Views: 1424

TinyMCE Image Manager: preventing upload

Hey all, I'm using MLE 1.4.1 with TinyMCE module 2.4.8. I think I changed a setting which I cannot now find. When the user is inserting an image into a post, I don't want to allow them to upload an image, but the upload form is displayed in the Image Manager popup. How can I prevent this? Thanks for...
by simon_a
Tue Oct 14, 2008 4:02 pm
Forum: Modules/Add-Ons
Topic: FormBrowser - Cannot redeclare getformid()
Replies: 6
Views: 2190

Re: FormBrowser - Cannot redeclare getformid()

Just to add some detail to the description of this error. For fun, I added two calls to the same FormBrowser in one page instead of just one. Surprisingly, the first FormBrowser is displayed, and the following errorr is then displayed underneath: Fatal error: Cannot redeclare getformid() (previously...
by simon_a
Mon Oct 13, 2008 3:22 pm
Forum: Modules/Add-Ons
Topic: TinyMCE - autosave?
Replies: 0
Views: 649

TinyMCE - autosave?

Hey,

I see in the /modules/TineMCE/tinymce/jscripts/tiny_mce/plugins/ that there's a plugin called autosave. I'm just wondering is this an active feature in CMSMS? I'm wondering if it does do anything.

:) Simon
by simon_a
Mon Oct 13, 2008 9:01 am
Forum: [locked] Installation, Setup and Upgrade
Topic: [Solved] Adding an image while writing a page?
Replies: 6
Views: 2322

Re: Adding an image while writing a page?

As a follow-up, I hacked together a solution using the simple javascript mentioned here: http://tinymce.moxiecode.com/punbb/viewtopic.php?id=11640 I wrote our own image manager completely outside of TinyMCE. I call it from within the image.htm file by adding this line: <a href="path/to/my/filem...
by simon_a
Thu Oct 09, 2008 9:58 am
Forum: [locked] CMSMS MLE fork
Topic: [Solved] Preview always showing default page only
Replies: 6
Views: 3666

Re: Preview always showing default page only

Solved!

Well, I found what was causing it for me, anyway. It was the redirect_lang tag. When I created it and placed the redirect tagin my template, the problem started again. So no I've just taken away the redirect tag and it works again.

Simon
by simon_a
Thu Oct 09, 2008 8:37 am
Forum: [locked] CMSMS MLE fork
Topic: [Solved] Preview always showing default page only
Replies: 6
Views: 3666

Re: Preview always showing default page only

Hi Alby,

thanks as always.  I did a re-install last night with fresh files, and applied my code changes bit by bit, and the preview is now working. I have no idea what might have gone wrong!

Simon
by simon_a
Wed Oct 08, 2008 6:19 pm
Forum: [locked] CMSMS MLE fork
Topic: [Solved] Preview always showing default page only
Replies: 6
Views: 3666

Re: Preview always showing default page only

Could the problem be due to the fact that I change the following lines in editcontent.php

Code: Select all

		$tmpfname = createtmpfname($contentobj);
	?>

<?php

}
to:

Code: Select all

		$tmpfname = createtmpfname($contentobj);

}
??
by simon_a
Wed Oct 08, 2008 4:38 pm
Forum: [locked] CMSMS MLE fork
Topic: [Solved] Preview always showing default page only
Replies: 6
Views: 3666

Re: Preview always showing default page only

I thought I had solved this, that the problem was messed up file version.

But.. after I fixed some files that I had messed up, the problem is still there  :-\

???
by simon_a
Wed Oct 08, 2008 2:13 pm
Forum: [locked] CMSMS MLE fork
Topic: Setting pages editing permission by user and language
Replies: 1
Views: 1869

Re: Setting pages editing permission by user and language

It's an interesting idea, for sure. I guess you'd have to allow for the permissions to assign multiple languages to a user's permissions, not just one single language (what if I speak both English and French).
by simon_a
Wed Oct 08, 2008 9:24 am
Forum: [locked] CMSMS MLE fork
Topic: [Solved] Preview always showing default page only
Replies: 6
Views: 3666

[Solved] Preview always showing default page only

Hi, I'm using MLE 1.4.1 on PHP 4.7. Basically, the problem is that the preview pane for editing content always displays the home (default) page, no matter what page I'm editing. I checked the $tmpfname variable in /admin/editcontent.php, and it seems to hold the value for the file being created in /...

Go to advanced search