-
AuthorPosts
-
Peter Matra Friend
Peter Matra
- Join date:
- September 2014
- Posts:
- 159
- Downloads:
- 54
- Uploads:
- 25
- Thanked:
- 9 times in 1 posts
November 22, 2008 at 10:56 pm #135618Hi!
I love this template but I would want to change one thing and that is the upper news to a slide show similar to that of Sanidine II….
LET”S GET TO MY QUESTION-
What is going on with the menu descriptions underneath the menu titles? :(( I cannot get rid of them…
Otherwise awesome job.
damian Frienddamian
- Join date:
- May 2008
- Posts:
- 154
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 70
- Thanked:
- 20 times in 1 posts
November 23, 2008 at 1:39 am #279992go to your menu parameter ( Parameter System tab).
Peter Matra FriendPeter Matra
- Join date:
- September 2014
- Posts:
- 159
- Downloads:
- 54
- Uploads:
- 25
- Thanked:
- 9 times in 1 posts
November 23, 2008 at 5:52 am #280000I must be missing something- I turned off the description and it still showed. You are talking about the long list of parameters inside each menu I assume. I even double checked the SQL data and when I the parameter was turned off and there was no title written it copied the menu title so I have two menu titles…
I hoped that made sense. For instance I am using the new Uvite template, look under the Main Menu Typography and it says Bonus titles…etc. I turn off the description and text and it says: Typography and another Typography directly beneath it.
I tried to adjust the PHP but I have no clue what I am doing there.
I did solve it by changing the CSS for the description font to 0% which did the trick but I can forsee trouble in the future.
THANKS
Petemayke Friendmayke
- Join date:
- May 2008
- Posts:
- 281
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 55
- Thanked:
- 13 times in 1 posts
November 25, 2008 at 10:41 am #280256Hi,
Nice to try, ur just doing good, mind to share? or…
will JA help us ‘the right thing’ to do. Any clue?
Coz parameter system tab won’t change…Peter Matra FriendPeter Matra
- Join date:
- September 2014
- Posts:
- 159
- Downloads:
- 54
- Uploads:
- 25
- Thanked:
- 9 times in 1 posts
November 25, 2008 at 2:05 pm #280265Good I am glad I am not the only one. PLEASE HELP!
mayke Friendmayke
- Join date:
- May 2008
- Posts:
- 281
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 55
- Thanked:
- 13 times in 1 posts
November 26, 2008 at 8:43 pm #280415Still waiting…….
Peter Matra FriendPeter Matra
- Join date:
- September 2014
- Posts:
- 159
- Downloads:
- 54
- Uploads:
- 25
- Thanked:
- 9 times in 1 posts
November 26, 2008 at 9:11 pm #280420ok I got it I think- This should remove the descriptions beneath the menus (because the params.ini is not working.) I remind everyone I know nothing about PHP. This was a crap shoot. I tested it with IE7 and it worked for me.
Modify the ‘Base.class.php’ in the templates/ja_uvite/ja_menus directory
—————-ORIGINAL CODE—-LINES 166-182——————————-
//Add page title to item
if ($level == 0 && $this->getParam(‘menu_title’)) {
if ($this->getPageTitle($iParams)) {
$txt .= ‘<span class=”menu-desc”>’. $this->getPageTitle($iParams).'</span>’;
} else {
$txt .= ‘<span class=”menu-desc”>’. $tmp->name.'</span>’;
}
}$title = “title=”$tmp->name””;
if ($tmp->url != null)
{
switch ($tmp->browserNav)
{
default:
case 0:————REPLACE WITH THIS—-LINES—BECOMES 166-180 GIVE OR TAKE A SPACE———-
//Add page title to item
if ($level == 0 && $this->getParam(‘menu_title’)) {
if ($this->getPageTitle($iParams)) {}
}$title = “title=”$tmp->name””;
if ($tmp->url != null)
{
switch ($tmp->browserNav)
{
default:
case 0:———————————————————
You are basically deleting the calls to the menu-desc.span- It may just nullify the css call. I don’t know if this will effect the height. I am narrowing mine now.
1 user says Thank You to Peter Matra for this useful post
mayke Friendmayke
- Join date:
- May 2008
- Posts:
- 281
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 55
- Thanked:
- 13 times in 1 posts
November 27, 2008 at 6:10 am #280452Hi Pete,
I don’t know why JA so quite at this time
forsure I just need HOW TO TURN OF THE MENU DESCRIPTION…
Looks funny when I don’t have any information for the menu description yet,
when I keep it blank it repeating the menu title???But I do your way Pete. This is cool! And works just fine.
Simply replace to the original when I need this in the future.
Thank you for sharing Pete.Peter Matra FriendPeter Matra
- Join date:
- September 2014
- Posts:
- 159
- Downloads:
- 54
- Uploads:
- 25
- Thanked:
- 9 times in 1 posts
November 27, 2008 at 6:28 pm #280537THANKS- I am such an amateur I am going to brag. My fix I guess will completely disable all menu descriptions.
Peter
bramewave Friendbramewave
- Join date:
- December 2007
- Posts:
- 76
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 27
- Thanked:
- 2 times in 1 posts
December 7, 2008 at 4:45 pm #281647Are you trying to remove the mouseover issue? If so try this:
Open base.class.php file in templatesja_uviteja_menus folder , find following code line at about line 235 :
Code:$title = “title=”$tmp->name””;
remove it .
Peter Matra FriendPeter Matra
- Join date:
- September 2014
- Posts:
- 159
- Downloads:
- 54
- Uploads:
- 25
- Thanked:
- 9 times in 1 posts
December 7, 2008 at 7:39 pm #281660hmmm. I wish I could still recreate the issue, but I scrapped using Uvite for Sandine for additional issues.
What was happening was that I could not get rid of the menu descriptions underneath the Menu Item title. (the description text I highlighted in the JPG). I tried all different ways of of doing via parameters and none of it worked.
Is just reworked the code, but it disabled descriptions permanently.
p
bramewave Friendbramewave
- Join date:
- December 2007
- Posts:
- 76
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 27
- Thanked:
- 2 times in 1 posts
December 7, 2008 at 7:53 pm #281664I am now having the same problem DANG IT! I just need to remove one. I just decided to modify them so that they work well with the menu item. I kinda like it.
Peter Matra FriendPeter Matra
- Join date:
- September 2014
- Posts:
- 159
- Downloads:
- 54
- Uploads:
- 25
- Thanked:
- 9 times in 1 posts
December 7, 2008 at 8:07 pm #281665That sucks, my solution eliminates all of the descriptions.
bramewave Friendbramewave
- Join date:
- December 2007
- Posts:
- 76
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 27
- Thanked:
- 2 times in 1 posts
December 7, 2008 at 10:35 pm #281672try this, you have to us the correct ccs file
blue.css
violet.css
default.csschange line (it should be around line 162 or so you may have to download it through FTP:
#ja-mainnav span.menu-desc {
color: #546376;to:
#ja-mainnav span.menu-desc {
opacity: 0.0;
color: #546376;AWESOME!
Peter Matra FriendPeter Matra
- Join date:
- September 2014
- Posts:
- 159
- Downloads:
- 54
- Uploads:
- 25
- Thanked:
- 9 times in 1 posts
December 8, 2008 at 5:53 pm #281794That’s a good way so you don’t have to screw with the PHP. Did you get the opacity work properly with IE?
AuthorPostsThis topic contains 17 replies, has 5 voices, and was last updated by Peter Matra 15 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum