 |
 |
 |
 |
 |
| Author |
Message |
scottdallas

Joined: 04 May 2006 Posts: 1802 Location: US |
|
Custom {category} links: |
|
I've noticed for a long while that you could add HTML formatting in your category names. I also realized you could add a category like this:
<a href="pageyoudlike.php">Category Name</a>
This will give you more power when creating your site.
For example:
<a href="games.php">Flash Games</a>
games.php:
 |  |
<?php include("header.php"); ?>
<?php
$number = "5";
include("admin/show_news.php");
?>
<?php include("footer.php"); ?> |
Why I like doing this? I added a new section in my full story template called "Found In: {category}" so users can easily navigate through all the content of similar categories of that news item. When viewing your categories in the CuteNews.ru admin panel, they will show as links, not code.. so it doesn't look messy..
For example:
And this is just one small but powerful advantage over CutePHP's CuteNews (CuteNews does not allow HTML formatting for categories).
_________________ www.scottdizzle.com uses cnr
last update: 07-22-08: 8:30 pm |
|
| Wed Feb 07, 2007 5:43 am |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
Goberg
Joined: 18 Jan 2007 Posts: 37
|
|
|
|
i added links like this a while ago:
<a href="http://www.MYURL.com/side.php?cat=meny&side=anmeldelser">Anmeldelser</a>
but now i got a new domain, but i cant figure out how to change the urls in the links i made.
any ideas?
|
|
| Mon Jun 09, 2008 4:01 am |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
 |
 |
 |
|