Can anyone help me to put a link to an external site on the main menu?
I am running efiction 3.1 and want to link back to my main Joomla! site and can't find any info on the forum on how and indeed if this is possible. Sorry if I have missed it and am repeating an old request.
If you have instructions, please be clear with them as my knowledge of php is growing but is still limited.
You can either use a pagelinks, or code it using html in a header.tpl file of each skin you want it to show up on.
Personally, this is what I did to create an external link
Go here: /admin.php?action=links
Click on Add New Link.
Name: whateveryouwant
Text of Link: Joomla!
Link URL: http://www.urlhere.com
Link Target: Same Window
Link Access Level: All
If you want to use it as a variable on a header.tpl file, like the way {home} {browse} {search} work, you would use {whateveryouwant}, the same as the Name.
Whoever said nothing is impossible never tried slamming a revolving door.
url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word
Thanks Jan_AQ! It works like a charm. π
Hey Jan_AQ
site url: http://www.hansoloprincess.org/efiction/index.php
version 3.1
brigdes/mods: none
skin: fanfic
i added a link in page links
title: forum
Name: Forum
url: http://www.hansoloprincess.org/forum
link target: New window
link access: all
then in the varialbes file i used the same type as i do for custom pages
it is number 11 in the array
<?php
$blocks["categories"]["status"] = 2;
$blocks["featured"]["status"] = '2';
$blocks["info"]["status"] = 2;
$blocks["menu"]["status"] = '1';
$blocks["menu"]["content"] = array (
0 => 'home',
1 => 'recent',
2 => 'authors',
3 => 'catslink',
4 => 'titles',
5 => 'series',
6 => 'search',
7 => 'tens',
8 => 'challenges',
9 => 'help',
10 => 'contactus',
11 => 'forum_link',
12 => 'login',
13 => 'logout',
14 => 'adminarea');
$blocks["menu"]["style"] = 1;
$blocks["login"]["status"] = 2;
$blocks["random"]["status"] = 2;
$blocks["recent"]["status"] = 2;
$blocks["recent"]["status"] = 1;
$blocks['recent']['num'] = 3;
$blocks["skinchange"]["status"] = '1';
$blocks["news"]["status"] = 2;
?>
but it still isnt showing up in the menu listing
i have also tried using {forum} in the array wth no success.
and it is in my links list when i check it so i am not sure what to do now
thanks
jacci
why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/
php: 5.2.5 msql: 5.0.45-community
efic version: 3.4.3 latest patches: yes
bridges: none mods: challenges, displayword, beta-search
It's just "forum" in the list. If you used it in the .tpl file itself it would be {forum}.
thanks soo much tammy, didnt think to try just that, duh to me.
thanks again, as always you are a champion.
π
why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/
php: 5.2.5 msql: 5.0.45-community
efic version: 3.4.3 latest patches: yes
bridges: none mods: challenges, displayword, beta-search
