The Joomla! Forum ™






Post new topic Reply to topic  [ 12 posts ] 
Author Message
PostPosted: Tue Sep 12, 2006 4:23 pm 
Joomla! Intern
Joomla! Intern

Joined: Mon Aug 07, 2006 2:00 pm
Posts: 62
Hi there,

I wonder if you can help me with this:

I created a Section and linked it to the main Menu.

Then, created a few Link – Content Items- to this Menu entry.

The problem is that I view the Menu parent Menu items aligned to the left instead of to the right…(on the menu)
And also, I see an icon (rectangle with red X on it) instead of a normal icon...

Can you guide me through, how to align the menu Items to the right on the Main menu, and add a normal icon (or get rid of the existing one?)

Thank you very much.
Starlight


Top
 Profile  
 
PostPosted: Wed Sep 13, 2006 8:44 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Sat Nov 12, 2005 10:55 pm
Posts: 856
Location: Israel
Hello Starlight,
if you are a hebrew speaker I would recommend asking your questions in the Joomla Hebrew Site.

regarding the alignment to the right, you'll need to hack the mod_mainmenu.php file & change it's code.

Line 251:
Code:
align="left"


into:
Code:
align="right"


I suggest not doing this if you're not 100% sure, what's you're doing...

regarding your icon question, check that the link to the image is currectly pointing at the image..

good luck...

_________________
"In a world without walls and fences,
who needs Windows & Gates?"

http://www.smartmtk.com | http://www.lighthost.co.il/webhosting-for-joomla


Top
 Profile  
 
PostPosted: Wed Sep 13, 2006 9:23 am 
Joomla! Intern
Joomla! Intern

Joined: Mon Aug 07, 2006 2:00 pm
Posts: 62
Thanks so much!

I aligned the menu items to the right!!! :)

Now, the problem with the icon remains: :'(
I guess, the code doesn’t point at the image of the icon (bullet)

Can you pls guide me : how to point at the right icon from the code.

Again, many thanks
Starlight


Top
 Profile  
 
PostPosted: Wed Sep 13, 2006 9:29 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Sat Nov 12, 2005 10:55 pm
Posts: 856
Location: Israel
that's ready depend on where the image is, & how you are pointing to it...

_________________
"In a world without walls and fences,
who needs Windows & Gates?"

http://www.smartmtk.com | http://www.lighthost.co.il/webhosting-for-joomla


Top
 Profile  
 
PostPosted: Wed Sep 13, 2006 11:54 am 
Joomla! Intern
Joomla! Intern

Joined: Mon Aug 07, 2006 2:00 pm
Posts: 62
Thanks MTK,

:'(I don't know - is it the $img[1] that appears on the File: mod_mainmenu.php???

what image do you recommend, and where can I place it - in order that it will be used by the template (javabean_rtl)
It looks like the file mod_mainmenu.php - goes to :
  $imgpath = $mosConfig_live_site .'/images/M_images';
to look for it...
But the result is the defult tiny icon with a red X on it (a placeholder for a good icon that I need...)
Can you advise?

Thanks!!!


Top
 Profile  
 
PostPosted: Wed Sep 13, 2006 12:18 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Sat Nov 12, 2005 10:55 pm
Posts: 856
Location: Israel
the place to look 4 it, is not in the code itself...
you should learn more about templates & CSS - your solution is there...

_________________
"In a world without walls and fences,
who needs Windows & Gates?"

http://www.smartmtk.com | http://www.lighthost.co.il/webhosting-for-joomla


Top
 Profile  
 
PostPosted: Sun Jul 01, 2007 9:06 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Jun 26, 2007 11:03 pm
Posts: 44
I tried this hack too and it worked... sort of. Now the menu items are aligned to the right, but placed slightly out of the menu item box.

And it only happens in Firefox. IE displays it right.

Any ideas ? Thanks...

_________________
BrowserSeal - fast multi browser screenshots
Currently supports Firefox, Internet Explorer (IE6, IE7, IE8), Chrome, Opera and Safari.
Free trial download available.


Last edited by demiurg on Sun Jul 01, 2007 9:14 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Tue Jul 24, 2007 1:24 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Jul 20, 2007 3:07 am
Posts: 4
maybe your images is not uploaded check in your images folder in your tamplete folder.


Top
 Profile  
 
PostPosted: Sat Jul 28, 2007 9:00 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Sat Nov 12, 2005 10:55 pm
Posts: 856
Location: Israel
demiurg wrote:
I tried this hack too and it worked... sort of. Now the menu items are aligned to the right, but placed slightly out of the menu item box.

And it only happens in Firefox. IE displays it right.

Any ideas ? Thanks...

In this case it is a CSS issue.

_________________
"In a world without walls and fences,
who needs Windows & Gates?"

http://www.smartmtk.com | http://www.lighthost.co.il/webhosting-for-joomla


Top
 Profile  
 
PostPosted: Sat Aug 06, 2011 4:21 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Aug 06, 2011 3:54 pm
Posts: 28
I've gone through the CSS and feel like I've changed EVERY "right" padding and margin attributes and nothing seems to effect the alignment of the content of the right modules. I've attached a snip of my challenge.


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
PostPosted: Thu Jun 14, 2012 5:47 am 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Mon Jun 04, 2012 1:40 pm
Posts: 74
Location: Slovenia
I want to know how to move single menu item to the right and others stay on left?


Top
 Profile  
 
PostPosted: Sat Oct 13, 2012 8:36 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Mar 10, 2012 4:39 pm
Posts: 19
Can you please tell me, where is this file mod_mainmenu.php is located?
I am using Joomla 2.5.7.

Thanks a lot


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 



Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group