Please login or register.
Login with username, password and session length
December 13, 2018, 05:56:16 AM
News:
collapse

* User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Recent Posts

Pluign and module by whazzup
[June 08, 2018, 11:57:13 PM]


Version 4.4.1 released by whazzup
[May 31, 2018, 04:31:16 PM]


search.html.php refer to rsgsearch.css with a wrong path by whazzup
[January 13, 2018, 08:12:04 PM]


Slow Gallery with many Photos by whazzup
[September 22, 2017, 09:22:33 AM]


Batch Upload via frontend by whazzup
[September 11, 2017, 10:20:50 PM]


Version 4.3.1 released by whazzup
[August 07, 2017, 10:34:02 PM]


File upload limit is 2MB by whazzup
[July 31, 2017, 10:09:21 PM]


Fixed: Users can see other users galleries name when they try to add photos. by whazzup
[July 23, 2017, 03:56:35 PM]

Pages: [1]   Go Down

Author Topic: GALLERY TITLES not displaying...  (Read 3187 times)

Offline endless

  • Newbie
  • *
  • Posts: 2

GALLERY TITLES not displaying...
« on: August 06, 2012, 10:04:35 AM »
(Perhaps this issue appears for previous versions, but does not resolve for current (Aug 2012).

Dear Support,
2 Issues that I can't find answers to in the Docs or Forum...
I am on Joomla 2.5.6 and RSGallery 3.2.0.
Please see example www.BareBonesMarketing.com/portfolio , and subsequent galleries therein.

1.) PAGE TITLE (Joomla) not displaying for Galleries page...
Usually a given Joomla page TITLE will display in the main body, and you can also display PAGE HEADING in the menu parameters.
Neither display.
The Galleries DESCRIPTION does display ok (but to enter the Joomla page title there does not solve the issue).
 
2.) GALLERY TITLES not displaying...
Where a site has multiple galleries, when you visit that particular gallery, the gallery TITLE does not display.
Here again, the particular Gallery DESCRIPTION does display ok (but to enter the gallery title there does not solve the issue).

Please advise any fix or work-around. I can copy/paste code block if necessary, given detailed instructions.
C

Offline endless

  • Newbie
  • *
  • Posts: 2

Re: GALLERY TITLES not displaying...
« Reply #1 on: August 06, 2012, 10:07:42 AM »
Sorry... I meant to post to SUPPORT category under Display and Templates. Can we move? C

Offline mirjam

  • Retired from Dev Team
  • Hero Member
  • ****
  • Posts: 670

Re: GALLERY TITLES not displaying...
« Reply #2 on: August 06, 2012, 11:48:34 AM »
Let's see if I understand you correctly...

As you can see on the demopage, the gallery name is not included on the gallery page (e.g. start at http://demo.rsgallery2.nl/index.php/demo-rsgallery2 and click on the image of "First gallery", you would like to have the name "First gallery" on that page.

You can do that by changing the template:
Find the file /JOOMLAROOT/components/com_rsgallery2/templates/semantic/html/gallery.php
If you want the gallery name to be between the search box and the gallery description (introduction text), then see lines 19-26
Code: [Select]
//Show search box
$this->showSearchBox();

//Show introduction text
?>
<div class="intro_text">
<?php echo $this->gallery->description?>
</div>
With an simple addition on line 21 you get
Code: [Select]
//Show search box
$this->showSearchBox();
echo $this->gallery->get('name');
//Show introduction text
?>
<div class="intro_text">
<?php echo $this->gallery->description?>
</div>

Of course you could "enhance" that line with css like
Code: [Select]
echo '<div class=galleryname>'.$this->gallery->get('name') .'</div>';
and then add some CSS styling for this galleryname class in the CSS files (or even put the CSS styling here, although the general idea is to "put everything where it belongs".

If you're going to do this you might find this post helpfull:
http://www.rsgallery2.nl/display_and_templates/how_create_your_own_template_or_modify_semantic_template_16758.0.html
because all changes done to the Semantic template will be overwritten in future upgrades!

Let me know if this works for you.
With a little boy in the house I don't spend as much time on RSG2 anymore.

I still like RSG2, if you do too, please think about how you can invest some of your time in RSG2... the one remaining coding volunteer (Whazzup) can use your help!
Pages: [1]   Go Up