CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Artisteer Dynamic Menu not pulling URL

Print topic Send  topic

Author Message
beevet

Posts: 47
Posted: 03/01/2011, 3:22 PM

I just bought Artisteer (2.6) and am playing with getting it set up. On the exported project, the vertical menu page, I reset the connection and fields available (menu_id, menu_parent_id). It reads the menu_name from the database, but I cannot seem to get it to pull the href. There is nowhere I see to tell CCS that the field is named menu_link.

I can build a menu right under it using the CCS menu builder and the same database, and it works, but is ugly.

Any ideas where the href should get pulled up or how to fix it? I tried looking through the html and code, but cannot seem to find where exactly it should be called from ( I can change the database if I cannot change the field as delivered from Artisteer).

Thanks,

Chris
View profile  Send private message
datadoit
Posted: 03/01/2011, 5:13 PM

Chris I would recommend deleting the menu and building it from scratch
in CodeCharge.

Go into HTML mode, and find where the menu begins. Right click and
delete it from there. Then from that point in the HTML, choose the menu
builder and build yourself a new one. Don't mess with any of the HTML
generated by Artisteer such as <div class="art-menu">.

It's just easier and quicker when going from static menus to dynamic
menus to delete and build.
datadoit
Posted: 03/01/2011, 5:14 PM

Also log into your Artisteer account and upgrade to v3 beta. Much improved.
beevet

Posts: 47
Posted: 03/03/2011, 4:41 AM

Data,

Thanks for the reply. I am into 3 days now waiting for Artisteer to reply.

I have tried this, but I don't seem to be able to pull in the formatting provided by Artisteer. To me, it looks like all of the menu on the HTML tab is HTML except the CCS menu has different variable in the li tag and a different variable for a ul class. In both, there also seems to be an extra closing tag </li>.

When you say to not mess with the HTML generated by Artisteer, what exactly are you leaving? Do you end up with the menu as it looks in Artisteer with the functionality that CCS provides? Can you give me a before and after shot of putting in the menu? I can seem to make the menu look like Artisteer without the functionality or have the functionality looking like CCS.

Thanks,

Chris
View profile  Send private message
datadoit
Posted: 03/03/2011, 5:40 AM

First, make sure you have this in your menu page AFTER all references to
other stylesheets and javascripts:

<script language="JavaScript" src="{page:pathToRoot}js/menu/ArtMenu.js"
type="text/javascript"></script>

Remove any reference to a CCS style:

<link rel="stylesheet" type="text/css"
href="{page:pathToRoot}Styles/{CCS_Style}/Style_DocType.css" />

Then, your menu element should look similar to:

<!-- BEGIN Menu MainMenu -->
<div class="art-nav" id="TopMenuMainMenuContainer">
<div class="art-nav-l">
</div>

<div class="art-nav-r">
</div>

<div class="art-nav-left">
<ul class="art-menu">
<!-- BEGIN Item -->
<!-- BEGIN OpenLevel -->
<ul>
<!-- END OpenLevel -->
<li><a href="{ItemLink_Src}" class="{MainMenu:Submenu}"
target="{MainMenu:Target}" title="{MainMenu:Title}">{ItemLink}</a>
<!-- BEGIN CloseItem --></li>
<!-- END CloseItem -->
<!-- BEGIN CloseLevel -->
</ul>
</li>
<!-- END CloseLevel --><!-- END Item -->
</ul>

</div>

</div>
<!-- END Menu MainMenu -->

Removing any references to styles in the <ul> and <li> tags. Those are
CCS styles that do not jive with Artisteer styles. As a general rule,
if you do link to a CCS stylesheet, link to the Artisteer stylesheets
afterwards (cascaded), so that the Artisteer styles will win where there
are conflicts.

Sample with Artisteer menus and styles: http://www.knowyourchoices.org
beevet

Posts: 47
Posted: 03/03/2011, 2:14 PM

Thanks,

I did get this working right now, except it does not display all of the children. It shows the first set, but not any after that. It also does not show children of children. The CCS menu will, but not the formatted menu.

Chris
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.