I'm building a website with a homepage that has a different article everyday. I know how to change it using html, but that requires daily maintenance. Is there anyway I can change a picture and text daily without changing code everyday? I'd also like to be able to see the previous days' article by using an 'older' button or something.
I'm not asking for the whole code by the way, just for someone to point me in the right direction. Thank you
It sounds like you're looking for WordPress.
How about a Content Management System like Joomla? If you're just doing static content updates, that may work well for you
You probably need to utilize CMS to match your needs.
You Can Make this by adding the article and images into the database. or images in the folder.
You can google for better article for doing this.or you can use cms e.g. joomla , wordpress.
Thanks
Related
I've been building a site (already hosted at a domain) for someone who wants the capability to edit it themselves but they do not know html and would rather be able to visually edit it. Has anyone moved their site to a CMS (preferably wordpress) while keeping the same look of the site and could give me some pointers?
Thank you
You would need to learn how to create templates for wordpress and then recreate your theme using their way of doing things. Its not very difficult for someone used to css/html/php but there is alot of functionality you need to take in so you wont be doing it overnight.
This is a good place to start: http://codex.wordpress.org/Theme_Development
If you are simply looking for an easy to use WYSIWYG editor for Html you could try to implement TinyMCE in your current site. I've used this myself and it is rather nice.
I have a typo3 website with no user genrated or dynamic content.
So it is unnecessary to use php and the database.
Is it possible (with php) to clone the hole website and store every page as an html page?
I have only a normal webspace, so i cant install tools like "eAccelerator".
My idea:
- grab every link from the sitemap
- file_get_contents -> store as html
But i think this is not a clean solution? Or?
Thanks in advance!
james
you can use a simple software called HTTRACK., here is the link:
httrack.com
Why you need to use php to copy it? Did you consider using a command line tool like wget? wget allows you to create an "offline" copy of a website which you can of course host somewhere else. Sounds to me exactly like the thing you want to do.
In case you are really stucked to php, you will need an HttpRequest, call the site, parse all links and resources, download the resources, follow the links and do the same again. This is the most simple solution, without any checking for conflicting resources or other stuff which could go wrong.
Sitesucker http://sitesucker.us is an excellent tool you can run from any mac. It works very well, I use it all the time.
But don't forget that by creating a static copy of your site, you will lose your templating functionality. So if you really want to make your website static, I strongly recommend to - at least - put the identical parts of each page into php-includes. Mostly head, page header, footer, navigation. So you're ready for future changes.
If it's just because your TYPO3 is too slow, look at the nc_staticfilecache extension which can speed it up very well.
Using TYPO3 where you need just a simple HTML is a huge overflow, invest in DreamWeaver and code all things 'manually'.
I am doing some freelance work for a client and I need to re-code an old menu. The entire site is static which will make this process extremely slow and redundant, does anyone have a good technique for updating multiple pages automatically?
The old developer used "Allwebmenus" which is a automatic menu creation tool. It is implemented by using JavaScript which writes HTML to the DOM. I'm going to replace this with a clean html menu and some simple jQuery.
Right now I think the best way is to create a separate .html file with the menu code, and use PHP includes on all the pages but this still requires me to update every page on the site. Can anyone give me better idea? Or do you think this is the best option?
Thanks for the help!
create menu.php and include("menu.php") into each file where the old menu's are written.
It will make your life easier going forward too.
As far as fixing all the static pages, you will have to go in and do that yourself.
include("menu.html");
You can use includes, but it might also make since to put them onto a CMS like Drupal. Handles a lot of that for you.
Using the PHP includes is a good method. If the "Allwebmenus" has Javascript code on each page, you'll have to edit each file anyways, so adding the includes is no big deal.
I was wondering if I needed to learn javascript and or php to make a site that can move content from page to page as new content is added (like a blog). I was thinking of using wordpress and wipe the design and write my own css, but seems you need to do a $30 update to have access to css.
Is there a free site (like wordpress) that could help me out with the php part or whatever is needed to have this kind of functionality? How many hours would it take to learn php to get the 'blog' running correctly if I only know html/css right now, with a bit of javascript and can manage jquery plugins.
Thanks alot for any answers.
If I recall correctly, WordPress is entirely free and fully customization per your liking - no charge.
PHP would be your answer to do this, and Javascript would only help compliment the transitioning. If you've never tinkered with PHP or any other software programming language, you will spend months perfecting this. It's a whole other ball game.
But like I said, WordPress is entirely free and modifying the CSS is as well. I've never heard of a $30 charge to change WordPress CSS file.
You're talking about upgrading a WordPress.com site where they host it for you and strictly control what you can do.
You want to go to WordPress.org - it's free and you can do whatever you like - but you do need to sort out your own hosting.
I'm pretty new to wordpress (only a couple of days), but I have it up and running on my website with the default theme. First of all I would like to change this theme. I have found a tutorial directly from wordpress but it is extremely vague: http://codex.wordpress.org/Theme_Development. I'd like to have a totally different layout for my website though, with only one page being replaced daily with a different article - a new article everyday basically. But I don't know where to start. I want to first create the theme though, I think that will put things in to perspective. How do I do so? I know the principles of php and enough about html and css to create whole websites. Thank you
That link should tell you everything you need to know. You basically just edit the theme files to get the layout that you want. The best way to learn truly is to experiment. If you have a specific question I could help you with that, but to tell everything involved in creating a custom theme would go way beyond the scope of an answer for this site.