It is currently Thu Jun 20, 2013 5:13 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Sun Oct 17, 2010 5:52 pm 
Offline

Joined: Sun Oct 17, 2010 5:48 pm
Posts: 3
I installed the gallery plugin, created a folder in stories called "portfolio" and pointed to that folder in the plugin parameters. But when I viewed my page, 3 errors came up:


Warning: Invalid argument supplied for foreach() in /home/jcbro2/public_html/plugins/content/AdmirorGallery/classes/agGallery.php on line 308

Warning: Invalid argument supplied for foreach() in /home/jcbro2/public_html/plugins/content/AdmirorGallery/templates/classic/index.php on line 25

Cannot find folder inside folder


Top
 Profile  
 
 Post subject: Cannot find folder [SOLVED]
PostPosted: Sun Oct 17, 2010 5:52 pm 
Top  
 Post subject: Re: Cannot find folder
PostPosted: Mon Oct 18, 2010 8:22 am 
Offline
Developer
Developer
User avatar

Joined: Tue Aug 17, 2010 2:38 pm
Posts: 445
Location: Novi Sad, Serbia
I got some questions:
1. Check trigger code inside an article. Is folder name inside trigger code ({AdmirorGallery}portfolio{/AdmirorGallery}) and real folder name "portfolio" exactly the same?
2. Is "portfolio" inside "/images/stories/" folder?
3. Is "/images/stories/" set as root folder inside Admiror Gallery plugin parameters?

_________________
Admiror Design Studio


Top
 Profile  
 
 Post subject: Re: Cannot find folder
PostPosted: Mon Oct 18, 2010 12:17 pm 
Offline

Joined: Sun Oct 17, 2010 5:48 pm
Posts: 3
I had "images/stories/portfolio" set as the root folder. I removed "portfolio" and it works now.


Top
 Profile  
 
 Post subject: Re: Cannot find folder
PostPosted: Mon Oct 18, 2010 2:21 pm 
Offline
Developer
Developer
User avatar

Joined: Tue Aug 17, 2010 2:38 pm
Posts: 445
Location: Novi Sad, Serbia
Excellent! Why did You assume that You need to add portfolio both in Root Folder settings and trigger code? I'm asking You this in effort to improve usability. Maybe we need to change description for Root Folder setting.

_________________
Admiror Design Studio


Top
 Profile  
 
PostPosted: Mon Oct 18, 2010 2:53 pm 
Offline

Joined: Sun Oct 17, 2010 5:48 pm
Posts: 3
I added it because some other galleries require that you point to the directory where the images are.


Top
 Profile  
 
 Post subject: Re: Cannot find folder [SOLVED]
PostPosted: Mon Oct 18, 2010 2:53 pm 
Top  
PostPosted: Tue Oct 19, 2010 8:14 am 
Offline
Developer
Developer
User avatar

Joined: Tue Aug 17, 2010 2:38 pm
Posts: 445
Location: Novi Sad, Serbia
What is Your opinion about Admiror Gallery, comparing to the other galleries?

_________________
Admiror Design Studio


Top
 Profile  
 
PostPosted: Sat Nov 06, 2010 1:17 pm 
Offline

Joined: Sat Nov 06, 2010 1:04 pm
Posts: 3
I don't know if this would help:

Create your gallery folder in the Images Root Folder and place the images inside this folder. Usually Images Root Folder is /images/stories/ so, if you named your folder "mygallery," then you would upload your images to this folder:

/images/stories/mygallery

But the setting for Images Root Folder in Basic Settings will still be set as

/images/stories

Then, you put the name of your folder in the command {AdmirorGallery}name_of_your_folder{/AdmirorGallery} inside your article. So, in our examples, you would use {AdmirorGallery}mygallery{/AdmirorGallery} inside your article.


Top
 Profile  
 
PostPosted: Sat Nov 06, 2010 1:18 pm 
Offline

Joined: Sat Nov 06, 2010 1:04 pm
Posts: 3
I had the same problem, and I was glad to find the answer in your forums! Thank you for this gallery tool, it is very nice.


Top
 Profile  
 
PostPosted: Sat Nov 06, 2010 3:24 pm 
Offline
Developer
Developer
User avatar

Joined: Tue Aug 17, 2010 2:38 pm
Posts: 445
Location: Novi Sad, Serbia
:-)

If you have any ideas how to make it better, write us at Brainstorming section of forum.

_________________
Admiror Design Studio


Top
 Profile  
 
 Post subject: Re: Cannot find folder [SOLVED]
PostPosted: Sat Nov 06, 2010 3:24 pm 
Top  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

 

Contributor Blogs

Joomla! - the dynamic portal engine and content management system

Business Pizza, Bugs, and Fun July 12th, 2013



You're Invited Please consider this your personal invitation to join us o...

http://community.joomla.org/blogs/community/1755-business-pizza-bugs-and-fun-july-12th-2013.html

Improvements to Joomla! Documentation

If it has been a while since you have seen the ...

http://community.joomla.org/blogs/leadership/1754-improvements-to-joomla-documentation.html

Now Always Open for PLT Nominations

The Joomla! Production Leadership Team (PLT) is responsible for leading and coordinating the development of the Joomla! CMS and Framework. This includes releasing new versions, fixing bugs, adding new features, and creating documentation and trans...

http://community.joomla.org/blogs/leadership/1753-now-always-open-for-plt-nominations.html

The JED 3.0 Functional Design Doc

The Joomla Extensions Directory (JED) Team is seeking to upgrade the current JED website to Joomla 3.x with a customized extension(s) to facilitate the management of listings and users.

http://community.joomla.org/blogs/leadership/1751-the-jed-30-request-for-proposal.html

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


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 post attachments in this forum

Search for:
Jump to:  

This is the official Admiror Joomla! Community Forum. You are welcome to join the Admiror Joomla! Community. All Admiror Joomla! Extensions Users, Joomla! Developers, PHP or mySQL Developers are welcome to support & contribute to Admiror Joomla! Projects.

Joomla! is a free and open source content management system (CMS) for publishing content on the World Wide Web and intranets. With a vibrant volunteer community, user-friendly features and plenty of power, Joomla is perfect for your website!

Joomla! is written in PHP, uses object-oriented programming (OOP) techniques and software patterns, stores data in a MySQL database, and includes features such as page caching, RSS feeds, printable versions of pages, news flashes, blogs, polls, search, and support for language internationalization.

Joomla! is the property of Open Source Matters, Inc. All rights reserved. Read more about Joomla! at http://www.joomla.org/.


Protected by Anti-Spam ACP Powered by phpBB® Forum Software © phpBB Group