phpmyadmin sql tab is not working properly - iis

I installed phpMyadmin-4.5 & mariadb-10.3.13 on iis.
Everything seems fine but when I log into phpMyadmin and click on SQL tab on right upper pane sql-query box is disappeared.
And sql box related css seems not working correctly.
The pane's width is too large.
I googled about the situation like this but couldn't find any clue.
Here's html code of that sql-box element
<textarea tabindex="100" name="sql_query" id="sqlquery" cols="40" rows="30" style="display: none;"></textarea>
Display property is none.
Thats why I think css is malfunctioning.
Any advice would be appreciated.
Thanks.

Related

Orchard 1.9.1 Duplicating Menu

I just upgraded an Orchard website from 1.7.1 to 1.9.1 and it seems like a number of things were broken in the process. I managed to fix all of them except for one - all of my navigation items in the menu lost the links to their associated content items, so when I started adding them back in for some reason the front-end start duplicating everything. I'm on a custom theme and the menu started showing up properly, but it's duplicating all menu items right in the root with <option /> tags. I can hide those through CSS easily enough, but it's also adding "undefined" in here too, something I can't seem to target and hide.
Any idea why this is happening?
Update I figured out the "undefined" part - it's more of the content menu items being blown out, but this time it was a custom link (just a #, since it didn't go anywhere) that didn't have a URL, so it was showing as undefined. The rogue <option /> values are still here, though I can hide them via CSS. I just don't like that they are in the markup at all.

Websphere portal 8 layout.html changes not reflecting

I have done the below steps to layout.html of my custom theme.
the default layout is :
<parameter name="com.ibm.portal.layout.template.href" type="string" update="set"><![CDATA[dav:fs-type1/themes/customTheme/layout-templates/2ColumnEqual/]]></parameter>
Then i from webDav I tried to edited that particular layout.html file. I just added a class ass follow:
<div class="component-container wpthemeCol wpthemePrimaryContainer ibmDndColumn wpthemeLeft wpthemeCol6of12 wpthemeMedium lhs" name="ibmMainContainer"></div>
<div class="component-container wpthemeCol wpthemeSecondaryContainer ibmDndColumn wpthemeLeft wpthemeCol6of12 wpthemeMedium rhs" name="right"></div>
lhs & rhs are my css class which are present in theme.
Now I wont see the change when i refresh page and cross checked with firebug too.
What is see is:
<div class="component-container wpthemeCol wpthemePrimaryContainer ibmDndColumn wpthemeLeft wpthemeCol6of12 wpthemeMedium" name="ibmMainContainer"></div>
<div class="component-container wpthemeCol wpthemeSecondaryContainer ibmDndColumn wpthemeLeft wpthemeCol6of12 wpthemeMedium" name="right"></div>
I even restarted the server. Some one please point out what is wrong.
Thanks & Regards
Adeeb
I would have expected the server restart to clear any cached layout data. Just to make sure though, try running the refresh-page-layout task from the ConfigEngine.
same issue both with Portal 8 and Portal 8.5 .
Even if I restart server, Portal doesn't feel the changing of any layout.html file.
The only way I've found to force Portal to feel the changing is to manually re-assign the layout (assign a different layout, than assign back the correct layout) to each page I need with that layout.
I believe there should be another way (it would be absurd if it were forced to do so for big amount of pages), but I didn't find any solution at the moment.
Hope it can help you

Can't click "through" fixed div menu

I'm having problems with my fixed menu. As you can see of the example beneath it's not possible to click the links "VingÄrde, Dyrkning..." because of the div box with the fixed menu on top of it. I've tried ordering the layers with z-index but I just can't get it to work. Can anybody help me out?
http://itu.dk/people/mbul/humlum/
And if anyone by the way have a method on auto adjusting the height of the page so it covers the whole viewport I would be very glad to hear from you :-) In the website version above I've set the height manually to 1000px which is not preferable
Thank you!
You need to put all the wrappers' elements outside of it and put them after the left-page container and before the right-page container. Finally, remove the wrapper, it seems unnecessary for the page in order to work.
I fixed it through Chrome's dev tools, but I assume it should work if you modify the html that way.
The body should look like this:
<div id="left_page_container">...</div>
<div class="nav_humlunvim">...</div>
<div class="nav_butik">...</div>
<div class="nav_blog">...</div>
<div class="nav_kontakt">...</div>
<div id="right_page_container">...</div>
Hope it helps; as an extra observation it is more common to use "hyphen-separated-names" for selectors than to use "snake_case_names" :)

MODX revo Wayfinder Not Showing

I'm working with Wayfinder, testing it out to see how it works but for some reason, it's not working and by that I mean that I place the code where it should be and it doesn't output anything at all, I get a blank menu section on my header.
I've been learning form this guide http://codingpad.maryspad.com/2011/02/21/modx-revolution-for-complete-beginners-part-8-using-wayfinder-to-create-menus/
I've followed the instructions on this hands-on video https://www.youtube.com/watch?v=eabBx-KUHjk
as well as the documentation on the wiki.
I placed this on the header to test how the menu loads but nothing happened.
<!-- BEGIN NAVIGATION -->
<nav>
[[!Wayfinder? &startid='0']]
</nav>
<!-- END NAVIGATION -->
The output is nothing at all. The "Hide From Menus" option is unchecked so I'm rather clueless as of why nothing is happening.
I got it to work. It seems it's case sensitive and &startid should be &startId
[[!Wayfinder? &startId='0']]
although I think it's a little odd that if I have more items under the same tree and I use &startid (lowercase) it lists everything but the root document but if I use it with capital "I" then it lists everything starting from the root.
In any case, it's working now.

Adding presence indicator to a custom web part

I have a custom web part which is generating some user data. I have added the appropriate code to output the standard presence icon and menu however this is acting rather stangely.
The rendered html of my web part is as follows:
<span>
USERNAME
<img border="0" height="12" width="12" src="/_layouts/images/blank.gif" onload="IMNRC('USEREMAIL')" id="imnUSERID" ShowOfflinePawn="1" />
</span>
Obviously replacing USERID, USERNAME, USEREMAIL etc.
The problems are twofold.
1) In IE7 the presence information does not get retrieved. The menu displays correctly but the icon does not appear and when you hover over the gap the drop down menu does not provide IM settings.
2) In IE8 RC1 the presence information comes back correctly and the icon displays, but the drop down list is rendered severeal inches above the icon. (see this screenshot)
Any help with these issues, or with other tips about adding presence to custom web parts would be greatfully received.
Update on progress
- Adding web page to 'Trusted Sites' for IE7 - did nothing
- Compatability view for IE8 makes no difference.
- Changed to id="CSRP_id,type=sip"
Changed code to the following on recommendation:
<span>
<img class="PresenceImage" src="/_layouts/images/imnhdr.gif" onload="IMNRC('USEREMAIL')" name="imnmark" ShowOfflinePawn="1" id="contact_im,type=sip" />
</span>
None of the above updates have been succesful.
First, you are going to have to eliminate whether you have a styling issue or a javascript issue.
If all of your presence bubbles display correctly, then get the IE Developer Toolbar and try and trace the css back. Even change the themes of the site and see if you get a different result.
This is our html, which works nice
<span>
<img width="12" src="/_layouts/images/blank.gif" onload="IMNRC('[USERMAIL]')" id="IMID[GUID]" ShowOfflinePawn=1 alt="Presence bubble">[USERNAME]</span>
Note:
[USERMAIL] = obvious
[USERNAME] = obvious
[GUID] = random guid
Also note the malformed img tag with no end "/>" (just ">"). We use this as this is the html generated by SharePoint (please don't get me started on that).

Resources