Im trying to do a menu as a support link in e107

I have made a dir in e107_plugins called scanner_menu

and made a scanner_menu.php

What Im trying to achieve is similar to this html example

http://www.clan-tfb.co.uk/scanner_menu.htm

I want to make a menu with an image in that links to http://www.cheat-scanner.co.uk

our site is http://www.clan-tfb.co.uk

I hope you can help... I'm just learnin php

I can sort the dir etc just get errors when trying to insert the image with link... this is my example (wrong) effort.

<?php
$caption = "Support CheatScanner";

$text =
'img src='http://www.clan-tfb.co.uk/cheatscanner.jpg' alt='Support Cheat Scanner' '

;

";
$ns -> tablerender($caption, $text);

?>

Im trying to do a menu as a support link in e107

I have made a dir in e107_plugins called scanner_menu

and made a scanner_menu.php

What Im trying to achieve is similar to this html example

http://www.clan-tfb.co.uk/scanner_menu.htm

I want to make a menu with an image in that links to http://www.cheat-scanner.co.uk

our site is http://www.clan-tfb.co.uk

I hope you can help... I'm just learnin php

I can sort the dir etc just get errors when trying to insert the image with link... this is my example (wrong) effort.

<?php
$caption = "Support CheatScanner";

$text =
'img src='http://www.clan-tfb.co.uk/cheatscanner.jpg' alt='Support Cheat Scanner' '

;

";
$ns -> tablerender($caption, $text);

?>

Why not just create a custom menu (admin - custom menus/pages) and add the html there

yes but I am trying to learn how to make menus in e107 not use the built in stuff if possible.

yes but I am trying to learn how to make menus in e107 not use the built in stuff if possible.

Since plugins and menus are quite similar, you may want to check out the documentation on plugins found at e107coders.org Or you can just look at existing menus to see how they are layed out - you'll find them in their own folders inside the e107_plugins directory

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.