1._How_can_I_display_scrollbars_in_Detail_view_
2._If_I_click_on_Phoca_Gallery_Random_Image_Module_then_the_404__site_not_found__will_be_displayed
3._I_get_the_following_error_message:_Error_Saving_Phoca_Gallery_Categories
4._I_get_this_Fatal_error:_Call_to_undefined_function:_getparams_in_view.html.php_on_line_19
5._Internet_Explorer_cannot_open_the_Internet_site_-_Operation_aborted
6._How_to_display_always_the_same_thumbnail_for_a_category_in_categories_view
7._How_to_change_background_color_of_panes
8._How_to_add_support_for_multiple_keywords_to_Phoca_Gallery_Search_Plugin
9._How_to_add_support_for_displaying_thumbnail_images_in_Phoca_Gallery_Search_Plugin
Displaying scrollbars in Modal Box
Open the file
components/com_phocagallery/views/detail/view.html.php
and remove the overflow:hidden; on line 82 + -
1 2 3 4 5 6 7 8 |
<?php |
Displaying scrollbars in Standard Popup Window
Open the file
components/com_phocagallery/views\category/view.html.php
and add the scrollbars=yes on line 129 + -
1 2 3 4 5 6 7 8 |
<?php |
2. If I click on Phoca Gallery Random Image Module then the 404 (site not found) will be displayed?
Modules in Joomla! don't have own Itemids. Itemid is necessary for proper creating of URL. So Phoca Gallery Random Image Module (or other Phoca Gallery Module) tries to find the Itemid of Phoca Gallery Component. But the Itemid of Phoca Gallery Component exists only in case that there will be created a menu link to Phoca Gallery Component in Menu Manager (e.g. link to Phoca Gallery Categories View or to Phoca Gallery Category View). If this link exists, Phoca Gallery Random Image Module automatically find the Itemid of this link and will produce proper link to detail view.
If you don't want to display the link to Phoca Gallery Compoment but only display Phoca Gallery Random Image Module (or other Phoca Gallery Module), you can create the menu link to Phoca Gallery Component in some Menu Group which will be not public. It means, that Phoca Gallery Component menu link will exist and Phoca Gallery Random Image Module can find it but the Menu Group which contains the Phoca Gallery Component menu link will be unpublished, so the menu link will be not displayed. Outcome:
This practice solves the problem with pagination too. (in case you click on some category link in Phoca Gallery Tree Module and then no pagination will be displayed in Category View)
3. I get the following error message: Error Saving Phoca Gallery Categories
4. I get this Fatal error: Call to undefined function: getparams() in .../view.html.php on line 19.
Phoca Gallery doesn't create thumbnails.
In IE6 there is a detail view outside the window.
Does Phoca Gallery have a problem with the links?
5. When I am trying to open site in IE, it displays the following message: Internet Explorer cannot open the Internet site - Operation aborted
This is IE bug, type "Internet Explorer cannot open the Internet site - Operation aborted" into Google Search site to get information about this bug.
The following solution added by Ahsya can eliminate this bug on some sites running Joomla!, so if you get this error in IE, just try to read and apply this solution:
First, open:
\libraries\joomla\html\html\behavior.php
and have a look at line 155. There should be the following code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
<?php |
Edit this line:
window.addEvent('domready', function() {
into this:
window.addEvent('load', function() {
Save the edited file and try to open the site where the error occures in IE.
If some other extension (e.g. module) adds some javascript code to your site, try to change the following code:
FROM:
<script type="text/javascript" >
TO:
<script type="text/javascript" defer="defer">
in the source code of this extension. It means the defer tag should be added into javascript tag.
6. How to display always the same thumbnail for a category in categories view
In Categories View, there is an option to display the icon next to category name, you can display:
If you don't want to display random image but you want to display allways the same image (thumbnail) for a category, you can do following changes in the code:
Open file:
components/com_phocagallery/models/categories.php
Find (line 221 + -):
' ORDER BY RAND()'; and replace it to ' ORDER BY ordering';
If you want to make this change for Category View too, then
Open file:
components/com_phocagallery/models/categoriy.php
Find (line 551 + -):
' ORDER BY RAND()'; and replace it to ' ORDER BY ordering';
/* pane - main background color of active pane */ div.current { background: #fff100; } /* pane - background color of not active folder */ dl.tabs dt { background: #fcfcfc; }/* pane - background color of active folder */ dl.tabs dt.open { background: #fff100; border-bottom: 1px solid #fff100; }
|
|