positioning search results
positioning search results
I have a search form in the right-hand column on each page. If I search, phpwcms parses search results into the same area, i.e. the right-hand column. How can I change this so I get search results in the content area instead?
Thx for any idea!
Ich habe ein Suchfeld in der rechten Spalte jeder Seite. phpwcms gibt konsequenterweise auch die Suchergebnisse in der rechten Spalte aus. Wie kann ich dies ändern, denn natürlich will ich die Ergebnisse ja im content-Bereich haben?
Danke!
Thx for any idea!
Ich habe ein Suchfeld in der rechten Spalte jeder Seite. phpwcms gibt konsequenterweise auch die Suchergebnisse in der rechten Spalte aus. Wie kann ich dies ändern, denn natürlich will ich die Ergebnisse ja im content-Bereich haben?
Danke!
I would create a search page and place the actual html of the search form in the right column of your page. Then, set the form results to your search page. You'll see what I mean by using the search form at the bottom of http://www.watershedcabins.com
Thanks
@pappnase:
I had tried to find something in the documentation first then in the forum but couldn´t. Thx anyway.
Hatte ich versucht, zunächst in der Doku, dann auch im Forum - ohne Erfolg. Trotzdem danke.
@Ben:
Nice one! Works perfect. Thanks a lot. This is exactly the kind of workaround I was looking for. Changing the php stuff is always a problem when it comes to updates so I always try to avoid this. Congratulation on your website, too. Maybe somewhat off-topic: How did you do the Flash-like pic transitions? Do they come with phpwcms??
Danke! Funktioniert perfekt. Nach so etwas hatte ich gesucht, sodass kein PHP verändert werden muss und dann beim nächsten Update zu Problemen führt. Tolle website! Noch eine ganz andere Frage: Wie hast Du die nach Flash riechenden Bildübergänge im Header gemacht? Ist das eine Funktion von phpwcms?
Cheers
xtian
I had tried to find something in the documentation first then in the forum but couldn´t. Thx anyway.
Hatte ich versucht, zunächst in der Doku, dann auch im Forum - ohne Erfolg. Trotzdem danke.
@Ben:
Nice one! Works perfect. Thanks a lot. This is exactly the kind of workaround I was looking for. Changing the php stuff is always a problem when it comes to updates so I always try to avoid this. Congratulation on your website, too. Maybe somewhat off-topic: How did you do the Flash-like pic transitions? Do they come with phpwcms??
Danke! Funktioniert perfekt. Nach so etwas hatte ich gesucht, sodass kein PHP verändert werden muss und dann beim nächsten Update zu Problemen führt. Tolle website! Noch eine ganz andere Frage: Wie hast Du die nach Flash riechenden Bildübergänge im Header gemacht? Ist das eine Funktion von phpwcms?
Cheers
xtian
xtian,
Thanks for your nice comments on the Watershed Cabins site and I'm glad I was able to help you with the search form. As for the homepage slideshows, I used the slideshow script from here (http://www.dynamicdrive.com/dynamicinde ... deshow.htm) in an iframe.
Thanks for your nice comments on the Watershed Cabins site and I'm glad I was able to help you with the search form. As for the homepage slideshows, I used the slideshow script from here (http://www.dynamicdrive.com/dynamicinde ... deshow.htm) in an iframe.
I don't understand?
I'm really sorry to bother you, but I tried to understand your instructions, you've done exactly what I want to do in my site on your site. That is place the seach form outside of the main content section and get results in the main content page.
Do you think you could elaborate a bit, step by step instuctions? I can't code, I'm a designer.
P.S.: I looked at the above link that leads to the documentation but it doesn't seem to explain how to target a diffrent section of the site templates.
Do you think you could elaborate a bit, step by step instuctions? I can't code, I'm a designer.
P.S.: I looked at the above link that leads to the documentation but it doesn't seem to explain how to target a diffrent section of the site templates.
The only limits that exist, are those we impose on ourselves!
-me
-me
I found help in another post a few hours later...
I found this post which gives more details on how you did what you did, the coding didn't quite work as mentioned but I figured out how to get this example working.
http://www.phpwcms.de/forum/viewtopic.p ... earch+left
THis line of code is the important one:
You replace the "index.php?en_search" with the url you get once you've created your search article according to the instructions. I followed them step by step and couldn't get it to work as they describe. Copy the article number in the url, mine was:
so the above line of code from the other post becaomes with my site:
Just go to the search page you create in your site and copy the url from the address bar of your browser into the supplied form code from the phpWCMS forum post link above.
Heck I'm an idiot when it comes to programming, I'm a graphic designer, if I can get this to work anyone can!
http://www.phpwcms.de/forum/viewtopic.p ... earch+left
THis line of code is the important one:
Code: Select all
<form action="index.php?en_search" method="post">
Code: Select all
http://firsttimesellers.com/phpWCMS/index.php?id=5,33,0,0,1,0
Code: Select all
<form action="index.php?id=5,33,0,0,1,0" method="post">
Heck I'm an idiot when it comes to programming, I'm a graphic designer, if I can get this to work anyone can!
The only limits that exist, are those we impose on ourselves!
-me
-me