Forum

JiFile for Joomla!

JIFile
JiFile is a component for Joomla! that allows you to index file contents (PDF, DOC, etc..) to perform searches in them.

Learn more...  Demo

JoomPhoto Mobile

JPhotoMobile
JoomPhoto Mobile is a component for Joomla! that allows you to share the photos from your Android device to your site Joomla.

Learn more...  Demo

iFile Framework

IFile
IFile is an open source framework written entirely in PHP, allows the indexing of textual content of a document (DOC, PDF, EXCEL, etc.) and a quick search within them.

Learn more...  Demo

Easy Language

EasyLanguage
Easy Language is a plugin for easy and immediate management of multilingual texts in every possible area of joomla, articles, components, modules, metadata, template, other components(example K2) etc.

Learn more...

Article Book Effect

Article Book Effect
View Joomla articles with the effect turns the page of a book. This plugin will display the contents of an article in Joomla as a real book or magazine, using all the benefits of HTML5

Learn more...  Demo

 

Passport photo

Passport photo
The most popular Android app that allows you to print photos cards for your documents with your Android smartphone, in a simple and intuitive way.

Learn more...

 

Crazy Shadow

Crazy Shadow
Crazy Shadow is the 3D fast-paced and fun puzzle Android game! Try to rotate and drag shapes in the position of their shadows without fail! Solve in succession all combinations of levels of the game.

Learn more...

 

Admin Countdown

Admin Countdown
Module for Joomla! 2.5 and 3.x displays in the administration part of the site, a timer with countdown of the time remaining in your session.

Learn more...  Demo

 
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Display results as links that load in browser

Re: Display results as links that load in browser 28 Sep 2012 00:33 #616

I found this solution
1) Create a new hidden menu in the Menu Manager.

2) Create a new "Search" item in new hidden menu.
3) Note what the itemID is of the new Search menu item after saving.

4) Go to Extensions > Modules > Search and entered the itemID from Step 3 in the field called "Set ItemID"
The administrator has disabled public write access.

Re: Display results as links that load in browser 09 Oct 2012 23:24 #660

This works great but the file opens in the same window. How can I load the file within joomla or in a new window?
The administrator has disabled public write access.

Re: Display results as links that load in browser 10 Oct 2012 09:45 #662

  • Antonio
  • Antonio's Avatar
  • OFFLINE
  • Administrator
  • Posts: 486
  • Thank you received: 66
Can you show me an example, in theory it should force the download and not open the file.
If you like, if it was useful, consider a donation, Thanks
Se vuoi, se ti siamo stati utili, considera una donazione, Grazie
Help us by voting our extensions on Joomla.org:
JiFile
JoomPhoto Mobile
Easy Language
The administrator has disabled public write access.

Re: Display results as links that load in browser 10 Oct 2012 20:34 #666

Clicking the search result will download the file (pdf) but this is not what I wanted, I want the file be opened in the browser. This happens when I made the changes in the script mentioned in this threath. However it opens in the same window as my joomla website. What I want is the pdf file be opened within the joomla cms or in a new window (a href "_blank") so that people stay on my website once they clicked on a result fo their search. Hope you know what I mean.
The administrator has disabled public write access.

Re: Display results as links that load in browser 16 Oct 2012 11:31 #695

  • Antonio
  • Antonio's Avatar
  • OFFLINE
  • Administrator
  • Posts: 486
  • Thank you received: 66
Change the plugin /plugins/search/jifile/jifile.php about line 115 'browsernav' from 0 to 1, as follows:
'href' => 'index.php?option=com_jifile&filename='.$pathD, 
'created' => $created, 
'browsernav' => 1, 
'section' => 'JiFile/File',
'text' => $text);
If you like, if it was useful, consider a donation, Thanks
Se vuoi, se ti siamo stati utili, considera una donazione, Grazie
Help us by voting our extensions on Joomla.org:
JiFile
JoomPhoto Mobile
Easy Language
Last Edit: 16 Oct 2012 11:31 by Antonio.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2