Welcome,
Guest
|
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
If you not change browser settings, you agree to it. Learn more