You May Like

Subscribe to RSS through Email:

Enter your email address:

Home arrow Forum
VivoCiti Online Discussion Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:guess I'm a no-coder :/ (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:guess I'm a no-coder :/
Re:guess I'm a no-coder :/ 15 Years, 9 Months ago Karma: 0  
Well, I managed, took some pepsi, and went back to look my screen till it all worked on it's own...

so I edited in com_search\views\search\tmpl

default.php, defaultresults.php and defaultform.php to take away all the search box and the numbers before the results.

and in com_search\views\search is the editing I'm right now busy with...

I commented the 'buld select part' and the

$row = eregi_replace( '('.$searchRegex.')', '<span class="highlight">\0</span>', $row );
line... Now, what I still need done:

$row = SearchHelper::prepareSearchContent( $row, 200, $needle );
This line controls what is shown after the results, brief description of XXX characters (200 in this case)... I would love this not to be character related, but instead to show the text before the 'readmore' break, independently of how long/short it is... Also, any idea how could I show this in blog layout? Best regards And thanks for a great tool Sidenote: I have no idea how, once this is finished, or enought to be used, I'm gonna turn it a new component, as I don't want to lose current search functionality, just one a capped one for using as menu...
Report to moderator   Logged Logged  
Last Edit: 2008/03/03 22:28 By johnnydement.
  The administrator has disabled public write access.
      Topics Author Date
    thread link
guess I'm a no-coder :/
johnnydement 2008/03/03 21:12
    thread link
thread linkthread link Re:guess I'm a no-coder :/
johnnydement 2008/03/03 22:16
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Subscribe To

 Subscribe in RSS

Follow me...

Top 10 Most Downloaded

HTML5 Games for Phone & Tablet

Job Vacancies