Sometimes you don’t just want to manage a blog in FanUpdate, but other pages of your site – maybe because they are a pain to code in HTML and it’s much easier, or it’s just that you don’t know HTML. Whatever the case, this tutorial will tell you how to manage your website with FanUpdate.
Start by downloading FanUpdate. Make sure you have FanUpdate installed.
It is assumed that you have basic HTML knowledge for this tutorial.
Notice how there are categories in FanUpdate. This files everything nicely.
Normally, you would take the code from “how to display your blog”, and stick that where you want your blog to appear:
But, under the categories you have, you can get the display code just for that category. (In this case, I already have six entries in the category.)
Say you had a category called “recipes” and every now and then you blogged a recipe. You then have so many recipe blog entries that you want to stick them all together. You’d take that display code for that section.
From that you can probably envisage how you’d put a website together.
Note: This is not recommended for large websites, only for small websites that like to rely on categories to display few pieces of content.
Naturally, a website will have sections. For the sake of this tutorial let us assume you have the sections Owner, Recipes, and Website.
Of course, you will have your own sections in mind. Make sure you have a clear idea of how many sections you will need. You will be categorizing these using FanUpdate, so think wisely for a moment.
You now know that you do not want to code pages in HTML.
However, you might have to code a few pages just for the links. Let us move on.
Create your categories for sections of your website. Give them a simple name you’ll understand. If you’re making a category for recipes, don’t make the name of the category “scrumptious diddly umptious”.
Sticking with the above example, let’s make our categories Owner, Recipes, and Website. Create these by clicking New Category under Categories in the FanUpdate panel.
Simply type the category name into the top box, and click ‘Add’. You don’t need to change settings at this point.
You obviously want your pages to be in the right spots. This we will do later.
However, since you are managing your site with FanUpdate, normally, every time you add a new entry, it would appear at the top of your entire blog. But because we are working with multiple categories that will so in separate sections, we wouldn’t want a blog or page stacked with a messy bunch of entries or pages.
You need to create a page called index2.php or something similar. Just not “index.php”.
On this page, you will place your blog. Now, you can edit that page by going to How To Display Your Blog in the Dashboard. Simply copy the display code and stick it on the page.
Remember, no one will need to see this page (unless they want your RSS feed).
Now, go to Options in the admin panel. Change the blog_page to the new index2 page:
Let’s add a page into each section. This should be very simple.
In your FanUpdate admin panel, click the big Post a New Entry button. (Or go to Entries and click New Entry.)
Post a new entry and place it in the category it belongs. Let’s say, for example, you wrote a page about yourself and put it in the Owner category.
Continue doing this – adding entries and placing them in the right categories (Recipes and Website), until you have added nearly everything you feel necessary to add.
For this part you have to code the links to the pages. Normally you would have a section under Owner that has links to pages like ‘about me’, ‘photos’, ‘favourites’, and so on.
You simply have to create a new file – perhaps naturally with your header and footer parts – and place links to these pages. The thing is, you have to get the links from FanUpdate by finding the permalink to the post.
Go to Entries in the FanUpdate panel. Now that you can see the entries, you can start by looking at those in a certain category – let’s pick Owner (you can order them by clicking Category at the top of the table).
Now pick an entry. Let us assume it is the ‘about me’ entry under the Owner category. Click on the comments link and have a look at the web address.
There will be a number there – which is the id of your post. Let us assume it is the number 1.
From this, we can find out the permalink. Remember how we made index2.php? Well, it’s going to be part of that, so you would link to http://yoursite.com/index2.php?id=1 for the ‘about me’ page.
Confused? Well, your source code might look like this:
<p>Here you will find info about me!</p> <a href="http://yoursite.com/index2.php?id=5">About Me</a><br /> <a href="http://yoursite.com/index2.php?id=4">Contact</a><br /> <a href="http://yoursite.com/index2.php?id=3">My pets</a><br /> <a href="http://yoursite.com/index2.php?id=2">Favourites</a><br /> <a href="http://yoursite.com/index2.php?id=1">Photos</a><br />
Understandable? Good! Now do that with the other sections.
Note: You can also hover over the comment link and see the number of the entry in the address bar, or look at the “last entries” under Dashboard if it’s a recent one.
If you can’t be bothered doing the links – that’s cool.
What you can do is go to Categories and click Get Display Code? for the category you want. Let’s assume it’s owner.
Get the display code of the “owner” entries, and stick that in a new page. The only downside to this is that all your entries will just come up in a row, and won’t look too organised.
If you don’t want something like comment on an entry or “page”, you can go to the category settings by clicking Edit next to the category. Then you can turn off commenting.
There you can also change the template by putting in the desired one – perhaps you want a different header to the other sections? Or perhaps you don’t want the date to be displayed.
You can take the template from Options and Templates and edit that.
Yes; it is really quite simple. The only tedious part is looking for the permalink. That’s why it is best to add the link to the page right after you have posted the entry or “page”.