Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 11832
Latest: balasahu
New This Month: 7
New This Week: 1
New Today: 1
Stats
Total Posts: 42228
Total Topics: 7368
Most Online Today: 51
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 37
Total: 37

Author Topic: $subcats_linktree  (Read 447 times)

0 Members and 1 Guest are viewing this topic.

Offline mickjav

  • Badge Awards Customer
  • Full Member
  • *****
  • Posts: 112
    • View Profile
    • Database Dreams
$subcats_linktree
« on: January 02, 2022, 04:38:35 am »
Hi been editing my gallery and would like to Be able to change the order of $subcats_linktree from the set order to Title which I have now set my sub categories at but have had no luck finding the function that is used to build $subcats_linktree.

You'll see in the list Here that finding a sub gallery is a problem so ordering by title would help "NOTE the current system for ordering cats is inadequate for my site"

I have a second Ask lol
what I may wish to do is disable the $subcats_linktree from the page above but enable it for the Sub galleries Here is that possible

I am having one other feature developed for the sub galleries at above thats a quick search which will work on the title.

Home of Chart Tracker Elite, Apollo & DJ 2020, Coming soon The Librarian.

Offline mickjav

  • Badge Awards Customer
  • Full Member
  • *****
  • Posts: 112
    • View Profile
    • Database Dreams
Re: $subcats_linktree
« Reply #1 on: January 03, 2022, 12:28:53 am »
found where I can Edit the linktree Order Thanks

Home of Chart Tracker Elite, Apollo & DJ 2020, Coming soon The Librarian.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16003
    • View Profile
Re: $subcats_linktree
« Reply #2 on: January 03, 2022, 02:35:40 pm »
Glad you have it figured out. Both issues solved?
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline mickjav

  • Badge Awards Customer
  • Full Member
  • *****
  • Posts: 112
    • View Profile
    • Database Dreams
Re: $subcats_linktree
« Reply #3 on: January 03, 2022, 03:16:11 pm »
No Only The First Have to admin there to having a red face as looked at that function loads of times as was being blind lol

I still need help with the $subcats_linktree so I can enable it for sub-forums but not for the main page


Quote
what I may wish to do is disable the $subcats_linktree from the Main page Here but enable it for the Sub galleries Here is that possible.

Home of Chart Tracker Elite, Apollo & DJ 2020, Coming soon The Librarian.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16003
    • View Profile
Re: $subcats_linktree
« Reply #4 on: January 03, 2022, 05:51:00 pm »
If you want to remove the link tree go to gallery2.template.php

Find around line 232
Code: [Select]
if ($subcats_linktree  != '')
echo '
<tr>
<td colspan="',$num_cols,'" class="windowbg3">
<span class="smalltext">',($subcats_linktree != '' ? '<b>' . $txt['gallery_sub_cats'] . '</b>' . $subcats_linktree : ''),'</span>
</td>
</tr>';
And remove
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline mickjav

  • Badge Awards Customer
  • Full Member
  • *****
  • Posts: 112
    • View Profile
    • Database Dreams
Re: $subcats_linktree
« Reply #5 on: January 04, 2022, 01:44:18 am »
Thanks but I want to keep it for the sub categories only removing from the gallery homepage

Home of Chart Tracker Elite, Apollo & DJ 2020, Coming soon The Librarian.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16003
    • View Profile
Re: $subcats_linktree
« Reply #6 on: January 05, 2022, 01:56:57 pm »
That should just do the homepage.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline mickjav

  • Badge Awards Customer
  • Full Member
  • *****
  • Posts: 112
    • View Profile
    • Database Dreams
Re: $subcats_linktree
« Reply #7 on: January 05, 2022, 03:08:29 pm »
Thanks worked a treat  ;D

Home of Chart Tracker Elite, Apollo & DJ 2020, Coming soon The Librarian.

 

+- Recent Topics

Dark background text color help needed by Shades
May 22, 2022, 04:51:25 pm

Database Error During Store Purchase After SMF 2.1 and Store 5.0 Beta Upgrades by Michael Vail
May 20, 2022, 08:58:15 pm

Default License Agreement by SMFHacks
May 18, 2022, 08:18:15 pm

Email Note - Included in order purchase by Shades
May 18, 2022, 02:54:54 pm

[Feature Request] Keywords by Shades
May 18, 2022, 02:20:19 pm

Undefined index: down_path by Shades
May 18, 2022, 10:19:09 am

Delete custom rating and change default icons/change icons back to default? by SMFHacks
May 18, 2022, 10:06:01 am

Thumbnails on topic page not resizing correctly by SMFHacks
May 14, 2022, 10:45:34 pm

Server Issues by PapaFrizArcade
May 12, 2022, 11:50:04 am

Funky Pagination by SMFHacks
May 11, 2022, 11:38:24 pm

Powered by EzPortal