How to Get Clean Image Name
Re: How to Get Clean Image NameTrying and I get this: atal error: Cannot access private property agGallery::$match
EDITED: ======== Found the solution: It works if I use $agHelper->match instead of $AG->match Re: How to Get Clean Image NameStill having a little trouble. I am using this: $sliderSpeed = $AG->ag_getParams("speed",$agHelper->match,50);
Which does not throw an error but ONLY prints out the default value. So in this case it only prints 50 instead of 1200 as set in the plugin code: {AG thumbWidth="600" thumbHeight="310" thumbAutoSize="none" arrange="priority" timeout="6000" tabWidth="100" startingSlide="0" slideClass="slide" slideOpenClass="slide-open" slideClosedClass="slide-closed" slidePreviousClass="slide-previous" speed="1200" backgroundColor="ffffff" foregroundColor="808080" highliteColor="fea804" frame_width="500" frame_height="300" newImageTag="0" newImageTag_days="7" paginUse="0" paginImagesPerGallery="10" albumUse="0" showSignature="0" plainTextCaptions="0" template="accordion" popupEngine="slimbox" easing="easeInQuart" trigger="click"}Homepage-Pics{/AG} Re: How to Get Clean Image NameFound a couple of things:
1) $AG->match is private. I had to just set match in the AG class to var and then it started working properly. 2) Filling a width for the frame size is reflected in the plugin code. However, the $AG->params array does not read the value from this at all. It seems to ONLY come from the setting set in the control panel. It is not overridden by the plugin code. Re: How to Get Clean Image NameDone!
Got the template completed with all the settings it can take and every easing option available.
Re: How to Get Clean Image NameYes, I totally agree with you. This might be achieved by option to disable some settings in the template, so that when you create a new template, you just say what option your template doesn't need. I will have to give some thought to this Help Admiror Gallery become even better,
give us a review on JED
Re: How to Get Clean Image NameI must say again, that I would never believed that this is AdmirorGallery on your site
Actually this was our idea at first, create some small platform for people with great ideas to focus more on their imagination and less on boring programing stuff Help Admiror Gallery become even better,
give us a review on JED Re: How to Get Clean Image NameHelp me figure out how this template can work with others without having to:
1) set $AG->match to NOT be Private. 2) Not upload a new file with the parameters for the button parameters Basically, have everything contained within the template itself.
Re: How to Get Clean Image Name1) use
Code: Select all The whole agGallery class is constructed as an API for templates and any other extensions 2) I don't see any solution to this problem. Only to add some information about the custom parameters so that user can manually add it to the Code: Select all Help Admiror Gallery become even better,
give us a review on JED
Re: How to Get Clean Image NameHere is the zAccordion template. Version 1. Test it and let me know if it needs anything. I could probably write MORE instruction but I'm hoping this will do for now.
Buddy
|

