Store
Community Documentation

v3 Knowledgebase

Upload photo on mobile site- (Tutorial)

To allow photo to be uploaded via mobile is simple. Using this tool, edit the template controller "add.html.php" of the module "photo".

Look for this piece of code at the top of the file, and delete it.
HTML:
{if Phpfox::isMobile()}
<div class="extra_info">
	{phrase var='photo.photos_unfortunately_cannot_be_uploaded_via_mobile_devices_at_this_moment'}
</div>
{else}

Then, scroll down to the very bottom, and delete this line:
HTML:
{/if}

Save the template and clear your site's cache.


(EDIT BY FERN. Modification of files are not supported. Use the edit templates tool instead. Also, the code to be deleted was wrong).