Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: [Solved]: Pasting Part Of The Search.php Into The Theme.php  (Read 2959 times)

0 Members and 1 Guest are viewing this topic.

pressurecooker

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 35
    • Environmental Articles
[Solved]: Pasting Part Of The Search.php Into The Theme.php
« on: April 21, 2008, 12:36:51 pm »

Hi,

I hope you can help me. I need to have advanced search on the right bar of the home page. I tried to paste the working part of the search.php into the theme.php {SUB_MENU}. Of course it left me with a blank screen. I must admit it's the first time I ever work with templates so for the time being it's just walking in the dark.
Maybe somebody could be so kind and tell me where to start.
Thanks
« Last Edit: April 24, 2008, 06:59:55 am by Joachim Müller »
Logged
Join the green campaign - Environmental Articles

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Pasting Part Of The Search.php Into The Theme.php
« Reply #1 on: April 21, 2008, 12:41:11 pm »

Just copy the HTML output of the search form into themes/yourtheme/template.html
Has been asked and answered very often already, please search the board.
Logged

pressurecooker

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 35
    • Environmental Articles
Re: Pasting Part Of The Search.php Into The Theme.php
« Reply #2 on: April 21, 2008, 01:14:04 pm »

Thank you very much.
I did search the bord but somehow the solution had slipped from my keen eye.
Erm, most difficult stuff in life turns out to be very simple in the end...
Logged
Join the green campaign - Environmental Articles

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Pasting Part Of The Search.php Into The Theme.php
« Reply #3 on: April 21, 2008, 02:31:59 pm »

Issue solved then? For the benefit of others you may post the link to the thread that gave you the answer to your question.
Logged

pressurecooker

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 35
    • Environmental Articles
Re: Pasting Part Of The Search.php Into The Theme.php
« Reply #4 on: April 23, 2008, 03:16:29 pm »

Feel free to mark it solved, thank you. There's no link to post. Actually your answer within this post was the one that solved my prob.
Logged
Join the green campaign - Environmental Articles
Pages: [1]   Go Up
 

Page created in 0.04 seconds with 20 queries.