Put another URL before a link

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

phpmyfaqquestion
Posts: 20
Joined: Thu Feb 08, 2007 10:34 pm

Put another URL before a link

Post by phpmyfaqquestion »

unwichtig
Last edited by phpmyfaqquestion on Sun Feb 11, 2007 5:34 pm, edited 1 time in total.
Thorsten
Posts: 15728
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

you want to add a link at the left menu?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
phpmyfaqquestion
Posts: 20
Joined: Thu Feb 08, 2007 10:34 pm

Post by phpmyfaqquestion »

unwichtig
Last edited by phpmyfaqquestion on Sun Feb 11, 2007 5:28 pm, edited 1 time in total.
Thorsten
Posts: 15728
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

just change in template/index.tpl the following code

Code: Select all

<!-- start categories -->
                <div class="content">
                    <div id="categories">
                    <ul>
                        <li class="home">{backToHome}</li>
                        <li>{allCategories}</li>
                        {showCategories}
                        <li>{showSitemap}</li>
                    </ul>
                    </div>
                </div>
                <!-- end categories -->
to

Code: Select all

<!-- start categories -->
                <div class="content">
                    <div id="categories">
                    <ul>
                        <li class="home">{backToHome}</li>
                        <li><a href="http://site.com/site.php?url= ">Your new link</a>/li>
                        <li>{allCategories}</li>
                        {showCategories}
                        <li>{showSitemap}</li>
                    </ul>
                    </div>
                </div>
                <!-- end categories -->
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
phpmyfaqquestion
Posts: 20
Joined: Thu Feb 08, 2007 10:34 pm

Post by phpmyfaqquestion »

unwichtig
Last edited by phpmyfaqquestion on Sun Feb 11, 2007 5:28 pm, edited 1 time in total.
Thorsten
Posts: 15728
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

so kannst du überall Links setzen, das ist normales HTML.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
phpmyfaqquestion
Posts: 20
Joined: Thu Feb 08, 2007 10:34 pm

Post by phpmyfaqquestion »

unwichtig
Last edited by phpmyfaqquestion on Sun Feb 11, 2007 5:28 pm, edited 2 times in total.
cgba
Posts: 112
Joined: Mon Feb 05, 2007 7:11 pm

Post by cgba »

Hallo Thorsten,

wunderbar, dass dieser Thread gleich ganz oben stand. Dieses Posting beantwortet nämlich meine Frage :-).
Thorsten wrote:

Code: Select all

[...]

<li><a href="http://site.com/site.php?url= ">Your new link</a>/li>
                        
[...]
Am Schluss muss es wohl </li> statt /li> heißen.
Viele Grüße
Christian
MS Outlook FAQ
Thorsten
Posts: 15728
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,
phpmyfaqquestion wrote:Der sinn ist das System in eine bestehende Seite einzubinden.
ah, okay.

Ich muss mal schauen, wie man das realisieren könnte...

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
phpmyfaqquestion
Posts: 20
Joined: Thu Feb 08, 2007 10:34 pm

Post by phpmyfaqquestion »

unwichtig
Last edited by phpmyfaqquestion on Sun Feb 11, 2007 5:29 pm, edited 2 times in total.
Thorsten
Posts: 15728
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

welche Version nutzt du denn? Eine 2.0er?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
phpmyfaqquestion
Posts: 20
Joined: Thu Feb 08, 2007 10:34 pm

Post by phpmyfaqquestion »

unwichtig
Last edited by phpmyfaqquestion on Sun Feb 11, 2007 5:30 pm, edited 1 time in total.
Thorsten
Posts: 15728
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,
phpmyfaqquestion wrote:bei mir steht "phpMyFAQ 2.0.0-alpha | © 2001-2006"
die willst du aber nicht ernsthaft einsetzen, oder? Welche Methode ist denn das mit der Zeile 954?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
phpmyfaqquestion
Posts: 20
Joined: Thu Feb 08, 2007 10:34 pm

Post by phpmyfaqquestion »

unwichtig
Last edited by phpmyfaqquestion on Sun Feb 11, 2007 5:29 pm, edited 1 time in total.
Thorsten
Posts: 15728
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,
Warum nicht? Wegen der Sicherheit?
naja, das Ding ist sehr buggy und nicht fertig.
Was meinst du mit Methode? Ich habe das einfach nur geändert.
aber in welcher Funktion ist das? Inzwischen hat sich da ja alles geändert...

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply