Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linking to internal pages
#1
Its so annoying when you can't link to pages inside your site and I've seen a request for it.

So I've put the files required into the zip attached.

It should work! I've tested but there maybe be some minor bugs.

All instructions included and here:

1) Replace the link.js included with the current one. This is located
in "ROOT/admin/template/js/ckeditor/plugins/link/dialogs/"

2) in the edit.php file located in "ROOT/admin/" insert the following code
somewhere in the document OR replace the edit file with the one included.

////

<script>
var internalLinks = [
<?
$itAm = count($parents);
foreach($parents as $key => $file){
if (isFile($file, $path, 'xml')) {
$data = getXML($path .$file);
echo "['".$data->title."','".find_url($data->url,$data->parent)."']";
if($key!=$itAm-1)echo ",";
}
}
?>
];
</script>

////

Enjoy Smile
Reply
#2
This is already a feature in 3.0. Does this build upon that, or is this for the 2.03 version of GetSimple?
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply
#3
Have you tried latest Experimental Beta version (http://get-simple.info/beta)? It has implemented functionality in CKEditor to link to local pages.
Reply
#4
Thats for Version 2.03.1. Didn't realize 3.0 was out!

If anyone wants that for 2.03 then there it is Smile
Reply
#5
3.0 isn't out yet - but it will be in a week or so
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply
#6
Oh Tongue

Good luck Smile I'm sure it will be good!
Reply
#7
maybe after the release of version 3.0, you can relax a bit? Smile
Reply
#8
Oleg06 Wrote:maybe after the release of version 3.0, you can relax a bit? Smile
I think i need it Smile
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply




Users browsing this thread: 1 Guest(s)