nukeSEO.com - PHPNuke SEO Search engine optimization, professional tools including nukeSEO, nukeSPAM, nukeFEED, nukePIE, nukeWYSIWYG and more

 

. Welcome to nukeSEO.com  ! 
.
.
.

Tag This



.
nukeSEO.com: Forums


 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Sitemap help needed
 
 
Post new topic   Reply to topic    nukeSEO.com Forum Index -> nukeSEO (tm)
View previous topic :: View next topic  
Author Message
BigCook
webmaster


Joined: Sep 18, 2008
Posts: 5

PostPosted: Thu Sep 18, 2008 1:16 pm    Post subject: Sitemap help needed Reply with quote

Hello ive been using your sitemap for some time now infact scine its release , Today i decided to add my own personal touch to make it more attractive to the eye.

Heres an example : heavy cropped for easy viewing.

Image

Now for my question =)

what i want to do is have the News group displayed 1st. With the powers of PS heres what im trying to accomplish.

Image

Ive tried and tried and have to admit defeat =(

heres the code from your site map module that i think is the way to go (could be wrong mysql not one of my strongest skills)

Code:
global $db, $tblname, $url, $module_name;

$GLOBALS['seoresult'] = $db->sql_query('SELECT `id`, count(`id`) as `rel`, `date`, `title`, `rid`, `desc`, `author`, `searchmodule` FROM '.$tblname.' GROUP BY id ORDER BY `searchmodule` ASC, `rel` DESC, date DESC');


Hope ive explained my task well and looking forward to a reply.

Thx BigCook.
  
Back to top
View user's profile Send private message
kguske
Site Admin
Site Admin


Joined: May 12, 2005
Posts: 875

PostPosted: Thu Sep 18, 2008 10:49 pm    Post subject: Re: Sitemap help needed Reply with quote

Are you just saying put News before Forums?
_________________
  
Back to top
View user's profile Send private message Visit poster's website
BigCook
PostPosted: Fri Sep 19, 2008 6:35 am    Post subject: Re: Sitemap help needed Reply with quote

Yes the goal was to displayNews before Forums.

Had another bash at it this morning and seem to of got it showing news 1st now.

i changed :
Code:
find

$gar = array_reverse(asortbyindex($gar, 'rn'));
Code:
replace with

$gar = array_reverse($gar, 'rn');


this displays the sitemap like this:
NEWS
FORUMS
DOWNLOADS

is it possiable too have it display like this
NEWS
DOWNLOADS
FORUMS
  
Back to top
Display posts from previous:       
Post new topic   Reply to topic    nukeSEO.com Forum Index -> nukeSEO (tm) All times are GMT - 5 Hours
 
 Page 1 of 1

 

Jump to:   
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

Powered by phpBB © 2001-2008 phpBB Group


Page Generation: 0.05 Seconds