Knowledge Base support case for AllWebMenus Pro, abstracted and stripped of all user’s private info.


Initial Email From:
Carmen
Initial Email Subject: Links are adding a prefix 
Support Case Month: April 2014

For some reason it is adding /js/ in front of the links and I can't find the parameter that I must have messed up.

I want the compiled JavaScript files and images to go into the /js folder.

Thanks.
-Barry

Reply From: Likno Customer Support

Hello Barry,

Please, go to Project Properties -> Folders & Files and click on Edit in Menu file.

edit menu project properties

Then, for the Compiled menu subfolder choose the Default (Site_root) and click OK.

menu site root folder

Re-compile your menu project and re-link it to your pages.

This will remove the js prefix from you links. That happened because you have root relative links on your menu items, thus it adds the js prefix as it was defined as your root for your menu file.

Please, let me know if I can be of further help.

Thank you.

Kind Regards,

Aggelos Tsakonas 
www.likno.com
Powerful javascript menus (CSS menus/drop-down menus/sliding menus), web trees, buttons, tabs, modals, tooltips, accordions, scrollers, designs for your websites!

Tags: , , , , , , ,

 

Knowledge Base support case for AllWebMenus,  abstracted and stripped of all user’s private info.


Initial Email From:
User
Initial Email Subject: Could not create table. Please check your privileges
Support Case Month: November 2012

Hi

I got this error when using the plugin in wordpress

"Could not create table. Please check your privileges"

have any solution for me?

Here my Information

AllWebMenus Pro 5.3-Build #900
AllWebMenus WordPress Menu Plugin v1.1.14

*** also the web form cannot send out the message so i send you email

Thanks

Reply From: Likno Customer Support

Hello,

According to the error message, it seems that your WordPress does not have the access rights required to create new tables into the database!

This means that you blocked this access *after* the WordPress installation. Does this make sense?

Would you be able to create the table manually through your SQL admin? If so, then you could use the following query:

CREATE TABLE wp_awm (
                                                                id mediumint(9) NOT NULL AUTO_INCREMENT,
                                                                name tinytext NOT NULL,
                                                                active BOOLEAN NOT NULL DEFAULT  '0',
                                                                custom_menu BOOLEAN NOT NULL DEFAULT  '0',
                                                                custom_menu_id mediumint(9) NOT NULL DEFAULT  '0',
                                                                position tinytext NOT NULL,
                                                                type tinytext NOT NULL,
                                                                include_home BOOLEAN NOT NULL DEFAULT  '1',
                                                                pages BOOLEAN NOT NULL DEFAULT  '1',
                                                                pages_ms tinytext NOT NULL DEFAULT  '',
                                                                pages_name tinytext NOT NULL DEFAULT  '',
                                                                excluded_pages tinytext,
                                                                posts BOOLEAN NOT NULL DEFAULT  '0',
                                                                posts_ms tinytext NOT NULL DEFAULT  '',
                                                                posts_name tinytext NOT NULL DEFAULT  '',
                                                                posts_ids tinytext,
                                                                categories BOOLEAN NOT NULL DEFAULT  '0',
                                                                categories_ms tinytext NOT NULL DEFAULT  '',
                                                                categories_name tinytext NOT NULL DEFAULT  '',
                                                                categories_subitems BOOLEAN NOT NULL DEFAULT  '1',
                                                                categories_subitems_no tinyint NOT NULL DEFAULT  5,
                                                                excluded_cats tinytext,
                                                                hide_future BOOLEAN NOT NULL DEFAULT  '1',
                                                                hide_protected BOOLEAN NOT NULL DEFAULT  '1',
                                                                hide_private BOOLEAN NOT NULL DEFAULT  '1',
                                                                related BOOLEAN NOT NULL DEFAULT '0',
                                                                related_name tinytext NOT NULL DEFAULT '',
                                                                UNIQUE KEY id (id)
                                                );

Note here that the table name “wp_awm” is assuming that all your WordPress tables have the “wp_” prefix. If they have another prefix you have to use the same for this new table.

Best Regards,
Kostas
Likno Customer Support
www.likno.com
Create any type of javascript menu (CSS menu, drop-down menu, sliding menu), button, html tree, modal window, tooltip, accordion, tab, scroller, jQuery slider or design for your websites!
Like us on Facebook – Follow us on Twitter

Reply From: User

Hi

I got this Sql Error

#1101 - BLOB/TEXT column 'pages_ms' can't have a default value

Thanks

Reply From: Likno Customer Support

Hello again,

Did you check if you can give the proper permissions to the WordPress installation? This would be the proper solution.

If you want to continue with the manual way, please try with this:

CREATE TABLE wp_awm (
                                                                id mediumint(9) NOT NULL AUTO_INCREMENT,
                                                                name tinytext NOT NULL,
                                                                active BOOLEAN NOT NULL DEFAULT  '0',
                                                                custom_menu BOOLEAN NOT NULL DEFAULT  '0',
                                                                custom_menu_id mediumint(9) NOT NULL DEFAULT  '0',
                                                                position tinytext NOT NULL,
                                                                type tinytext NOT NULL,
                                                                include_home BOOLEAN NOT NULL DEFAULT  '1',
                                                                pages BOOLEAN NOT NULL DEFAULT  '1',
                                                                pages_ms tinytext NOT NULL,
                                                                pages_name tinytext NOT NULL,
                                                                excluded_pages tinytext,
                                                                posts BOOLEAN NOT NULL DEFAULT  '0',
                                                                posts_ms tinytext NOT NULL,
                                                                posts_name tinytext NOT NULL,
                                                                posts_ids tinytext,
                                                                categories BOOLEAN NOT NULL DEFAULT  '0',
                                                                categories_ms tinytext NOT NULL,
                                                                categories_name tinytext NOT NULL,
                                                                categories_subitems BOOLEAN NOT NULL DEFAULT  '1',
                                                                categories_subitems_no tinyint NOT NULL DEFAULT  5,
                                                                excluded_cats tinytext,
                                                                hide_future BOOLEAN NOT NULL DEFAULT  '1',
                                                                hide_protected BOOLEAN NOT NULL DEFAULT  '1',
                                                                hide_private BOOLEAN NOT NULL DEFAULT  '1',
                                                                related BOOLEAN NOT NULL DEFAULT '0',
                                                                related_name tinytext NOT NULL,
                                                                UNIQUE KEY id (id)
                                                );

Again, note here that the table name “wp_awm” is assuming that all your WordPress tables have the “wp_” prefix. If they have another prefix you have to use the same for this new table.

Best Regards,
Kostas
Likno Customer Support
www.likno.com
Create any type of javascript menu (CSS menu, drop-down menu, sliding menu), button, html tree, modal window, tooltip, accordion, tab, scroller, jQuery slider or design for your websites!
Like us on Facebook – Follow us on Twitter

Tags: , , , , , , , , , , , , , , , , ,

 

Knowledge Base support case for AllWebMenus, abstracted and stripped of all user’s private info.


Initial Email From:
Gino
Initial Email Subject: Does your allwebmenus works with this?
Support Case Month: September 2012

I have this script to show / hide a large number of divs that contain information on different products.  Can this script affect the function  of your awm menus considering it works with css styles?

<script language=javascript type='text/javascript'>
        function showdiv(pass) {
            
var divs = document.getElementsByTagName('div'); 
            
for(i=0;i<divs.length;i++){ 
                
if(divs[i].id.match(pass)){//if they are 'see' divs
                   
if (document.getElementById) // DOM3 = IE5, NS6
                       
divs[i].style.visibility="visible";// show/hide
                   
else
                   
if (document.layers) // Netscape 4
                       
document.layers[divs[i]].display = 'visible';
                       
else // IE 4
                           
document.all.divs[i].visibility = 'visible';
                           

                    else {
                   
if (document.getElementById)
                       
divs[i].style.visibility="hidden";
                   
else
                   
if (document.layers) // Netscape 4
                       
document.divs[i].visibility = 'hidden';
                   
else // IE 4
                   
document.all.divs[i].visibility = 'hidden';
                   
}
             
}
        }
</script>

<script language="javascript">

<!-- function hideLayers(id) {
       
document.getElementById(id).style.visibility="hidden";
    
} // -->
</script>

Please try this script with your AWM and let me know if there is a problem.

I think that the show script will disappear your AWM, considering it hide any other div in the same page.

Please let me know how to work it out.

Regards

Gino

Reply From: Likno Customer Support

Dear Gino,

I see that your script accepts a parameter that is tested against the ID of each div and all divs but the matching one are hidden.

As AllWebMenus also shows/hides its divs, you just need to make sure that you do not hide them by accident.

To do this you need to change:

else

with:

else if(divs[i].id.substr(0,3)!="AWM")

as all the menu-generated divs have an ID that starts with the AWM prefix, the above should solve the problem.

Regards,
Kostas
Likno Customer Support
www.likno.com
Create any type of javascript menu (CSS menu, drop-down menu, sliding menu), button, html tree, modal window, tooltip, accordion, tab, scroller, jQuery slider or design for your websites!
Like us on Facebook – Follow us on Twitter

Tags: , , , , , , , , , , , , , , ,

 


© 2009-2013 Likno Blog – Drop-Down Menus, Javascript Menus, CSS Menus, jQuery Scrollers/Sliders, Modal Windows