Welcome, Guest. Please login or register.
Did you miss your activation email?
May 25, 2012, 05:11:13 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155516 Posts in 21712 Topics by 7738 Members
Latest Member: chris85
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: A way to re-order sites into alphabetical order?  (Read 423 times)
VSG

Offline Offline

Posts: 108


« on: August 30, 2009, 11:50:27 AM »

Hi, there!

I was wondering: when you insert a WB-link in the FCKEditor you get a listing of all your pages.
However that listing is not alphabetical or even the way you put your pages in order of the tree-view, but it is in the order the pages were added to the site.

Is there a way to clear that list so that you can order them either alphabetically or in the order of the tree-view?

And on a second thought, is there a quick way to alphabetically order the pages in the tree-view?

Right now my tree-view looks like this:

-Home
-Page A
--Page C
--Page D
--Page B
-Page F

Of course I could manually drag'n'drop the pages in the correct order - but right now I'm talking about hundreds of pages. And if there was a quicker way, I'd appreciate it.

Best regards,
VSG
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6975


WWW
« Reply #1 on: September 04, 2009, 06:02:15 PM »

There is no automated way of doing this. Additionally, the pages are being shown in the frontend in the order they are positioned in the backend.

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

iNCiTE Web

Offline Offline

Posts: 2


« Reply #2 on: September 05, 2009, 03:39:20 PM »

Hi

I had a similar problem, so I modified the fck_wbmodules.php to add "ORDER BY position" in the 2 MySQL queries, to get the pages ordered on the same way they appears on the front-end.
So may be you could change to "page_title" instead of "position", but that sound weird...

Now I'm wondering how to add a select box with the differents possible targets for the link, because after I inserted a WB-link, I have to go to link menu to modify the target... any ideas in wich files I must look for it ?

Thanks
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!