Page 1 of 1
					
				Showing news from particular category
				Posted: Mon Apr 22, 2013 12:07 am
				by darac
				I have CMSMS installed in folder "blog" and I'm using it as blog.
Is there any way to show news from a particular category somewhere outsite folder "blog", in some .php file that doesn't relate to CMSMS in any way?
			 
			
					
				Re: Showing news from particular category
				Posted: Mon Apr 22, 2013 1:42 pm
				by Wishbone
				You can have your blog produce an RSS feed that the other PHP file can read.
			 
			
					
				Re: Showing news from particular category
				Posted: Mon Apr 22, 2013 3:40 pm
				by velden
				Not sure:
Let cmsms create an url for reference (of course with category etc in it) and append '&showtemplate=false' to that url (of first argument then '?showtemplate=false')
Use that url from within your other php file.
			 
			
					
				Re: Showing news from particular category
				Posted: Mon Apr 22, 2013 6:15 pm
				by darac
				thanks guys. I haven't thought about RSS at all
			 
			
					
				Re: Showing news from particular category
				Posted: Mon Apr 22, 2013 7:38 pm
				by Wishbone
				To expand on Velden's idea, you can do the &showtemplate=false trick, and <__iframe> it into any other PHP or HTML.
			 
			
					
				Re: Showing news from particular category
				Posted: Wed Apr 24, 2013 10:07 am
				by darac
				I was thinking about that <__iframe> solution
But it would be great if I could set up RSS to show fresh news
			 
			
					
				Re: Showing news from particular category
				Posted: Thu May 16, 2013 4:21 pm
				by darac
				is it possible somehow to do showtemplate=my_template
			 
			
					
				Re: Showing news from particular category
				Posted: Thu May 16, 2013 11:48 pm
				by Jos
				this might help: 
https://www.cmscanbesimple.org/blog/cre ... t-a-module
or another idea: 
you could use the Cache remote file plugin. Set the url to a hidden page with your news/blog items and a blank template if you wish. Then you could tweak the destination folder and name in the plugin file (top lines with settings)
http://dev.cmsmadesimple.org/projects/cacheremotefile