Benvenuto,
Ospite
|
|
|
My site is indexed with jifile. I want the results of a search to display as links that load in a browser not files that download. How is this done?
|
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.
|
|
is not a thing you can set, you should modify the code of the component:
if you have version 1.07 you must edit the file /components/com_jifile/jifile.php and comment lines 25-29 ...
header("Content-Transfer-Encoding: binary");
/*header('Content-Disposition: attachment;'
. ' filename="' . $name . '";'
. ' modification-date="' . filemtime($filename) . '";'
. ' size=' . $size .';'
); //RFC2183*/
header("Content-Type: " . jifilehelper::getMimetype(JFile::getExt($name)) ); // MIME type
... |
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
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.
|
|
Ok that works - the htmal page does load but as
www.astarmathsandphysics.com/component/j...ween_two_points.html I want it to load as www.astarmathsandphysics.com/gcse_maths_...ween_two_points.html How do I do this? |
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.
|
|
cos every page has images and the images dont load with the unedited link
|
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.
|
|
Try to change the plugin /plugins/search/jifile/jifile.php the line 113 as follows:
...
$row = array('title' => JFilterOutput::cleanText($doc->getFieldValue('name')),
'href' => $pathD,
'created' => $created,
... |
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
Ultima modifica: 27/08/2012 17:47 da Antonio.
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.
|
|
That works great
|
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.
|
|
Not sure whats happening now
Search results include '/component/search/' in the url although I have changed nothing in the configuration. For example, www.astarmathsandphysics.com/component/s...notes_sine_rule.html Which should display as www.astarmathsandphysics.com/gcse_maths_...notes_sine_rule.html every joomla article behaves normally. |
Ultima modifica: 27/09/2012 16:46 da Paul Smith.
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.
|
|
If I turn off SEF url's then the search results are links I can click, but then every joomla page returns the homepage.
|
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.
|
|
Facendo click su qualunque link della pagina si accetta il loro utilizzo. Per saperne di piu'