CSS not available on frontend Media Manager

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed Jun 25, 2014 10:46 pm
Reply with quote
Report this post
Hi,

Please help, my Magazine template is causing a css conflict and I have no idea how to resolve it.

Here the Joomla Media Manager in the intro/full article image file browser in the frontend (not working)
front.jpg


and here on the backend, where it's working
back.jpg


Is it possible that the problem is caused by the css which seems not available on the frontend?

Thanks, regards
User avatar
Junior Boarder

GK User
Thu Jun 26, 2014 6:50 pm
Reply with quote
Report this post
Hello,

Please open the component.php file and please replace the following line:

Code: Select all
// No direct access.
defined('_JEXEC') or die;


to:

Code: Select all
// No direct access.
defined('_JEXEC') or die;

$doc = JFactory::getDocument();
$doc->addStyleSheet($this->baseurl . '/media/jui/css/bootstrap.min.css');
User avatar
Administrator

GK User
Thu Jun 26, 2014 8:19 pm
Reply with quote
Report this post
Thanks! :)
I've replaced the code in the: ...templates/gk_magazine/component.php
the layout looks much better now but not all the icons are showing, like the folder icon, as you can see in the attached image.
Clipboard01.jpg


One more think, unfortunately the image uploader is still not working. When I try to upload an image to the server the page refreshes but the image it's not been uploaded to the selected directory.
Do you know how can I fix it?

Thanks a lot!
User avatar
Junior Boarder

GK User
Sun Jun 29, 2014 8:50 pm
Reply with quote
Report this post
Please change the old code to:

Code: Select all
$doc = JFactory::getDocument();
$doc->addStyleSheet($this->baseurl . '/media/jui/css/bootstrap.min.css');
$doc->addStyleSheet($this->baseurl . '/media/jui/css/bootstrap-responsive.min.css');
$doc->addStyleSheet($this->baseurl . '/media/jui/css/bootstrap-extended.css');
$doc->addStyleSheet($this->baseurl . '/media/jui/css/icomoon.css');
$doc->addStyleSheet($this->baseurl . '/media/jui/css/chosen.css');
$doc->addStyleSheet($this->baseurl . '/media/media/css/mediamanager.css');


It will fix the icon and layout problems.

For me the image uploading is working fine - I was able to upload and insert two new images.
User avatar
Administrator

GK User
Mon Jun 30, 2014 1:41 pm
Reply with quote
Report this post
Thanks dziudek! The css are perfect now!

But the image uploading (in the FrontEnd) isn't working for me? When I select and upload an image, the page refreshes but no image will be uploaded to the directory.

PS could you please tell me how and where could you upload 2 images? You mean in my joomla site? :)
User avatar
Junior Boarder

GK User
Tue Jul 01, 2014 7:40 am
Reply with quote
Report this post
I was able to upload these images on our test installation of the magazine template for J!3.3.*.
User avatar
Administrator

GK User
Thu Jul 03, 2014 7:30 pm
Reply with quote
Report this post
Hi dziudek,
I'm developing another site this time with yours Restaurant Template. Also with the Restaurant T. I had the same issue with the filebrowser CSS in the front end but thanks to your previous fix now it's showing well.
With the Restaurant template also the frontend image uploader it's working great.

This makes me thing that the issue I'm still having with the Magazine template should not be depending from my server settings.

Could you please just give me some hint of what can be the reason why I cannot upload images from the frontend?
Please, it's from the 25th of June that I cannot get the job done.
Regards
User avatar
Junior Boarder

GK User
Fri Jul 04, 2014 7:40 am
Reply with quote
Report this post
Please provide me a new access data to your website - the old ones are not working.
User avatar
Administrator

GK User
Sun Jul 06, 2014 9:10 am
Reply with quote
Report this post
The uploader doesn't return any errors - it can be an issue with your server configuration or some bug in Joomla - please consult it on official Joomla Forum. The same problem exists on the default Protostar template so it is not an issue with our template.
User avatar
Administrator

GK User
Wed Jul 09, 2014 5:15 pm
Reply with quote
Report this post
Yea it can be.

But please let me also add that on the same server, same subdomain with same server configuration, I've installed other products from gavick, like StoreBox quickstart and a classic joomla! installation and they have not this problem with the frontend image uploader.

Just now I've also overwritten by FTP all joomla! 3.3.1 files, but also this did not fix the problem.

Could it be a compatibility issue with some other component, plugin...?
If yes which ones?
I've already disabled k2 but that did not fix it neither.
User avatar
Junior Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.