outputfilter not load

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
rigu
New Member
New Member
Posts: 3
Joined: Sat Sep 29, 2012 7:43 pm

outputfilter not load

Post by rigu »

Hi,
I try to install outputfilter, but it is not loaded.
outputfilter.smskey.php

I finded in Smarty_CMS class from SVN, on line 187 that it verify basename, and for outputfilter is output

Code: Select all

			foreach( $files as $onefile ) {
			
				$onefile = basename($onefile);
				$parts = explode('.',$onefile);
				if( !is_array($parts) || count($parts) != 3 ) {					
					continue;
				}
								
				switch( $parts[0] ) {
				
					case '[b][color=#800080]outputfilter[/color][/b]':
						$output[] = $parts[1];
						break;
						
					case 'prefilter':
						$pre[] = $parts[1];
						break;
						
					case 'postfilter':
						$post[] = $parts[1];
						break;
				}
			}
Changed, and now filter load.
Will be correct this sollution?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: outputfilter not load

Post by Dr.CSS »

You may need to explain yourself a little more fully as I have no idea what you are talking about...

http://forum.cmsmadesimple.org/viewtopi ... =40&t=2661
rigu
New Member
New Member
Posts: 3
Joined: Sat Sep 29, 2012 7:43 pm

Re: outputfilter not load

Post by rigu »

Ok, I am sorry for my english..

I try to install tag from http://dev.cmsmadesimple.org/projects/smscoin_cmsms_1

So, I modified it for 1.11.

But it does'nt work.... :(
This outputfilter is not called by smarty.
Locked

Return to “[locked] Installation, Setup and Upgrade”