Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
7 + 7 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: xcgal pagetitle hack ..improve the searchability of your site!
by stuie200 on 2008/6/29 9:37:30

Hi John,

The lightbox is quite a simple to add to xcgal.
Im working on getting it working 100% as i can not at present get the "Previous" and "Next" feature functioning correctly.

I will start a new thread soon with information on how far i have got and attach the relevant files for others to try.

Regards
Stuart
Re: xcgal pagetitle hack ..improve the searchability of your site!
by Anonymous on 2008/6/29 8:36:53

@Stuie

That's a fab lightbox effect - how did you do it?

@everyone else
Seems to me that lots of folks are making some very worthwhile additions and hacks to xcgal.

There's v2.0.4RC available and some additions that others have made separately. How about we all get together in the dev forge, revive the project, pool all our resources and have a definitive 2.0.5 release?

This must be better than having several different versions
Re: xcgal pagetitle hack ..improve the searchability of your site!
by mrphilong on 2008/6/29 5:05:40

le="color: #000000"><?php alt="<{$pic_title}> - <{$pic_caption}> - <{$album_name}>"


$album_name should be album_title
Re: xcgal pagetitle hack ..improve the searchability of your site!
by stuie200 on 2008/6/28 18:49:27

Hi kerkyra,

I know its over a year since you requested adding additional alt text to images displayed by xcgal_display.html but i thought i should add it here. It may be of use to somebody.

I thought i would revisit this and i have found an answer to make what you are after work.

in xcgal_display.html set the alt text of the main image to:

le="color: #000000"><?php alt="<{$pic_title}> - <{$pic_caption}> - <{$album_title}>"


Next step is to open displayimage.php and find the following line near the bottom, there are two lines like this so make sure you choose the second one
le="color: #000000"><?php include XOOPS_ROOT_PATH."/header.php";


add the following code directly after the line above
le="color: #000000"><?php $xoopsTpl->assign('album_title', $album_title); $xoopsTpl->assign('pic_caption', $pic_caption);


It should all be working as you requested now one you upload the changes and update the module in the control panel.

demo Here

Regards
Stuart

EDITED to correct mistake as pointed out by mrphilong below (that will teach me to retype text properly rather than copy and pasting stuff)
Re: xcgal pagetitle hack ..improve the searchability of your site!
by Anonymous on 2008/1/15 22:23:42

I think the smart idea by replace:
le="color: #000000"><?php <img src="<{$picture_url}>" <{$image_size}> class="image" border="0" alt="" /><br />

with:
le="color: #000000"><?php <img src="<{$picture_url}>" <{$image_size}> class="image" border="0" alt="<{$xoops_sitename}> - <{$xoops_pagetitle}>" /><br />

because pagetitle is active now after this hack

Demo: SaudiGear Magazine

Who's Online

99 user(s) are online (55 user(s) are browsing Support Forums)


Members: 0


Guests: 99


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits