SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 25, 2012, 04:37:43 am

Login with username, password and session length
Members
Total Members: 10071
Latest: cdavidson012
Stats
Total Posts: 28687
Total Topics: 4977
Online Today: 60
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 56
Total: 56
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 2 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: File Listings  (Read 642 times)
Snuffy
Downloads Pro Customer
Newbie
*****
Offline Offline

Posts: 35



View Profile WWW
« on: September 02, 2011, 12:18:14 am »

- = I am using SMF 2.0 and Downloads Pro 2.0.4 = -

I was wondering if there is a way that I can get the file listings on my Downloads Areas that are showing like this:
===================================================
 Designer Clothing Packs
____________________
Get the goodies to make your player look good out on the course.
 
 Sub Categories: -Charlies Assorted Player Files-, -Charlies Expansion Packs Files-, -Customize your Player with Hats & Clubs, and add Flags-, -Steve Schreiber Player Wardrobe Files-, -Original Players Outfit Sets-
===================================================

To something like this instead:
===================================================
 Designer Clothing Packs
____________________
Get the goodies to make your player look good out on the course.
 
 Sub Categories:
 -Charlies Assorted Player Files-,
 -Charlies Expansion Packs Files-,
 -Customize your Player with Hats & Clubs, and add Flags-,
 -Steve Schreiber Player Wardrobe Files-,
 -Original Players Outfit Sets-
===================================================

Here is a link to my Downloads to see what I am talking about, and I am open to any suggestions on getting the areas to display in a up & down list like I show above.
If it can be done to get the Sub Catagories not showing like they are.

http://www.goldenbearsden.com/index.php?action=downloads
« Last Edit: September 02, 2011, 12:20:01 am by Snuffy » Logged
Snuffy
Downloads Pro Customer
Newbie
*****
Offline Offline

Posts: 35



View Profile WWW
« Reply #1 on: September 02, 2011, 01:59:47 am »

I guess what I am looking for really is how you can list your Sub Catagories one below the other instead of as a stringed togather list as they do now.

Any input on whether this can be done?

Snuffy . . . .   Wink
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #2 on: September 02, 2011, 09:01:48 am »

That's actually pretty easy to do.

Open Sources/Downloads.php or Sources/Downloads.php
Find
Code:
$subcats_linktree .= '<a href="' . $scripturl . '?action=downloads;cat=' . $row3['ID_CAT'] . '">' . $row3['title'] . '</a>';
Change to
Code:
$subcats_linktree .= '<br /><a href="' . $scripturl . '?action=downloads;cat=' . $row3['ID_CAT'] . '">' . $row3['title'] . '</a>';
Logged
Snuffy
Downloads Pro Customer
Newbie
*****
Offline Offline

Posts: 35



View Profile WWW
« Reply #3 on: September 02, 2011, 02:35:27 pm »

That's actually pretty easy to do.

Open Sources/Downloads.php or Sources/Downloads.php
Find
Code:
$subcats_linktree .= '<a href="' . $scripturl . '?action=downloads;cat=' . $row3['ID_CAT'] . '">' . $row3['title'] . '</a>';
Change to
Code:
$subcats_linktree .= '<br /><a href="' . $scripturl . '?action=downloads;cat=' . $row3['ID_CAT'] . '">' . $row3['title'] . '</a>';

Thank you very much that did the trick and works great.
Now I will be able to make some changes that make things easier and workable for the members.  Wink

Snuffy . . . . . Smiley
Logged
Snuffy
Downloads Pro Customer
Newbie
*****
Offline Offline

Posts: 35



View Profile WWW
« Reply #4 on: September 08, 2011, 05:24:18 am »

Hello Again just wanted to pop back in and let you know that it has been about a week now that you gave me the answer for making my many files areas in my downloads show like I wanted them as mentioned above in my original post.

And with your help here I have been working on reconstructing my files areas and the community at Golden Bears Den has let me know that they like the new listings and that it makes finding and looking through the course files much easier and are very pleased with the new look.

So AGAIN THANKS!     Cool

And if you want to check out the new look on the areas here is a link:

http://www.goldenbearsden.com/index.php?action=downloads
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[May 24, 2012, 08:02:50 am]

[May 24, 2012, 04:11:41 am]

[May 21, 2012, 08:54:11 am]

[May 20, 2012, 11:06:52 am]

[May 20, 2012, 05:58:11 am]

[May 19, 2012, 06:16:58 pm]

[May 19, 2012, 05:42:37 pm]

[May 18, 2012, 03:08:38 pm]

[May 17, 2012, 06:07:46 pm]

[May 17, 2012, 02:22:07 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 4.717 seconds with 18 queries.