Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
SpaceMonkey
Worker
Worker



Joined: Apr 30, 2005
Posts: 170

PostPosted: Fri Apr 14, 2006 8:03 pm Reply with quote

Well, this is probably customisation combined with bug fixing...

I notice that in the standard download module that comes with PHPNUKE next to where it says "Download Profile" the name of the selected download does not appear. I might be wrong, but I think it is in fact supposed to. Peruse the following code:
Code:
echo "<center><font class=\"option\"><b>"._DOWNLOADPROFILE.": $displaytitle</b></font><br><br>";

    downloadinfomenu($lid, $ttitle);


Can anyone suggest how to fix it?

The other thing I want to do is stop the description of the download from being centred. That just looks awful! I might be able to work that out. It's here isn't it:
Code:
."<font class=\"content\">$description<br>";


Finally I'd like to make the spot that has the download a lot more obvious. If I could make the name at the top, before the download info a hyperlink, that would be cool..

Any assistance with any of the things I'm trying to do would be much appreciated.

TIA
 
View user's profile Send private message Visit poster's website
SpaceMonkey







PostPosted: Fri Apr 14, 2006 9:00 pm Reply with quote

I managed to stop the text being centred by creating a new option in the CSS of my theme. So I just changed "content" to "description" and added "description" to the style sheet with the preference that it was justified. Not centred..

Now to tinker with the other things.. Aren't computers fun!

Edit Actually, that didn't work at all! I'm obviously in need of some real help here.. But I'll keep playing nonetheless.

Edit This is so weird! How is it possible that the above adjustment could result in the change of only one download profile, leaving the others as they are? I don't get it! I hit refresh on the browser to make sure it wasn't a cached version! Augh!
 
SpaceMonkey







PostPosted: Fri Apr 14, 2006 10:53 pm Reply with quote

OK,

I've figured out why the title wasn't appearing in my downloads menu next to "Download Profile". The "Most Recent" and "Most Popular" download blocks had an error in them. One line says:
Code:
 $content .= "<strong><big>&middot;</big></strong>&nbsp;$a: <a href=\"modules.php?name=Downloads&amp;d_op=viewdownloaddetails&amp;lid=$lid&amp;title=$title\">$title2</a><br>";


Where it says
Code:
lid=$lid&amp;title=$title\">
the first "title" should in fact be "ttitle".. All fixed now.

I still want to fix those other bits though.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©