Hi Chris, thanks for getting back to me.
I really appreciate all the support. I just wanted to mention that the suggestions you gave below works fine and has been the method I was using until I decided to attempt a multiple installation.
All I was trying to achieve, was subcategories via separate installations, using each one as a separate category, but I'll leave that on my wish list for now.
The functionality you described could be achieved using solely categories. Take the following example, you have these categories
News Entertainment News Breaking News
If you create a new article that is
Breaking News
so you assign it to theBreaking News
category, but you also assign it to theNews
category.By doing this you're then able to display all news articles by simply specifying the
News
category like so<?php $cat[] = "News"; include 'news/index.php'; ?>
This will show the new article you've just created because it has been assigned to both
Breaking News
&News
. If however you wanted to display only breaking news articles you can simply specify theBreaking News
category like so<?php $cat[] = "Breaking News"; include 'news/index.php'; ?>
>NOW NOT SO FRIENDLY URL'S GRRRRH......
In the mean time, I have come up against another familiar problem I resolved earlier when I first installed N-13. The Infamous Friendly URL's.
Now, I had this working until I reinstalled the script again and now, the Friendly URL's are not working. I will attempt to list the files/folder structure here in the hope that you or someone might be able to help me out.
I am getting 404 errors and all sorts. I have tried various things and nothings worked, unfortunately, I have no nails left and only have one dreadlock left and if I pull that out, I'll be completely bald so please help.
I am in the process of redesigning the site on my testing platform.
Here I go again.
My folder root - http://localhost/hhl/
My Script Folder - http://localhost/hhl/features/editorials/
My News Script - http://localhost/hhl/features/editorials/index.php
My htaccess file - http://localhost/hhl/.htaccess
My Systems Settings
Enable friendly URLs: Yes
File extension : html
Prefix : /features/editorials/
Directory filename : index.php
My .htaccess Config which resides in the folder
RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L]
As you will notice, I already have an .htaccess file to enable code embedding so i have added the rewrite code to it.
Have I missed something or have I just messed it all up by reinstalling and moving folders?
Maybe someone can help. Chris, if you're there, pleeeeeeeeeeeeeeeeeeeze.
Thanks in advance.
Warmest regards
I haven't had a lot of time due to work recently but I have seen this thread and I'm not ignoring it! This weekend when I have time free I'll see about making this work.
Enable friendly URLs: Yes
File extension : html
Prefix : /features/editorials/
Directory filename : index.php
I think this may be the problem. I'm thinking the Prefix
having 2 parts is messing with the friendly URLs. Try using something like
Prefix : /editorials/
To see if that makes any difference.
Hi Chris,
Sorry for cross-posting.
I didnt realize I had started that many threads on the same topic. This may have been becuse i was using multiple computers at the time and had several pages open, my bad.
I'll try that and feedback.
Thanks for your continued support and help.
Cheers...
Hi Chris. Thanks for your continued support.
In your earlier reply to my Friendly URL's problem, you suggested the following.
Chris wrote at 2012-03-09 20:44:06
Enable friendly URLs: Yes File extension : html Prefix : /features/editorials/ Directory filename : index.php
I think this may be the problem. I'm thinking the
Prefix
having 2 parts is messing with the friendly URLs. Try using something likePrefix : /editorials/
To see if that makes any difference.
I'm afraid I have tried this and all other instances and yet, I cant get the pages to show anything. Infact, with the above instance, it just fetches the localhost index page. I'm really baffled by all this. Hope you're able to come to my rescues. All the files and configurations are still the same. I haven't altered anything.
Thanks in advance.