TonyReba
asked on
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...
ASKER
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
ASKER
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
funnylayout.doc
Ok I see Have you modified Joomla Admin template? is this the original admin template that you are using?
ASKER
I installed the eCommerce Bundle with Joomla! , the template in use is called Ja Larix .
ok to change the link
edit
administrator\components\c om_virtuem art\header .php
line 80
<a href="http://virtuemart.net" target="_blank">
edit
administrator\components\c
line 80
<a href="http://virtuemart.net" target="_blank">
Is this template modify the look and feel of the admin or just the frondend (the store)?
ASKER
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
http://mystore/dhrstore/index2.php?pshop_mode=admin&page=admin.show_cfg&option=com_virtuemart&Itemid=3
whereas all pages are usually index.php
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...
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...
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
the link shoulb be
http://localhost/joomla/administrator/index.php?option=com_virtuemart
Also try the extend layout link to see if it's render ok.
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?
when you change the image have you edit other line in the code?
also which vm version are you using?
I have attached an image
vm.jpg
vm.jpg
ASKER
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
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
What is the size of you image logo, i suspect this may be the culprit..
ASKER
I edited the image to my own logo , but the link to virtuemart stays there..
try replace the orignal code to see if this fix it
re edit
administrator\components\c om_virtuem art\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>
re edit
administrator\components\c
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>
ASKER
image is 75 x 60 pix
You logo need to be the same size as the VM logo otherwise it will break the template
ok logo seem the same size
if you put back the code is the template ok after?
if you put back the code is the template ok after?
ASKER
it is the same size
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\c om_virtuem art\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>
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\c
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>
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.
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.
ASKER
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??
Is there any way I can assign a template layout to this page??
ASKER
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...
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.
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.
ASKER
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....??
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....??
ASKER
Any Luck?
Hi will get back to asap.
ASKER
Thanks!!
ASKER
Hello lenamtl , did you happen to find the modification in your code?
ASKER
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?
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
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
ASKER
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?
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!
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!
ASKER
Yes I meant frontend administration, when I type admin credentials on virtuemart login control. does it makes sense?
ASKER
1st one , please see attached word document in this post.
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?
I never used frontend login for VM admin, I didn't know that was possible.
How you did that?
ASKER
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.
ok I see
I'll check that
I'll check that
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
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
ASKER
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.......
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.
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.
ASKER
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?
ASKER
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_mod e=admin&pa ge=store.s tore_form& option=com _virtuemar t&Itemid=3
this is the url
store/index2.php?pshop_mod
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
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
ASKER
How would I assign this to index2.php (I think this is what used on the back end?)
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
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
ASKER
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
Sorry my english is very bad so here are some screenshots, thanks!
configuration.doc
ASKER
Hello Lena, did you hyave the chance of reviewing the document ?
Hi sorry,
I'm back home now I will read the document now.
I'm back home now I will read the document now.
ok I will try to reproduce the same I'll be back in few minutes
ok first try with this menu link instead:
index.php?pshop_mode=admin &page=stor e.store_fo rm&option= com_virtue mart&Itemi d=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...
index.php?pshop_mode=admin
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...
ASKER
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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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 ...