This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

Implementing the CMS


avatar
jfranco 0
From: -
Implementing the CMS

Hi Philipp,

After a few hectic months I'm taking back the position to implement the CMS to my site, here are a few questions I have, among the few things I will need to merge my current site with CMS pages:

1) How can I add some HTML to the start and the end of my frontpage news? I can only find templates that will show this HTML in my whole site, or for every topic posted. I just want it to show at the top of the news and some other at the end of it.

2) How could I use news headlines generated by Storyteller in my current HTML static pages?

3) I plan to use the downloads system from the CMS, same question here, how could I generate a list of "latest downloads" for use within the CMS pages and for outside HTML static pages?

4) I need to include drivers downloads headlines as seen on www.techspot.com at the left side of the screen, I have a php script generating those, also a static file with the feed, could you please help me including those?

5) Does the CMS automatically generate XML feeds?

6) I may have the need to include any static HTML files into the site layout at a later time, is there any easy way around that?

7) How can I move the “login” html, from the default position at the top of all pages’ content to a certain position within the header template?
My test page is setup at: www.techspot.com/index9.php , in this case I would like to move the login information at the top of the page, just above the search box.

Thanks, looking forward your answers.

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


1 Re: Implementing the CMS
avatar
Administrator
1340
From: Vienna, Austria
Implementing the CMS

Originally posted by jfranco:
1) How can I add some HTML to the start and the end of my frontpage news? I can only find templates that will show this HTML in my whole site, or for every topic posted. I just want it to show at the top of the news and some other at the end of it.

On the index.php page?

You could use something like this at the top of the site_header/site_footer template:
if (preg_match("/index.php/i",$_SERVER[PHP_SELF]))

{
$chtml_output = "Some HTML here";
}


and use $chtml_output somewhere in the HTML part of the template

Originally posted by jfranco:
2) How could I use news headlines generated by Storyteller in my current HTML static pages?

Didn't I send you an updated cron script for that?

Originally posted by jfranco:
3) I plan to use the downloads system from the CMS, same question here, how could I generate a list of "latest downloads" for use within the CMS pages and for outside HTML static pages?

I could also adapt one of your cron script for that.

Originally posted by jfranco:
4) I need to include drivers downloads headlines as seen on www.techspot.com at the left side of the screen, I have a php script generating those, also a static file with the feed, could you please help me including those?

No problem.

Originally posted by jfranco:
5) Does the CMS automatically generate XML feeds?

Yes

Originally posted by jfranco:
6) I may have the need to include any static HTML files into the site layout at a later time, is there any easy way around that?

I would store static HTML pages in the database using the content module.

Originally posted by jfranco:
7) How can I move the “login” html, from the default position at the top of all pages’ content to a certain position within the header template?
My test page is setup at: www.techspot.com/index9.php , in this case I would like to move the login information at the top of the page, just above the search box.

I have posted in this thread an example:  http://www.esselbach.com/thread193-1.html

However, I could help you with all modifications. Just send me an email to office [at] esselbach .com with your templates and the HTML code that you like include.

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.