Adding a link to th...
 
Notifications
Clear all

Adding a link to the Browse page?

8 Posts
4 Users
0 Reactions
1,648 Views
(@vikki)
Posts: 38
Eminent Member
Topic starter
 

URL to your eFiction: http://nsync-fiction.com/index.php
Version of eFiction: version 3.4.3.
Have you bridged eFiction, if so with what?: no
Version of PHP: Version 5.2.10
Version of MySQL: 5.1.30
Have you searched for your problem: yes
If so, what terms did you try: browse.php
State the nature of your problem: not a problem, more like a request
Do you have a test account for us? yes

How can I add a link to the Browse page? I was hoping it was something simple, like editing the browse.tpl page but after giving it a look I think it's more complicated... lol!

I wanted to add a link to the Search page... thanks for any/all help. πŸ™‚


 
Posted : 11/09/2009 5:04 pm
 Elle
(@jenny)
Posts: 594
Honorable Member
 

You mean like additional to "Titles" and stuff? It's in admin->panels. You want to add search under panel B. πŸ™‚


archive: dramione.org
site: accio.nu

Available for skin/mod commission! πŸ™‚

 
Posted : 11/09/2009 6:45 pm
(@vikki)
Posts: 38
Eminent Member
Topic starter
 

thanks Jenny!

it sounds so easy but of course something goes wrong for me... lol!

so I added the panel for Search and put the url link for it, but on the browse page - when I click on Search - it sends me to a different url which ends up being an error page http://nsync-fiction.com/browse.php

bummer. any suggestions? πŸ™


 
Posted : 12/09/2009 3:16 am
(@lyndsie)
Posts: 1263
Member Moderator
 

What information did you use to fill out the form in Panels?


 
Posted : 12/09/2009 3:24 pm
(@vikki)
Posts: 38
Eminent Member
Topic starter
 

Name: search
Title: Search
URL to Panel: search.php (I even edited this and changed it to the longer http url and it did nothing)
Level: 0
Hidden: unchecked
Type: B


 
Posted : 12/09/2009 4:20 pm
(@tammy)
Posts: 2577
Member Moderator
 

The browse panels are specific panel files that get included inside the browse.php page.  The search page is a separate page, so what you're trying won't work.  You can't add a search option to the list without MOD'ing browse.php.  I'm not on my own computer right now so I can't tell you anything more specific as I don't have the eFiction files to look at.


 
Posted : 12/09/2009 11:24 pm
(@vikki)
Posts: 38
Eminent Member
Topic starter
 

ooooo okay. That makes sense... thanks Tammy.

I'm not very php savy, so if someone could help with the coding I need to add to browse.php? that'd be awesome.

thanks again!


 
Posted : 13/09/2009 1:41 am
 Elle
(@jenny)
Posts: 594
Honorable Member
 

Ah, I use something like this to link the toptens.

At the beginning of browse.php after all the comments (line 39?) add:

if(isset($_GET['type']) && $_GET['type'] == "search") header ("Location: search.php");


archive: dramione.org
site: accio.nu

Available for skin/mod commission! πŸ™‚

 
Posted : 13/09/2009 11:06 am
Share: