Support Project Manager Questions? 760.239.7901 or Get a free quote

AWS Easy Page Link

December 31, 2007 | 46 Comments »

This is our first plugin created for WordPress – Easy Page Link. When entering content into WordPress sites, sometimes you want to cross link pages within the site. Remembering what the URL to the other page is a pain, so this takes advantage of the built in editor’s features by creating a simple drop down list with all your existing pages. Simply select the page you want to link to and the URL is put in for you.

View plugin page on WordPress.org

AWS Easy Page Link Screenshot

Comments

Posted by Clint on January 21st, 2008 at 9:33 pm

I downloaded your easy link plugin, uploaded and activated it but when i insert a link the dropdown list isn’t in tinyMCE advanced

Posted by Derek on January 22nd, 2008 at 8:45 am

You need to force refresh your browser window when writing/editing – the TinyMCE JavaScript is very stubborn and likes to keep using a cached version of itself instead of updating every time.

Posted by Marcel on January 22nd, 2008 at 6:44 pm

I have the same problem. I installed it, activated it but it doesn’t show up when I click on “insert/edit link”. Event the force browser refresh doesn’t help.

Any idea?

Posted by Derek on January 23rd, 2008 at 10:15 am

If you have force refreshed (Shift + F5) repeatedly, I’m not quite sure. I have installed it on multiple client sites, with and without TinyMCE Advanced Plugin, and have never had an issue yet. There may be another plugin you are using which is conflicting with this one. You need to deactivate all others and see if the problem still persists.

Posted by changes in wpmu on January 24th, 2008 at 8:27 am

[...] http://ashwebstudio.wpengine.com/wordpress/aws-easy-page-link [...]

Posted by Derek on January 31st, 2008 at 6:21 pm

An issue was finally found which caused the problem for most people. It was because WordPress’ website changed the folder name from “AWS-easy-page-link” to “aws-easy-page-link”. This change in case caused an invalid URL. The plugin has been updated to v 0.2

Posted by giovanna on February 1st, 2008 at 2:51 am

Trying to time a plugin like yours? But with Advanced TinyMCE unfortunately I do not work! I tried shift + F5 to remove the cache, to enable / disable the two plugin …
any idea for me?

Posted by Derek on February 1st, 2008 at 9:33 am

Please make sure you are using v0.2

Posted by giovanna on February 1st, 2008 at 2:41 pm

yes, my configuration is wp 2.3.2 with tinymce advanced 2.2 and AWS Easy Page Link v 0.2 on MAMP installation (local apache mysql etc on mac os x)

Posted by Derek on February 1st, 2008 at 3:28 pm

Check to make sure path’s are correct to the link list file. To do this, View Source when editing a page/post. Look for “tiny_mce_config.php”. Copy the full URL and paste into your browser window. Now you are looking for “link-list.php”. Copy that full URL and paste into your browser window.

If you get a 404, then there is a path issue. I have no idea what could cause that as this plugin does work on all my client sites as of v0.2. Check the path and make sure it makes sense.

You should get some JavaScript coding.

Posted by giovanna on February 1st, 2008 at 6:07 pm

Many thanks:

this is http://localhost:8888/blogURL/wp-includes/js/tinymce/tiny_mce_config.php?r=6332&ver=20070528

initArray = {
mode : "specific_textareas",
editor_selector : "mceEditor",
width : "100%",
theme : "advanced",

[.........other code...........]

inline_styles : true,
plugins : "inlinepopups,autosave,spellchecker,paste,wordpress,-cforms,-ps_imagemanager_tinymceplugin,bold,-NextGEN,table,media,fullscreen,visualchars,nonbreaking,style,emotions,searchreplace,xhtmlxtras,advlink,advimage,contextmenu"
};

initArray.external_link_list_url = "http://localhost:8888/blogURL/wp-content/plugins/aws-easy-page-link/link-list.php";
tinyMCE.loadPlugin("table","http://localhost:8888/blogURL/wp-content/plugins/tinymce-advanced/mce/table");
tinyMCE.loadPlugin("media","http://localhost:8888/blogURL/wp-content/plugins/tinymce-advanced/mce/media");
[.........other loadPlugin...........]
var placeholder="placeholder for:";var formnames=new Array("Contatti","Preventivi","Lavora con noi");var purl="http://localhost:8888/blogURL/wp-content/plugins/contactforms/js/"; tinyMCE.loadPlugin("cforms", "http://localhost:8888/blogURL/wp-content/plugins/contactforms/js/");
tinyMCE.loadPlugin("NextGEN", "http://localhost:8888/blogURL/wp-content/plugins/nextgen-gallery/js/");

tinyMCE.init(initArray);

and the http://localhost:8888/blogURL/wp-content/plugins/aws-easy-page-link/link-list.php it’s all ok!

Posted by Derek on February 4th, 2008 at 10:11 am

Then you need to disable all other plugins to see if another plugin is affecting this one.

Posted by giovanna on February 10th, 2008 at 12:58 pm

ok, i disableb all plugin. It’s work fine!!! may many thanks!!!

Posted by ross on February 22nd, 2008 at 3:02 pm

would love to see support in the link list dropdown for third-level nested lists. :)

Posted by KingManon on March 27th, 2008 at 4:05 am

Great plugin idea, really need this. Any chance it is updated to work with WP2.5?

Posted by Ed on April 1st, 2008 at 12:02 pm

YES!! WP 2.5 compatibility would rock! I miss this plugin already… :(

Posted by Nibb on April 11th, 2008 at 3:43 am

Hi Derek, great plugin idea. I’m using WP 2.5, I can’t tell whether the plugin is going or not. I also use TinyM advanced. I can;t see a separate icon for the plugin in the normal icon set for TM, does the plugin extend the normal link insert option? When I click on this I get the standard link insert window. How do you actually formulate lists of links in the firrst place?

Once again – thanks

Posted by Derek on April 11th, 2008 at 9:25 am

Currently this plugin doesn’t work with 2.5 – they completely redid how TinyMCE works within WordPress. I have not yet had time to work on an update.

Posted by Dave Laird on April 11th, 2008 at 3:38 pm

I really like you site and your easy link plugin.

When are you guys going to upgrade 2.5

Posted by Nibb on April 18th, 2008 at 2:49 am

Cheers Derek, its annoying really that they did, several extensions I have for Tinymeece dont work now – and the one they have out of the box isn’t really powerful enough. I can’t understand why certain features you see as standard on TM installs in other CMS are left off. Thanks for the answer

Posted by Petra on April 20th, 2008 at 9:00 am

Hello,

I really do like your plugin so I tried to find a way to use it with WP 2.5/Tinymce 3. The following code should solve the problem:

function AWS_easy_page_head( $initArray ){
$initArray['external_link_list_url'] = get_option(‘siteurl’) . ‘/wp-content/plugins/aws-easy-page-link/link-list.php’;
return $initArray;
}

add_filter(‘tiny_mce_before_init’, ‘AWS_easy_page_head’);

Posted by Derek on April 23rd, 2008 at 12:23 pm

Thanks to Petra, I have updated the plugin to work with 2.5

Posted by Frank on April 29th, 2008 at 7:48 am

Hi Derek,
too bad you updated the Plugin so it requires Wp 2.5 now. Do you still have a version that works on version prior to 2.5 and TinyMCE Advanced? That’d be great for all of those who are not planning to update to the buggy WP 2.5 just yet. Thanks a lot!
Frank

Posted by Derek on April 29th, 2008 at 7:55 am

You can always visit the past tagged versions, http://svn.wp-plugins.org/aws-easy-page-link/tags/ – version 0.2 was for pre-2.5

Posted by KingManon on August 25th, 2008 at 1:47 pm

THANK YOU!! I had given up on WP as a CMS because your plugin didn’t work with 2.5+. Now I picked it up again and found your plugin working and I am back in business!!

Posted by Nora on September 5th, 2008 at 12:33 pm

Hi, Thanks so much for your plugin!
In order to get it to work with WP2.6 I had to replace the ‘require’ call to wp-config.php in link-list.php with the following:


$root = dirname(dirname(dirname(dirname(__FILE__))));
if (file_exists($root.'/wp-load.php')) {
require_once($root.'/wp-load.php');
} else {
// Pre-2.6 compatibility
require_once($root.'/wp-config.php');
}
header('Content-Type: text/javascript; charset='.get_bloginfo('blog_charset').'');

Posted by Derek on September 8th, 2008 at 7:44 am

FYI, I’ve never had to do this workaround for 2.6 – I install my plugin on every client site and have been doing so successfully without this extra code.

Posted by Rami on September 23rd, 2008 at 7:24 am

I have just installed wordpress 2.6.2 with this plugin, and i doesn’t find the toolbar button on the page editor, does it work with the default WordPress editor or i shoudl put the advanced one?

Posted by Derek on September 25th, 2008 at 10:59 am

There is no additional toolbar button in the editor, you use the regular linking button – there is just an extra drop down now available which allows you to select pages created within your WordPress setup.

Posted by Derek on October 28th, 2008 at 10:08 am

I have updated the plugin to version 0.5 – it now supports unlimited levels of children pages. This has been tested up to WP 2.6.3 and working successfully.

Posted by Kim on December 11th, 2008 at 1:48 am

Hi, first of all thanks for a great plugin! I developed my site locally with wamp, and everything was working great, but when i move my site to the server, all internal links are still pointing to my localhost site. Is there an easy way to change the link address or do i have to redo all the internal links?

Posted by Derek on December 11th, 2008 at 8:58 am

When you move your site to a new domain (which is what you are doing), you have to change all the URLs for everything. See here for more info

Posted by Brian on December 16th, 2008 at 12:23 pm

Does the 0.5 version of the plugin work with 2.6.5?

Posted by Derek on December 16th, 2008 at 12:29 pm

The plugin works up to 2.7

Posted by En.nicuilie.eu Blogs » Top 1000 WordPress Plugin Authors on December 31st, 2008 at 1:28 am

[...] AWS Easy Page Link [...]

Posted by Bjarne on March 13th, 2009 at 8:51 am

Hey! Love the plugin, but I can’t get it to work when using the Mandigo theme. Is this somethin you’ve heard before?

Posted by Derek on March 13th, 2009 at 10:40 am

This plugin has nothing to do with themes, it should work regardless of which one you are using.

Posted by Ariannel on March 20th, 2009 at 2:11 pm

This plugin was exactly what I was looking for, but I can’t find my private page in the link list. Am I doing something wrong?

Posted by Derek on March 20th, 2009 at 2:44 pm

You are not doing anything wrong. The plugin uses wp_list_pages which does not grab private pages.

Posted by リンク補助のプラグイン♪ « 創作サイトSTUDY on September 29th, 2009 at 8:40 am

[...] 「AWS Easy Page Link」 [...]

Posted by Robert Neuschul on December 2nd, 2009 at 1:50 pm

On a brand new installation of WP 2.8.6 with only AWS Easy Link installed the plugin works fine, but if I add Dagon Design Form Mailer [DDFM] the WP edit control link button behaves as if AWS EL was not installed.

If I deactivate DDFM then AWS EL once again behaves as it should.

This is NOT a WP cache issue: have tested very carefully on several new instances of WP.

Any ideas?

Posted by WordPress Wednesday: Using the Shortcode API to Create Blog Links « Practically Creative – Weblog of Michael Dozark on December 9th, 2009 at 2:09 pm

[...] easiest solution is to use the AWS Easy Page Link plugin. Unfortunately, the plugin hard-codes the link, and since I’m building the site on my [...]

Posted by Kathryn Blair on December 18th, 2009 at 12:05 pm

Question: want to make sure that the link is built with get_permalink and you don’t get the value of the current permalink and put that in a normal link. Because I’m going to change the URL of the blog I’m working on, so I’d like to know if that will be an issue.

Posted by Dave Wilkinson on April 21st, 2010 at 5:38 am

Just to let you know that the plugin seems to work just fine in WP 2.9.2.

Thanks.

Posted by Sebastian on May 4th, 2010 at 10:36 pm

Hey,

many thanks for this great plugin. The code is not complicated so even my as a php novice can find the right point for a little modification.

Presently your plugin sets a link to the permalink using the_permalink();
That’s fine but what happens when the page slug will be changed? The link fails!

Regardings this ‘problem’ and the new clean internal link buidling of WP 3.0, I changed your code a little bit:
I have commented out line 35 in the link-list.php and add instead the following two lines.

// the_permalink();
bloginfo(‘wpurl’);
echo ‘/?p=’.$post->ID;

If you don’t want absolute paths you can just leave bloginfo(‘wpurl’); and it should still work. (This might be interesting if you move already written content from one website to another!)

I think this is a handy solution and a sensefull extension of this plugin, isn’t it?

Love from Bali

Posted by Derek Ashauer on March 18th, 2011 at 10:03 pm

This plugin is now obsolete with 3.1! They have finally integrated a much better internal linking system into the core.

Leave a Reply

Ready to get started? Request a free quote