|
 |
Due to the volume of spam happening on our forums, posting is now restricted to verified members only. If you're not verified, drop us a note with your username.
|
|
 Home > FlexCMS Support Forum > Recent Messages

FlexCMS Support Forum
 Recent Messages


|
 |
|
|
| February 13, 2008 @ 3:15am | Thanks for the prompt feedback. Much appreciated. I also had to change the two lines containing the code:
if ($StyleCode == 1 || $StyleCode == 2 || $StyleCode == 3 || $StyleCode == 4) {
to:
if ($StyleCode == 1 || $StyleCode == 2 || $StyleCode == 3 || $StyleCode == 4 || $StyleCode == 5) {
Works like a charm ... !!
//David |
|
|
|
| |
|
 |
|
|
| February 12, 2008 @ 5:42pm | David,
The portion of code where they're actually included in pages is located in index.php. The section you're interested in starts around line 1417. You should see "if ($StyleCode == 1) {", with a block of code under that. Just follow that section down and create a copy of the fourth one, then modify to suit.
Hope that helps.
David |
|
|
|
| |
|
 |
|
|
Articles styles | February 12, 2008 @ 3:12pm | Hi,
I'm trying to create a 5th style set to the "Add Article to a Page" section to include only Title and Teaser.
I've added the following to inc-na-admin-articles-generate.php around line 57:
<input type="radio" name="StyleCode" value="5"> <b>5</b> - '.$MsgText[7][200].'<br>
... and the following to inc-core-lang-english.php around line 1629:
$MsgText[7][200] = 'Title, Teaser';
... but I can't figure out how to amend the index.php (or if there are any other relevant files) to display it properly.
Can anybody please help?
Thanks, David
|
|
|
|
| |
|
 |
|
|
| February 11, 2008 @ 1:41pm | Thanks for the update Roger. We'll definitely look into it further and see what we can do.
David |
|
|
|
| |
|
 |
|
|
| February 11, 2008 @ 1:34pm | Hello,
inc-mb-idx.php is the main file that controls the front end of the message board. Line 636 should be:
Code
$query = "select * from `".$Settings['DBPrefix']."mb-Threads` where BoardID=".$Arguments2." order by Sticky desc, LastReply desc"; |
|
which you can change to this:
Code
$query = "select * from `".$Settings['DBPrefix']."mb-Threads` where BoardID=".$Arguments2." order by Sticky desc, StartedDate asc"; |
|
to have the desired result. If that's not what you were looking for, that's the line you'll need to adjust for the order threads are displayed in.
David |
|
|
|
| |
|
 |
|
|
Solution - Recommended Code Changes | February 10, 2008 @ 7:21pm | Hi,
The clues you gave led to a solution...
I have edited inc-admin-core-editor-link.php and made the following changes which seem to work.
Perhaps you could include them in a future version.
Roger

Code
Insert the following: // new code to prevent error pop-ups
if (!isset($MainURL)) $MainURL=""; if (!isset($SPN)) $SPN=""; if (!isset($ManualLink)) $ManualLink="";
and for each if statement for gb,mb,nl,cl,pg etc insert an isset test as follows:
// if ($IM['mb'] == 'y') { if (isset ($IM['mb']) and $IM['mb'] == 'y') {
|
|
|
|
|
|
| |
|
 |
|
|
| February 10, 2008 @ 7:10pm | Roger,
Most likely the reason is that the links portion of the editor opens in a new window, and there may be a few variables there which it's attempting to locate but which haven't been initialized there.
The other thing to note is that the error reporting level can vary from server to server, depending on how it's been configured. If you have control of this server, you may wish to adjust it so that the Notice messages aren't displayed the same way an Error message would be.
The Register Globals setting shouldn't have any effect on FlexCMS one way or the other.
David |
|
|
|
| |
|
 |
|
|
Update Is It Register Globals? | February 10, 2008 @ 9:01am | Tried copying all the files apart from config from a working installation on another server. This made no difference to the problem.
What is different between the edit links form and the edit picture form?
The picture one works fine, just the links that not working.
I am beginning to suspect a register globals problem.
Roger |
|
|
|
| |
|
 |
|
|
need help with forum... | February 7, 2008 @ 9:29am | I have the forum module installed and what happens is that when someone posts a new topic it appears above the old topics.... which is kind of confusing.
Is there a way to make new topics appear below old topics? |
|
|
|
| |
|
 |
|
|
I get this on two new installs... | February 6, 2008 @ 4:59pm | I am also experiencing this problem on a new install.
Also happens on a second test install.
I get the following:

Code
Notice: Undefined variable: MainURL in /home/fhlinux153/t/testing.scfchurch.co.uk/user/htdocs/languages/inc-core-lang-english.php on line 162
Notice: Undefined variable: MainURL in /home/fhlinux153/t/testing.scfchurch.co.uk/user/htdocs/languages/inc-core-lang-english.php on line 176
Notice: Undefined variable: SPN in /home/fhlinux153/t/testing.scfchurch.co.uk/user/htdocs/languages/inc-core-lang-english.php on line 248
Notice: Undefined variable: SPN in /home/fhlinux153/t/testing.scfchurch.co.uk/user/htdocs/languages/inc-core-lang-english.php on line 335
Notice: Undefined variable: SPN in /home/fhlinux153/t/testing.scfchurch.co.uk/user/htdocs/languages/inc-core-lang-english.php on line 438
Notice: Undefined variable: SPN in /home/fhlinux153/t/testing.scfchurch.co.uk/user/htdocs/languages/inc-core-lang-english.php on line 441
Notice: Undefined variable: ManualLink in /home/fhlinux153/t/testing.scfchurch.co.uk/user/htdocs/languages/inc-core-lang-english.php on line 465
Notice: Undefined variable: SPN in /home/fhlinux153/t/testing.scfchurch.co.uk/user/htdocs/languages/inc-core-lang-english.php on line 465
Notice: Undefined variable: SPN in /home/fhlinux153/t/testing.scfchurch.co.uk/user/htdocs/languages/inc-core-lang-english.php on line 663
Notice: Undefined index: cl in /home/fhlinux153/t/testing.scfchurch.co.uk/user/htdocs/inc-core-admin-editor-link.php on line 106
Notice: Undefined index: mb in /home/fhlinux153/t/testing.scfchurch.co.uk/user/htdocs/inc-core-admin-editor-link.php on line 110
Notice: Undefined index: gb in /home/fhlinux153/t/testing.scfchurch.co.uk/user/htdocs/inc-core-admin-editor-link.php on line 114
Notice: Undefined index: nl in /home/fhlinux153/t/testing.scfchurch.co.uk/user/htdocs/inc-core-admin-editor-link.php on line 119
Notice: Undefined index: lm in /home/fhlinux153/t/testing.scfchurch.co.uk/user/htdocs/inc-core-admin-editor-link.php on line 130
Notice: Undefined index: pg in /home/fhlinux153/t/testing.scfchurch.co.uk/user/htdocs/inc-core-admin-editor-link.php on line 150
|
| Followed by the entry fields. |
|
|
|
|


|
|
 | MEMBERS 
|

|
|