Joined: 20 Aug 2003
Posts: 5039
Location: Nottingham, UK
Posted: 05/28/11 14:32
LATEST NEWS
26th June 2011 V1.1.4 Module now includes the means to upload a new 'thumbnail.png' image file that will show in the Admin Control Panel => Config Modules section. This would be used in a cloned module to distinguish from other cloned Aparna modules. Also, the module now includes the means to limit the number of items a user may create, per quota
Aparna now has four 'pre-configured' modules to clone that can be used 'out of the box'.
BlogsExtra - When cloned, the BlogsExtra module will optionally give your users access to a Blogs feature that provides fields for Blog Title, Category, Blog Text, and up to 4 Blog Image uploads.
Review - When cloned, the Review module will optionally give your users access to a feature that allows them to generate 'Product Reviews'. It provides fields for Product Name, Product Manufacturer, Product Description, Product Category, Product Price, one Image upload, and the actual Product Review.
Classifieds - When cloned, the Classifieds module will optionally give your users access to a feature that allows them to generate 'Classified Ads'. It provides fields for Item Name, Item Description, Item Category, Seller Contact Details, Seller Location, Item Price, up to six Image uploads, and a text area for Further Information.
MiniPhotoAlbum - When cloned, the MiniPhotoAlbum module will optionally give your users access to a feature that allows them to generate 'mini Photo Albums'. It provides fields for Album Name, Album Description and up to twelve Album Image uploads.
All of the above can be used as they come, but more likely they will provide you with a starting point for you to add more fields, edit the field text, select values and their 'required' status, so as to fine tune them to your Jamroom site's, and users' requirements.
So effectively, you have FOUR MODULES FOR THE PRICE OF ONE, and any number of others you can think of.
Visit the Aparna Demo and Support site at http://paulasher.com/?t=Aparna for full module information, installation and configuration instructions and screenshots.
I bought this last week, and have it setup on my site. Everything seems to be working fine in the control panel.
I've:
1. cloned the module, calling it "Custom"
2. Created a new "item" field
3. Allowed this module in the Profile Quota
4. added {$debug} to a theme template.
5. Rebuilt profile
6. Navigate to the profile, and the debug window pops up.
7. several variables related to the module show up, but not the image variable that I added.
I've tried rebuilding profiles, running integrity check, and nothing helps. Not getting any PHP errors through Jamroom or CPanel, no JS errors either.
Joined: 20 Aug 2003
Posts: 5039
Location: Nottingham, UK
Posted: 06/04/11 02:21
Have you modified/created theme templates to show the Custom items?
The Custom variables showing in the debug popup are just the 'global' ones from the module's include file. You need to add the Custom items to your theme templates.
I initially just dropped the variable tag in the template and thought it might render, but it gets killed at render time. I've read through the sample code you have on your site a few times, and I ~think~ I need to put the tag for images in loop/if statement. Is that true?
Joined: 20 Aug 2003
Posts: 5039
Location: Nottingham, UK
Posted: 06/06/11 11:25
DigNitMedia:
Hello!
I initially just dropped the variable tag in the template and thought it might render, but it gets killed at render time. I've read through the sample code you have on your site a few times, and I ~think~ I need to put the tag for images in loop/if statement. Is that true?
Cheers,
~E
Yes, because you can upload multiple images per item, the information on each image is returned as elements of an array, so that you can optionally loop round them to show images in sequence.
But how are you putting the custom item variables in the template? The above url is a theme index page. Have you got custom templates outputting to index.php in the theme.cfg file? If you are just putting the custom variables in the index template(s), that would explain why they are not showing.
Cheers
Pa
I'm assuming here that there is just one image upload in the Custom module so we can access it directly as array element '0'. If there are more images you may then have to loop around them.
Also note that in the latest version of Aparna, the {$JAMROOM_URL} is included in the image url variable, so no need to include it in the template.
I'm assuming here that there is just one image upload in the Custom module so we can access it directly as array element '0'. If there are more images you may then have to loop around them.
Also note that in the latest version of Aparna, the {$JAMROOM_URL} is included in the image url variable, so no need to include it in the template.
hth
Pa
Getting closer, I think.
I used the ranking call, but the image source is rendering like this:
<img src="image.php?mode=Custom_meter_file_0&band_id=388&media_id=1&width=960" alt="The Sound Guitar Magazine">
Joined: 20 Aug 2003
Posts: 5039
Location: Nottingham, UK
Posted: 06/06/11 16:44
That code looks OK. "mode=Custom_meter_file_0" is correct. Its the Jamroom naming convention for uploaded module files.
The only thing is the missing $JAMROOM_URL before the image.php.
The latest Aparna module should put it in. Just for now, change the template to -
and see if that works. If it does, take it out again and upload the latest Aparna V1.1.2. You'll then need to 're-clone' the Custom module by setting the 'overwrite' checkbox. This will make sure that Custom is also at the latest revision.
Cheers
Pa
That code looks OK. "mode=Custom_meter_file_0" is correct. Its the Jamroom naming convention for uploaded module files.
The only thing is the missing $JAMROOM_URL before the image.php.
The latest Aparna module should put it in. Just for now, change the template to -
and see if that works. If it does, take it out again and upload the latest Aparna V1.1.2. You'll then need to 're-clone' the Custom module by setting the 'overwrite' checkbox. This will make sure that Custom is also at the latest revision.
Cheers
Pa
That done did it!
When did 1.1.2 come out? I only just got this last week....
Joined: 20 Aug 2003
Posts: 5039
Location: Nottingham, UK
Posted: 06/07/11 00:24
Quote:
When did 1.1.2 come out? I only just got this last week....
A few days ago - Another user was using it on a cluster and I had to make some changes for it to work in that situation, hence the reason that the image url now includes the full url with the correct domain.
Joined: 20 Aug 2003
Posts: 5039
Location: Nottingham, UK
Posted: 06/23/11 10:28
DigNitMedia:
Soooo...it seems that when it comes time to upgrade, I need to upgrade all of the cloned modules independently?
Upgrade the main Aparna module, then 're-clone' all the other cloned modules, but set the overwrite checkbox.
Hope that's not too tedious but it was the easiest way I could think of doing it.
Cheers
Pa
Upgrade the main Aparna module, then 're-clone' all the other cloned modules, but set the overwrite checkbox.
Hope that's not too tedious but it was the easiest way I could think of doing it.
Cheers
Pa
Not tedious at all, and much better than manual! Does this ugrade allow me to use full urls for images now? I'm creating a module that allows overwriting of an inline style on theme templates... e.g.: