I just want to say that I am really enjoying this program and am trying to learn more about php and this is helping.
My one question, and it might be a very simple one to everyone else, is how do I add more links to the default menu on the left hand side of the screen. Right now the only thing that shows up for the "Visitor" is "Change Login" "Search" and "About". I want to add a link to the main site index page but cannot.
I have read through and found where you directed someone to go to the diapo.php file and near the line 207 add in a specific code. I tried that and the only time the "Home" link appeared was when I was logged on, but not viewing in "Visitor" mode.
Thanks for your help!
Bluelens
www.bluelens.net
I rewrite the MOD :
in diapo.php (version 1.2) line 207 (or near it), replaces
$summary.="</div>";
by
$summary.=" <img src="".$user['lien_collapsed']."" alt=">"/> <a href="[url=http://..."]http://..."[/url] title="yourTitle">the link</a>"; $summary.="</div>";
I'm sure it works fine, for all users
Offline
Heu, comme dit ailleur, je suis une bille en HTML.
je met quoi ou ?
Je met quoi dans "<img src=" si je veux luste un lien texte,
quoi dans "title=", quoi dans ""yourTitle"", quoi dans "the link" :??:
just an example for you :
$summary.=" <img src="".$user['lien_collapsed']."" alt=">"/> <a href="http://www.z0rglub.com" title="Pierrick LE GALL CV">My CV</a>";
title is what is shown with mouse over the link.
Offline
Ca marche... En tant que visiteur.
Quand je me log en administrateur, le lien et la flêche sont à la suite du lien "admin" au lieu d'être à la ligne.
Offline
Ca marche... En tant que visiteur.
Quand je me log en administrateur, le lien et la flêche sont à la suite du lien "admin" au lieu d'être à la ligne.
this is completely normal. If you want it elsewhere, try to understand how it's made. It will be then easier for you...
Offline
Hi,
So is there a solution to add a web link in this menu ?
I've tried those tests :
1. add the line you write in diapo.php
-> The page-setting of the menu has changed
2. replace one of an existing line such as "log out" by your line.
-> The page-setting of the menu has changed
3. just add an empty "if" condition
-> The page-setting of the menu has changed
4. add an egyptian's command line
-> I've an error when the page display !
So Maybe we have to wait for 1.3 version...
see you.
So Maybe we have to wait for 1.3 version...
in version 1.3 it will be easier indeed. It can't be easier than in version 1.3 in fact... :D
Offline