Hello! Thanks for looking at my post.
In the feed creator includes/nukeSEO/content/News.php near the bottom, the article URL is:
Code:return getNukeURL().'modules.php?name=News&file=article&sid='.$id;
|
Where most sites just use the "News" module, I use 3 different custom homemade modules. I have 3 "$topics", and each custom module only posts $sid from their assigned $topic number. However, I use the same generated nukeSEO feed to join them all together. So what I really need is to figure out how to indentify the $topic number, then use it to set up 3 different url's to show in the feed.
So instead of all feed generated urls being modules.php?name=News&file=article&sid=$id OR article-$sid.html, I need the custom url's put in place of these depending on $topic numbers 2, 4 & 5.
Thanks again for everyone who tries to help
Normally I can use something like:
Code:if ($topic=='2') {
$url = 'address2';
} else
if ($topic=='4') {
$url = 'address-4';
} else
if ($topic=='5') {
$url = 'address5';
}
echo 'http://www.my_fake-website.com/' .$url. '-' .$sid. '.html
|
but this isnt working here. The $topic doesnt seem to be identified or something.
This is really important to me that I figure this out.