FAQ(Gallery2 Bridge)
From Kb_JMY(晉明夷)
FAQ of Joomla's Gallery2 Bridge
Contents |
FAQ(G2 Bridge)
How to remove the breadcrumbs and correct the font size?
- Ref:
- 4theweb.nl -- How to remove the breadcrumbs and correct the font size?
- 4theweb.nl -- G2Bridge v2.1 alpha: How to remove the breadcrumbs and correct the font size?
- private message from "SodaJim" (Users of forum.4theweb.nl)
- Assume:
- G2Bridge v2.1 alpha
- Joomla v1.5.15
- Ans:
Removing the footer of "4theweb.nl"
- looks for the file "gallery2.php" in the following directory:
- <joomla directory>/components/com_gallery2/gallery2.php
- At the end of the file you can find this line:
print '<div class="footer" align="center">Powered by <a href="http://trac.4theweb.nl/g2bridge" target="_blank">4 The Web</a> V 2.0.14</div>';
- -> remove it
- -> That's it!
How to adjust the displaying width of g2_bridge sidebar?
- Assumes that:
- Joomla Template: js006_SIFRstain.zip
- Joomla Template file: <joomla directory>/templates/js_sifrstain/css/template_css.css
- Joomla Template index file: <joomla directory>/templates/js_sifrstain/index.php
- Gallery2 theme: matrix
- Gallery2 theme file: <G2 directory>/themes/matrix/theme.css
- Solution:
- first check if the width of g2 sidebar or Joomla "left" module position or both of them is too narrow
- Adjusting Joomla sidebar width (i.e. the width of "left" module position if you post G2 bridge sidebar into it)
- check out the CSS Selector Name that controls the width of "left" module position ( from Joomla's template index file "index.php") --> it is "nogo" for this template SIFRstain.
- search and locate "nogo", in the file "template_css.css", it should be at about line 228
- change the width to 194px (required width + 8px) or other size you want, save and upload back "template_css.css" to server
- check from web-browser if the width is updated.
- Adjusting G2 sidebar width (and hence the sidebar width of G2 bridge in Joomla)
- Search and locate "#gsSidebar" in "theme.css", it should be at about line 118;
- change the width to 195px (195px + 16px = actual sidebar width) or other size that you want, save and upload back the file to server;
- check from the browser if the width is updated.

