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 :/
guess I'm a no-coder :/ 15 Years, 9 Months ago Karma: 0  
Hi, I followed Sunwu advice and decided give a try at coding for joomla, but I'm getting really frustrated.

I'm trinng to do what I thought was a easy mod... but is turning it isn't, or evidently, that I'm not a coder

I wanted a itemlink for content from different sections, so thought on doing using predefined keywords, and a search on them... great idea, ok, worked, but don't want to have the search again options before the articles... so, let's take it out...

Is definitely not so easy (at least for me)... managed to delete part (ordering and a bit more), but the search box and options are still there... and a bit more...

So, anyone could help me? I don't want the job done (well, that is good ) but would prefer to get the job done, and a guide to be able to do it myself and understanding what I'm doing

Also, how do I make that later a component? as I don't want to lose search functionality, I would prefer it to be an independent thing...

Thanks for not laughing at me
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
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.
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