Virtuemart front end administration layout problem

My all Frontend-Administration for non-Backend Users got funny layout after entering admin section. They got a very width screen for their page. that means, they need to move down slide bar to do anything or check anything. Also, I want to know how can change the link of the virtuemart http://virtuemart.net to my own site...


LVL 9
TonyRebaAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
lenamtlCommented:
Hi, it's hard to help but It's probably a css issue.
Which templates are you using (joomla admin template and VM template)?
Check if you have the problem in all browser.

Where is located the link you like to change?

We need more information to help ...
0
 
TonyRebaAuthor Commented:
I dont know exactly where to look for it , or edit code , I have tried looking on the template css file and index.php but is not there
0
Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

 
TonyRebaAuthor Commented:
This is the funny layout screenshot. Also can someoone help me removing the link in the image right now goes to virtuemart . net .
funnylayout.doc
0
 
lenamtlCommented:
Ok I see Have you modified Joomla Admin template? is this the original admin template that you are using?
0
 
TonyRebaAuthor Commented:
I installed the eCommerce Bundle with Joomla!  , the template in use is called Ja Larix .
0
 
lenamtlCommented:
ok to change the link
edit
administrator\components\com_virtuemart\header.php
line 80
<a href="http://virtuemart.net" target="_blank">
0
 
lenamtlCommented:
Is this template modify the look and feel of the admin or just the frondend (the store)?
0
 
TonyRebaAuthor Commented:
the store in general front end. But the url of the front end administrator changes to :
http://mystore/dhrstore/index2.php?pshop_mode=admin&page=admin.show_cfg&option=com_virtuemart&Itemid=3


whereas all pages are usually  index.php
0
 
lenamtlCommented:
I'm not able to reproduce the glitch...
Which browser are you using, have you this glitch with all browser?

Do you have any errors displayed at the top?
You can enable debug mode to see these errors (from site / Global Configuration / System)
Because maybe hidden errors are generating this extra space...
0
 
lenamtlCommented:
Let say in admin section if you are in VM / Configuration like it is in your printscreen
the link shoulb be
http://localhost/joomla/administrator/index.php?option=com_virtuemart
0
 
lenamtlCommented:
Also try the extend layout link to see if it's render ok.
0
 
lenamtlCommented:
Ok I have just realize that you don't have these link in your image... have you edit these links?
when you change the image have you edit other line in the code?
also which vm version are you using?
0
 
lenamtlCommented:
I have attached an image
vm.jpg
0
 
TonyRebaAuthor Commented:
Which browser are you using, have you this glitch with all browser?
Yes, well tested on IE8 and Chrome.

Do you have any errors displayed at the top?
No
You can enable debug mode to see these errors (from site / Global Configuration / System)
Will try that ....

Version i am using is
VirtueMart 1.1.5 stable

0
 
lenamtlCommented:
What is the size of you image logo, i suspect this may be the culprit..
0
 
TonyRebaAuthor Commented:
I edited the image to my own logo , but the link to virtuemart stays there..
0
 
lenamtlCommented:
try replace the orignal code to see if this fix it
re edit

administrator\components\com_virtuemart\header.php
line 80 to 82

<a href="http://virtuemart.net" target="_blank">
                        <img align="middle" hspace="15" src="<?php echo IMAGEURL ?>ps_image/menu_logo.gif" alt="VirtueMart Cart Logo" />
                  </a>
0
 
TonyRebaAuthor Commented:
image is 75 x 60 pix
0
 
lenamtlCommented:
You logo need to be the same size as the VM logo otherwise it will break the template
0
 
lenamtlCommented:
ok logo seem the same size
if you put back the code is the template ok after?
0
 
TonyRebaAuthor Commented:
it is the same size
0
 
lenamtlCommented:
if you put back the code is the template ok after?
Do this is this fix it's related we need to know if it's related or not, you see...

try replace the orignal code to see if this fix it
re edit

administrator\components\com_virtuemart\header.php
line 80 to 82

<a href="http://virtuemart.net" target="_blank">
                        <img align="middle" hspace="15" src="<?php echo IMAGEURL ?>ps_image/menu_logo.gif" alt="VirtueMart Cart Logo" />
                  </a>
0
 
lenamtlCommented:
I think you should put back the original header.php page (check in the VM package you will need to unpacked first)
you have removed the links Simple layout and Extend layout
and you edit the logo so it's appear that while editing these two area this affect the template.

Maybe just put back the original header.php file and start your modification one at the time till you discover what create the problem.

0
 
TonyRebaAuthor Commented:
No that does not fix is it,, I tried putting back originally settings..

Is there any way I can assign a template layout to this page??

0
 
TonyRebaAuthor Commented:
Do you know how do i remove the configuration menu item ? I think thats the only one that makes the menu go up and down...
0
 
lenamtlCommented:
Ok could you confirm if this happening only with menu item...

Quick fix is to use the extend layout only.

You can assign a template / css for this component
I did it once for a special report component, I will have to check the code I don't remember exactly what to do but this is

As VM offer 2 option by checking the code so this is possible to take this model and add an extra template.

I will make a test an get back to you.
0
 
TonyRebaAuthor Commented:
thanks yes is only that menu item which moves the menu once the main container grows....

can you pershaps tell me how to remove other menu items as well? I dont want the store admin to see all options, only orders, users, and reports....??
0
 
TonyRebaAuthor Commented:
Any Luck?
0
 
lenamtlCommented:
Hi will get back to asap.
0
 
TonyRebaAuthor Commented:
Thanks!!
0
 
TonyRebaAuthor Commented:
Hello lenamtl ,  did you happen to find the modification in your code?
0
 
TonyRebaAuthor Commented:
I got rid of all the menu items I don't need to show on the front end. And that is making the trick to avoid showing configuration, now? is there any way to tell the menu in CSS that stay in the top of the page?
0
 
lenamtlCommented:
I think it will more flexible for you to use a Backend (admin section) ACL to manage what they can do or see...just removing the menu item will not preven them to modify conten if they fin out the url.

I have used Juga  in the past for preventing my customer to modify settings.
http://extensions.joomla.org/extensions/access-a-security/backend-a-full-access-control/2587

Try one of these:
http://extensions.joomla.org/extensions/access-a-security/backend-a-full-access-control

This new one seems very interesting
http://extensions.joomla.org/extensions/access-a-security/backend-a-full-access-control/7010
0
 
TonyRebaAuthor Commented:
Thanks for all your help, one last questions is, do you happen to know how to modify the css so the admin menu in front end dont move down when the main div is to wide?  Can I copy and have a different menu in  front end?
0
 
lenamtlCommented:
yes it is possible by the way the admin section is called Backend not Frontend, Frontend is the part that can be view by visitors.

Check this list for admin navigation plugins:
http://extensions.joomla.org/extensions/administration/admin-navigation

I like this one
Component listing
http://extensions.joomla.org/extensions/administration/admin-navigation/5778

and this one
Shortcuts for Joomla Backend
http://extensions.joomla.org/extensions/administration/admin-navigation/8176

Also check here for all admin goodies
http://extensions.joomla.org/extensions/administration

Good luck!
0
 
TonyRebaAuthor Commented:
Yes I meant frontend administration, when I type admin credentials on virtuemart login control. does it makes sense?
0
 
lenamtlCommented:
When you logged
from www.yousite.com
or
from www.yoursite.com/administrator 

0
 
TonyRebaAuthor Commented:
1st one , please see attached word document in this post.
0
 
lenamtlCommented:
When checkit I tought it was from the admin side...because the joomla admin buttons are there...
I never used frontend login for VM admin, I didn't know that was possible.
How you did that?
0
 
TonyRebaAuthor Commented:
i use created and user and gave hin store admin privileges, so once he logs in o the front end he sees a link admin. and he sees this panel.
0
 
lenamtlCommented:
ok I see
I'll check that
0
 
lenamtlCommented:
I spoke to one of my friend he is using this component for the frontend access control
http://extensions.joomla.org/extensions/access-a-security/frontend-access-control/7020

here is the complete list
http://extensions.joomla.org/extensions/access-a-security/frontend-access-control
0
 
TonyRebaAuthor Commented:
Can you help with the original question of this topic , I need to fix the layout so the menu on the left stay on the left top, right now it moves when main container expands.......

0
 
lenamtlCommented:
I have try to download the template but I'm no more a member from joomlart
without the template it's hard to help.

Have you tried to swich to default template for a moment and see if you have the same glitch.
0
 
TonyRebaAuthor Commented:
I change to JA_purity and the menu does not move on this one, which is what i want.. is there anything I can modify on ja-larix template to avoid this issue?
0
 
TonyRebaAuthor Commented:
I guess my question now, is , how do I assign the purity template to an specific url?? I tried assigning to a menu item for the front end administration, but i would not take it ,,

this is the url
store/index2.php?pshop_mode=admin&page=store.store_form&option=com_virtuemart&Itemid=3
0
 
lenamtlCommented:
What I usually do is to compare both template script & css to find the code to modify.

You can use free application like winmerge to achieve this: http://winmerge.org


To assign different template to a page or item
Go in admin area, extensions / template manager
select another template (different from default)
click edit and Select page and itmes from the list

http://docs.joomla.org/How_do_you_assign_a_template_to_a_specific_page%3F
0
 
TonyRebaAuthor Commented:
How would I assign this to index2.php (I think this is what used on the back end?)
0
 
lenamtlCommented:
Depending where index2.php is located is for different thing.
Why you want to assign a template to index2.php?

If you want to assign differents template for Admin side
You will need to install a second template and
Go in admin area, extensions / template manager
click on administrator link
select another template (different from default)
click edit and Select page and itmes from the list

0
 
TonyRebaAuthor Commented:
I want to apply the purity template in the front end aministration because when I tested and made it thge default, that got rid of the front end menu going to the center of the page,.,,  So i looked and the front end admin uses the index2.php to render all the functions on the front end admin,,, bu I tried creating a external link and assigning to a menu item, (admin front end) and it doesnt take it..

Sorry my english is very bad so here are some screenshots, thanks!
 configuration.doc
0
 
TonyRebaAuthor Commented:
Hello Lena, did you hyave the chance of reviewing the document ?
0
 
lenamtlCommented:
Hi sorry,

I'm back home now I will read the document now.
0
 
lenamtlCommented:
ok I will try to reproduce the same I'll be back in few minutes
0
 
lenamtlCommented:
ok first try with this menu link instead:
index.php?pshop_mode=admin&page=store.store_form&option=com_virtuemart&Itemid=3

I'm not able to reproduce  your problem.
And your main template is a very old one 16 August 2007

Maybe you should check for a more recent one that will work ok with Joomla 1.5x (it is compatible but need legacy mode I beleive)
This is probably the best solution, or try to contact them, because this is a commercial template I suppose they can give you support...
0
 
TonyRebaAuthor Commented:
can you recommend me another template?  So I cannot hack the code to tell joomla I want to use milkiway teamplte style into the index2?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.