Please login or register.
Login with username, password and session length
May 26, 2013, 03:18:47 AM
News: We're back! And here to stay!
collapse

* User Info

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

* Recent Posts

you must provide a description by kasix
[May 24, 2013, 11:48:59 PM]


Fatal error: by mailtobala04
[May 17, 2013, 04:36:20 PM]


Backend Items (Images) don't work by bauchinj
[May 15, 2013, 04:18:55 PM]


Permissions issue: a user can upload images in other user galleries by guidocx84
[May 11, 2013, 05:17:44 PM]


Payment after loggin by mirjam
[May 11, 2013, 03:02:56 PM]


image titles without dashes by mirjam
[May 11, 2013, 02:57:48 PM]


Batch Upload Fails by mirjam
[May 11, 2013, 02:52:08 PM]


Slow Gallery with many Photos by mirjam
[May 11, 2013, 02:49:36 PM]

Advertisement


Pages: [1]   Go Down

Author Topic: GALLERY TITLES not displaying...  (Read 315 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

  • Dev Team
  • Hero Member
  • *****
  • Posts: 558

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.
Suddenly on maternity leave: our baby boy was born a few weeks early, he's doing well now.
For the next couple of weeks I won't available, for true emergences pm locutusweb please.

I hope that RSGallery2 users will help each other out in the mean time.
Pages: [1]   Go Up