Hello,
Thanks for this wonderful script.
This is in reference to following modification made in this thread
http://forum.coppermine-gallery.net/index.php/topic,66679.msg331510.html#msg331510
I have applied this and it is working nicely. Only problem is when I click the link in the album description, it gets opened in the same window. I want it to open in a new window. Will it be possible ?
Thanks & Regards,
cpguser1
P.S. : If I may dare to ask that I also want Google Adsense Code Right Below this description, can someone help me in this request also ? Sorry for asking personalised deserts after a free meal.
Probably the easiest solution would be to change
$curr_alb_desc = preg_replace("/\[url=(.*)]/Uis", "<a href='$1'>", $curr_alb_desc);
to
$curr_alb_desc = preg_replace("/\[url=(.*)]/Uis", "<a href='$1' target='_blank'>", $curr_alb_desc);
Quote from: Αndré on July 01, 2011, 04:20:28 PM
Probably the easiest solution would be to change
$curr_alb_desc = preg_replace("/\[url=(.*)]/Uis", "<a href='$1'>", $curr_alb_desc);
to
$curr_alb_desc = preg_replace("/\[url=(.*)]/Uis", "<a href='$1' target='_blank'>", $curr_alb_desc);
Yes, Even I tried this. But I wrongly added one more " in that. Thanks a lot for your help. :)
What about my desert ? ;D
Quote from: Joachim Müller on September 28, 2008, 10:28:42 AM
10. One question per thread
We have a strict "One question/issue per thread rule", which helps both supporters/moderators to keep track of open/closed issues as well as users who search the board or browse it, looking for answers to their question.
Additionally:
Quote from: Joachim Müller on September 28, 2008, 10:22:18 AM
3. Search the board
The search (http://forum.coppermine-gallery.net/index.php?action=search) facility on the forums is probably your best friend when having a problem, there is a good chance that someone else has had the problem you are having and that a solution has been posted before, so to try and get an answer straight away use this tool. If at first you don't seem to find what you are looking for try again with different words.
I suggest to search the themes board, as we already answered the question how to add content below the image a lot of times. The best and easiest option would be to add your code to the
$template_display_media block in your
theme.php file.
Yes. I am sorry. I found that out from the documentation. :)