Shape 5

Joomla Templates => Forever ACE - February 08 - Club => : EXPS May 26, 2009, 06:58:30 PM



: Front Page Display is static (lack of better word)
: EXPS 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


: Re: Front Page Display is static (lack of better word)
: mikek 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">


: Re: Front Page Display is static (lack of better word)
: EXPS May 27, 2009, 03:53:58 PM
Thanks.  It work great now! You guys are awesome.


: Re: Front Page Display is static (lack of better word)
: EXPS 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.


: Re: Front Page Display is static (lack of better word)
: mikek 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;
}


: Re: Front Page Display is static (lack of better word)
: EXPS May 28, 2009, 07:14:58 AM
Thanks again! The results were exactly what I wanted.