Forum Support

Shape 5
March 29, 2024, 08:07:54 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Front Page Display is static (lack of better word)  (Read 615 times)
EXPS
Jr. Member
**
Offline Offline

Posts: 72



« on: May 26, 2009, 06:58:30 PM »

Okay I just installed this template and have setup the Frontpage Display.  The problem is when I do a search from the homepage, the Frontpage Display doesn't go away.  I mean I have to scroll past the display to find the search results.  I have noticed this also being a problem with Virtuemart.  Any ideas?  I see on the demo site, when I do a search from the home page the Frontpage Display disappears and is replaced with the the search results.   My site is located at www.thevectorfactory.com/advance. I don't have many other extensions installed, but if you think they are causing a problem I can list them if I get a reply.  Thanks!

-Jack
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #1 on: May 27, 2009, 07:13:43 AM »

Hello Jack,

The default Joomla search module doesn't allow you to do this. But you can easily edit it to make it go to the search by itself. If you edit the following file:

\modules\mod_search\tmpl\default.php

At line 3 look for:

<form action="index.php" method="post">

And change it to:

<form action="index.php?searchword=custom+page&ordering=&searchphrase=all&option=com_search" method="post">
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
EXPS
Jr. Member
**
Offline Offline

Posts: 72



« Reply #2 on: May 27, 2009, 03:53:58 PM »

Thanks.  It work great now! You guys are awesome.
Logged
EXPS
Jr. Member
**
Offline Offline

Posts: 72



« Reply #3 on: May 27, 2009, 04:00:10 PM »

One more easy question (easy for you anyway:)...  I am having trouble changing the padding between the article titles and the content below it.  I know the ".contentheading" class controls this because I have changed the color, but I thought maybe it was in a table somewhere that had a padding or margin applied to it.  If you could tell me how to reduce this space that would be great. Thanks.
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #4 on: May 28, 2009, 07:08:41 AM »

Hi, most of the space is because of padding within the actual content but you can try adding this to the bottom of your template_css.css file:

table.contentpaneopen {
margin-top:-8px;
}
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
EXPS
Jr. Member
**
Offline Offline

Posts: 72



« Reply #5 on: May 28, 2009, 07:14:58 AM »

Thanks again! The results were exactly what I wanted.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.