SunQuest
           Tutorials
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOtherTutorials

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old November 24th, 2003, 03:20 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
ImageGallery tutorial - Directory tree problem

Hi!

PHP newbie here, trying to make his first image gallery.

The tutorial was exelent and teh script is working perfectly. But now I'm trying to make the script more fitting for my needs.

My problem: I would like to have the directory tree (albums) to be visible when watching thumbnails (showing the folder list as a side bar).

I've tryed to learn from the tutorial, but cant make it work. I'm not gonna post my tries (code)here because I cant tell am I even close.

Could somebody help me?

Thanks...

Reply With Quote
  #2  
Old November 24th, 2003, 04:27 PM
notepad notepad is offline
Codewalkers Loyal (3000 - 3499 posts)
 
Join Date: Apr 2007
Location: Central, IL USA
Posts: 3,214 notepad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to notepad
RE: ImageGallery tutorial - Directory tree problem

the following is the section of the tutorial which seperates categories from galleries. so what you'll want to do, is combine them.
php Code:
Original - php Code
  1.  
  2. // here we combine all the keys of our array into a string
  3. // if it does not have a numeric value then we must have
  4. // categories to display
  5. if(!is_numeric(implode('', array_keys($navtree))))
  6. {
  7.     ..code for categories
  8. }
  9. else
  10. {
  11.     // if we're not working with categories, then we're
  12.     // working with images, so let's decide how many
  13.     // rows to display (depending if $viewall is true/false)
  14.  
  15.     ..code for galleries
  16. }

Reply With Quote
  #3  
Old November 25th, 2003, 09:31 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: ImageGallery tutorial - Directory tree problem

OK...

I have tried to combine those to parts in several ways -> Cant make it work because I'm so newbie that I dont completly understand the code.

But still trying...

Reply With Quote
  #4  
Old November 26th, 2003, 03:32 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: ImageGallery tutorial - Directory tree problem

Two nights I have tried, but nothing. Cant make it happen...

Could somebody just put the code here, I think thats my only hope now...

Thanks!

Reply With Quote
  #5  
Old February 26th, 2004, 03:15 PM
daemonknight daemonknight is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: JHB, South Africa
Posts: 1 daemonknight User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: ImageGallery tutorial - Directory tree problem

u still need this help??

if so then I will write you the framage code..or checkout a html frame tutorial, insert the code then and you can create the bar, or iframe even.

Later
Daemonknight

Reply With Quote
  #6  
Old February 26th, 2004, 03:51 PM
notepad notepad is offline
Codewalkers Loyal (3000 - 3499 posts)
 
Join Date: Apr 2007
Location: Central, IL USA
Posts: 3,214 notepad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to notepad
RE: ImageGallery tutorial - Directory tree problem

hmm.. the gallery has been updated to display categories and thumbnails at the same time. it's available here. this is also mentioned in the tutorial comments.

Reply With Quote
Reply

Viewing: Codewalkers ForumsOtherTutorials > ImageGallery tutorial - Directory tree problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway