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:
Mark
Initial Email Subject:  Location of site root folder
Support Case Month: July 2013

Guys,

To avoid two stepping, we are compiling directly to a target web folder.  That folder is on a web share that we would like to map using UNC mapping, but the site root folder utility won’t let us use UNC mapping.

We are hosting the saved .awm files on a file share.  A group of developers (each with their own local install of your software) opens the .awm files to modify, but the way that this is currently working we have to make sure that every developer that uses the .awm file has the target web share mapped to the exact same drive letter (W: in the example).

It would be far better for us if we could enter the target drive using UNC format to make the mapping universal rather than as a drive letter.

site root folder network drive

Mark

Reply From: Likno Customer Support

Hello Mark,

I understand what you mean, I will forward this to the developer in charge. He is on vacation this week, so I will have news next week on that.

Are you sure you cannot see the network folders under the "Network" option?

See below for example, how I chose the "\\Leonardo\_temp" UNC folder when I clicked the "edit" link:

network path as site root folder

Also, there is an alternative way to do this.

Enter an arbitrary local Site Root folder, save the project, close AllWebMenus and open the .awm in a text editor. Search for that arbitrary Site Root folder:

manually change the network path for site root folder

… and replace it with your UNC.

Best Regards, 
Aris
Aris
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: 404 errors after compiling
Support Case Month: July 2012

When compiling the menu for site www.bucband.org I am receiving 404 errors when selecting one of the menu picks.  Before compiling I set the Site Root to C:\\Users\\MikePC\\Documents\\My Webs\\bucband .  Now when I compile the menu and copy the menu2.js file up to the domain host, I end up getting 404 errors.  When I select a menu link, instead of getting (for example) http://www.bucband.org/boosters/overview.htm , I get instead:
http://www.bucband.org/Mike/Documents/My%20Webs/bucband/boosters/overview.htm .  When I revert back to a previously generated menu I don't get this problem.

Appears that there is a relative versus absolute referencing problem here.  Can you suggest a solution ?

Reply From: Likno Customer Support

Hello,

When you changed the Site Root, you were asked if you wanted to “correct” the links. You pressed yes, and the application assumed that the Site Root was also changed online, which was not true I guess.

Currently your links point to the wrong direction. For example your “announcements” link points to:

../../../../Mike/Documents/My Webs/bucband/upload/announcements.shtml

When it should be pointing to:

/upload/announcements.shtml

You need to correct this in AllWebMenus. If you have a copy saved before the Root Folder change, it would save you some time. Note that you may also find such an automatic backup under:

"c:\Users\<user name>\AppData\Roaming\Likno Software\AllWebMenus\AutoBackup\.."

Alternatively, I would suggest that you use the “External Multi Editing” tool in order to mass-edit your links in Excel and save time.

menu external multi editing option

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:
Steve
Initial Email Subject: Menu attempts to link to local storage (site_root) address
Support Case Month: September 2012

I've made a change recently that now has menu items (in the horizontal top menu) referring to my local storage location, but I don't know what I've done.

Can you point me in the right direction?

Thanks in advance.

Steve

Reply From: Likno Customer Support

Dear Steve,

I checked your site but did not see such a problem! Did you correct the problem in the meantime?

If the problem is only in your pc, please note that several of your links are relative so if you see the menu in local pages it will point to other local pages (but online it will point to online pages).

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: Steve

Thanks for your quick reply!

I did manually correct each of the menu links, as they contained references to the local site root, but it would be great if you could help me to understand my error in inadvertently putting them in.  Could this have occurred in the compile function?

Thanks again for your great customer service and help with this issue.

Steve

Reply From: Likno Customer Support

Dear Steve,

When you say that you manually corrected the links, do you mean in the compiled file?

You should never directly edit the compiled file for two reasons:

1) it is very easy to do a mistake and render the menu fully unusable

2) every time you compile your menu, any changes you made will be lost and any error you “corrected” will reappear

If the problem was in the menu project (in the application) then this most likely occurred when you selected the link page.

If your “root folder” is in a different drive than the page you want to link, then the full path (including the drive letter) will be included.

Another thing that can produce “bad” links is if you move your whole site and change the site root (to a different drive). In this case if you select “update links” it will actually spoil them. If the whole site is moved then you should NOT choose to automatically update the links.

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: , , , , , , , , , , , , , , ,

 


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