• [MOD] Left Gallery QuickList 4 0 5 1
Currently:  

Author Topic: [MOD] Left Gallery QuickList  (Read 107624 times)

0 Members and 1 Guest are viewing this topic.

Offline x23piracy

  • Sr. Member
  • ****
  • Posts: 420
    • View Profile
    • FHG
Re: [MOD] Left Gallery QuickList
« Reply #60 on: October 22, 2010, 08:44:59 PM »
@ x23piracy,
I think it is in the CSS file that is in that quickscript folder but not sure where. I am not a CSS guru, enough to be dangerous...
Will try to look this weekend...

Hi,

yes must be this:

Code: [Select]
.filetree li.expandable span.folder
{
background: url(images/folder-closed.gif) 0 0 no-repeat;
}

may i have to setup some padding or margin to that css element.

EDIT:

I was wrong it's that line:

Code: [Select]
.filetree span.folder, .filetree span.file { padding: 1px 0 1px 16px; display: block; }
i undo my change to the closed folder icon and edited that line to:

Code: [Select]
.filetree span.folder, .filetree span.file { padding: 1px 0 1px 19px; display: block; }


Works! :) thx budduke


Greetz X23
« Last Edit: October 22, 2010, 09:06:57 PM by x23piracy »

Don't trust in md5 it's unsafe change your 4i galerys password hash algorythm! second pw db field, create new hashes over some time, deny old hash. Help members that cry, send informationen mail to the rest. Camouflage new pw hash in cookie. Done!

--(◔̯◔)--

Offline rekorderek

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: [MOD] Left Gallery QuickList
« Reply #61 on: November 11, 2010, 12:51:35 PM »
Hi,

Could someone help me where I can replace the style?
I would like it to appear folder.gif etc.
thank you

Offline x23piracy

  • Sr. Member
  • ****
  • Posts: 420
    • View Profile
    • FHG
Re: [MOD] Left Gallery QuickList
« Reply #62 on: November 11, 2010, 02:26:15 PM »
Hi,

Could someone help me where I can replace the style?
I would like it to appear folder.gif etc.
thank you

Dear x23piracy,
I would ask for your help, how to mod quicklist's folder images left to display. (Folder.gif, closed.gif folder, etc)
thanks,
Jean Mitchel

Hi,

in the header part in the mod example you will find this:

Code: [Select]
// first example
$("#left_quicklist_nav").treeview({
collapsed: true,
unique: true,
persist: "location"

add this line:

Code: [Select]
 control: "#treecontrol",
for example my code looks like:

Code: [Select]
// first example
 $("#left_quicklist_nav").treeview({
  control: "#treecontrol",
  collapsed: true,
  unique: true,
  animated: "slow",
  persist: "location"


You can also check this link for future improvements:
http://jquery.bassistance.de/treeview/demo/

If i could help you click this:



Greetz X23
« Last Edit: November 11, 2010, 02:41:08 PM by x23piracy »

Don't trust in md5 it's unsafe change your 4i galerys password hash algorythm! second pw db field, create new hashes over some time, deny old hash. Help members that cry, send informationen mail to the rest. Camouflage new pw hash in cookie. Done!

--(◔̯◔)--

Rembrandt

  • Guest
Re: [MOD] Left Gallery QuickList
« Reply #63 on: November 11, 2010, 03:16:53 PM »
...
If i could help you click this:
mir wäre das peinlich.  8)

Offline rekorderek

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: [MOD] Left Gallery QuickList
« Reply #64 on: November 11, 2010, 04:40:07 PM »
Thank you for x23,

Me that I need to folder.gif and file.gif, folder-closed.gif folder-tree shown in the menu.
I want something like a folder marked. (2. attached image).

Thanks for your help!



Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Left Gallery QuickList
« Reply #65 on: November 11, 2010, 08:06:31 PM »
Me that I need to folder.gif and file.gif, folder-closed.gif folder-tree shown in the menu.
I want something like a folder marked. (2. attached image).

Not sure if this is what you are asking or not but in the second insert in the functions file at the top of the insert...
Quote
//MOD Left QuickList
function get_left_quicklist_bits($cat_id, $cid = 0, $depth = 1) {
  global $site_db, $drop_down_cat_cache, $cat_cache, $site_sess;
//config area
$left_quick_length=24; //length of category name, 0-3 =off (if on, will shorten name to fit with ... after it)
$adjust_depth=1; // try to adjust for depth for right side to line up
$with_folder=0; // if you want a folder to be displayed then set this to 1 (I thought it took to much screenspace)
//end config

Change the $with_folder=1 and the folders should show uip.
Buddy Duke
www.budduke.com

Offline rekorderek

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: [MOD] Left Gallery QuickList
« Reply #66 on: November 11, 2010, 08:13:23 PM »
Thank you very much for you Bud!
It works perfectly! :)

Offline urmasmuld

  • Newbie
  • *
  • Posts: 48
    • View Profile
Re: [MOD] Left Gallery QuickList
« Reply #67 on: April 01, 2011, 09:20:51 AM »
I made a little addon to this mod.
If some1 needs to be showed no. of pictures for each category, then find in functions.php



	
	
if (
$with_folder){
	
	
$category_list .= "<li><span class='folder'><a href='".$site_sess->url('categories.php?'.URL_CAT_ID.'='.$category_id)."'>".$quick_cat_name."</a></span>";
	
	
}
	
	
else {
      
$category_list .= "<li><a href='".$site_sess->url('categories.php?'.URL_CAT_ID.'='.$category_id)."'>".$quick_cat_name."</a>";
      }


and replace it with :


	
	
if (
$with_folder){
	
	
$category_list .= "<li><span class='folder'><a href='".$site_sess->url('categories.php?'.URL_CAT_ID.'='.$category_id)."'>".$quick_cat_name."&nbsp;(".$cat_cache[$category_id]['num_images'].")</a></span>";
	
	
}
	
	
else {
      
$category_list .= "<li><a href='".$site_sess->url('categories.php?'.URL_CAT_ID.'='.$category_id)."'>".$quick_cat_name."&nbsp;(".$cat_cache[$category_id]['num_images'].")</a>";
      }



Offline GaYan

  • Sr. Member
  • ****
  • Posts: 301
  • ♫ | G2 | ♫
    • View Profile
    • Ziramagic
Re: [MOD] Left Gallery QuickList
« Reply #68 on: June 28, 2011, 03:13:16 PM »
Hey   :)

1st of all , its a nice MOD ... works perfectly ...
is their any chance of showing the [ category images - plugin by V@NO ] in the quick list ?

Thanks !
I'm Back :)

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Left Gallery QuickList
« Reply #69 on: June 29, 2011, 12:54:53 AM »
Hey   :)

1st of all , its a nice MOD ... works perfectly ...
is their any chance of showing the [ category images - plugin by V@NO ] in the quick list ?

Thanks !

Quick answer No. I would think that even if you could reduce the thumbnails down to that small of a size, you would not be able to tell what they were.
Buddy Duke
www.budduke.com

Offline Sunny C.

  • Addicted member
  • ******
  • Posts: 1.806
  • I ♥ 4I
    • View Profile
Re: [MOD] Left Gallery QuickList
« Reply #70 on: September 09, 2011, 08:35:45 PM »
I have an error in the name of a category. How can I fix this?

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Left Gallery QuickList
« Reply #71 on: September 09, 2011, 10:27:40 PM »
I have an error in the name of a category. How can I fix this?

Just off the top of my head, I think there is an escape character in that location of the name. Can you PM me a link to see this so I can see how it is being rendered?
Buddy Duke
www.budduke.com

Offline JoBi

  • Newbie
  • *
  • Posts: 39
    • View Profile
Re: [MOD] Left Gallery QuickList
« Reply #72 on: February 03, 2013, 09:59:38 AM »
Is it possible to show the newest categories on the top of the list???

for example:  1. main cat
                      --------1. sub cat
                            -------1. sub sub cat
                                  ------- (this is the first sub sub sub cat with pictures) show the newest category always on top
                                  ------- (...........................................................)
                                  ------- (-..........................................................)


greetz
josef

Rembrandt

  • Guest
Re: [MOD] Left Gallery QuickList
« Reply #73 on: February 03, 2013, 02:48:59 PM »
Hi!
Is it possible to show the newest categories on the top of the list???
....
Schon mal versucht: ACP/Allgemein7Einstellungen/Kategorie Einstellungen/Kategorien sortieren nach

mfg Andi

Offline JoBi

  • Newbie
  • *
  • Posts: 39
    • View Profile
Re: [MOD] Left Gallery QuickList
« Reply #74 on: February 03, 2013, 03:19:44 PM »
 :oops: :oops: :oops: :oops: :oops: Schande über mich!!!!

I´m so sorry!

VG Josef