Plogger Support Forum - making the album description the same as picture description Fri, 29 Mar 2024 11:37:15 +0000 http://www.plogger.org/forum/ Lussumo Vanilla 1.1.10 making the album description the same as picture description http://www.plogger.org/forum/comments.php?DiscussionID=3386&Focus=13324#Comment_13324 http://www.plogger.org/forum/comments.php?DiscussionID=3386&Focus=13324#Comment_13324 Sat, 25 Sep 2010 15:48:40 +0000 kegster
The album description is very small and 1 line textbox, and displays funny if large text is put in.

I use the description as 'body text' for the page, as I am making plogger be a webpage. Integrating won't help me out with what i need to do, as it needs to be simple for someone else to use.

So, how do i just make the descriptions for albums the same as photos?? Larger textarea, and display the same?????]]>
making the album description the same as picture description http://www.plogger.org/forum/comments.php?DiscussionID=3386&Focus=13330#Comment_13330 http://www.plogger.org/forum/comments.php?DiscussionID=3386&Focus=13330#Comment_13330 Mon, 27 Sep 2010 14:28:23 +0000 kegster
<?php
$aptalbumname = plogger_get_album_name();

$aptalbumtext = "/home/loc24/public_html/functions/album/text/" . $aptalbumname . ".txt";
$aptalbumtext = strtolower($aptalbumtext);
$aptalbumtext = str_replace (" ", "", $aptalbumtext);

?>

<p><?php include("$aptalbumtext"); ?></p>


Very basic, but I added this into the template file so I just need a separate text file to pull from. Works for me. A little more complicated approach, but simple in the fact that I do not need to edit the plog-admin.]]>