I am creating a module and i want that an action creates an XML file.
When i use the processtemplate function it appears also the page template function.
I tried also using echo directly in php but the general template of the webside still appears. i didn"t find any other function in the API. Please help!
Thank you.
processing the module template without processing the page template
-
- New Member
- Posts: 4
- Joined: Thu Aug 27, 2009 3:12 pm
Re: processing the module template without processing the page template
Hello,
&showteplate=false is one... but if you need an xml output why not make a template that does only that? Hope that helps
Cheers
jeremy
&showteplate=false is one... but if you need an xml output why not make a template that does only that? Hope that helps
Cheers
jeremy
-
- New Member
- Posts: 4
- Joined: Thu Aug 27, 2009 3:12 pm
Re: processing the module template without processing the page template
i have a template file for the action in the module...
i added in the URL &showtemplate=false and i get this text:
--------------------------------------------------------------------------
So how is a web-site created with CMS Made Simple? There are a couple of terms that are central to understanding this.
You first need to have templates, which is the HTML code for your pages. This is styled with CSS in one or more style sheets that are attached to each template. You then create pages that contain your websites content using one of these templates.
That doesn't sound too hard, does it? Basically you don't need to know any HTML or CSS to get a site up with CMS Made Simple. But if you want to customize it to your liking, consider learning some CSS(external link).
In the menu to the left you can read more about this, as well as more advanced features like the Menu Manager, additional extensions for adding many kinds of functionality to your site and the Event Manager for managing work flow. Last is a summary of the basic work flow when creating a site with CMS Made Simple.
--------------------------------------------------------------------------
if you have any other suggestions to solve my problem, you are welcome.
I want to create an XML file including paths to files from a folder from uploads/images
i added in the URL &showtemplate=false and i get this text:
--------------------------------------------------------------------------
So how is a web-site created with CMS Made Simple? There are a couple of terms that are central to understanding this.
You first need to have templates, which is the HTML code for your pages. This is styled with CSS in one or more style sheets that are attached to each template. You then create pages that contain your websites content using one of these templates.
That doesn't sound too hard, does it? Basically you don't need to know any HTML or CSS to get a site up with CMS Made Simple. But if you want to customize it to your liking, consider learning some CSS(external link).
In the menu to the left you can read more about this, as well as more advanced features like the Menu Manager, additional extensions for adding many kinds of functionality to your site and the Event Manager for managing work flow. Last is a summary of the basic work flow when creating a site with CMS Made Simple.
--------------------------------------------------------------------------
if you have any other suggestions to solve my problem, you are welcome.
I want to create an XML file including paths to files from a folder from uploads/images
Re: processing the module template without processing the page template
Yes, so If you had a module tag in the content instead of the default content you would have only seen that. It's sounds like you’re wishing to have an XML image list for , let’s say a slideshow... whatever it is this will help,
http://forum.cmsmadesimple.org/index.ph ... #msg173866
Then you could put it on a page with just the tag and add &showtemplate=false to the link you needing... but this is just one, but should be easy to fallow... Hope that helps
Cheers
Jeremy
http://forum.cmsmadesimple.org/index.ph ... #msg173866
Then you could put it on a page with just the tag and add &showtemplate=false to the link you needing... but this is just one, but should be easy to fallow... Hope that helps
Cheers
Jeremy