FAQ(Gallery2 Bridge)

From Kb_JMY(晉明夷)

Jump to: navigation, search

FAQ of Joomla's Gallery2 Bridge

Contents

FAQ(G2 Bridge)

How to remove the breadcrumbs and correct the font size?

  • Ref:
  1. 4theweb.nl -- How to remove the breadcrumbs and correct the font size?
  2. 4theweb.nl -- G2Bridge v2.1 alpha: How to remove the breadcrumbs and correct the font size?
  3. private message from "SodaJim" (Users of forum.4theweb.nl)


  • Assume:
  1. G2Bridge v2.1 alpha
  2. 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:
  1. Joomla Template: js006_SIFRstain.zip
  2. Joomla Template file: <joomla directory>/templates/js_sifrstain/css/template_css.css
  3. Joomla Template index file: <joomla directory>/templates/js_sifrstain/index.php
  4. Gallery2 theme: matrix
  5. 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)
  1. 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.
  2. search and locate "nogo", in the file "template_css.css", it should be at about line 228
  3. change the width to 194px (required width + 8px) or other size you want, save and upload back "template_css.css" to server
  4. check from web-browser if the width is updated.


  • Adjusting G2 sidebar width (and hence the sidebar width of G2 bridge in Joomla)
  1. Search and locate "#gsSidebar" in "theme.css", it should be at about line 118;
  2. change the width to 195px (195px + 16px = actual sidebar width) or other size that you want, save and upload back the file to server;
  3. check from the browser if the width is updated.



Personal tools