Buttons are not shown in the template that is created by Artisteer

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
1/4/2012 12:39:38 PM
Gravatar
Total Posts 5

Buttons are not shown in the template that is created by Artisteer

Hi,

I created 2-3 templates by Artisteer and everything is just fine except the buttons and the navigation bar that must be displayed under the header flash object.

Only the texts in the buttons are shown and there is no square shaped buttons around the text, so it is hard to find them. But interestingly you can click the text and they work!

No matter how hard i tried, I could not figure out the problem. Could you please help me.

Cheers,

David

1/4/2012 3:02:03 PM
Gravatar
Total Posts 29

Re: Buttons are not shown in the template that is created by Artisteer

Hi,

I've been faced with the same problem and it's really a pain.  I think it's related to a combination of things but I've had to make lots of stitches to make it work properly.  Here is a simple example of what I did:

In this case, this is a simple link that is on my page content (that looks like a button - designed with Artisteer):

Notice the Code generated from the index.html page from artisteer:

<span class="art-button-wrapper"><span class="art-button-l"> </span><span class="art-button-r"> </span><a class="art-button" href="mylink.aspx">Continue...</a></span>

The first time you copy and paste this html code into your mojoportal content page, it saves and should display fine.  However, if you edit your content again (depending on which content editor your site is using - can't remember what I'm using - whatever is the default) - it automatically deletes part of the "Span" tags that give your link (button) it's appearance.

Resulting code - edited with content editor in mojoportal:

<span class="art-button-wrapper"><a class="art-button" href="mylink.aspx">Continue...</a></span>

This gets deleted: <span class="art-button-l"> </span><span class="art-button-r"> </span>

Note that some of those inner-span tags were deleted by the text editor.  So the next time you save your content, it will save with the incomplete tags needed that give your button it's nice graphic appearance.  So the only way I've found to fix this, is to go into my index.html code generated from Artisteer and grab the full span tags and re-paste them in my content editor each time I need to change any content on the page that has this button.

I've also had to edit the layout.master page with hard-coded main menu links because mojoportal does not generate similar html like Artisteer does for certain 'looking' menu buttons.  I'm hoping that the latest version of mojoportal fixes this.

Hope this helps.

- Mike

1/4/2012 3:10:26 PM
Gravatar
Total Posts 18439

Re: Buttons are not shown in the template that is created by Artisteer

Hi David,

If you are using Artisteer 3.1 and mojoPortal 2.3.7.6, you can email me your .artx file at

joe dot audette at g mail dotcom

and I'lll take a look at it in the morning and see if I can be of help.

I can't be of much help with older versions of Artisteer.

Best,

Joe

1/23/2012 7:44:36 AM
Gravatar
Total Posts 220

Re: Buttons are not shown in the template that is created by Artisteer

Hi Joe,

I think I have the same problem.

I've made an update to 2.3.7.6.
First I created a new skin with Artisteer 3.1.
As I had no success with the buttons in mojo, I've tried the included skins:
All included artisteer skins are displayed correctly only in the preview.
If I change the skin and save the setting, the menu bar is not shown up correctly.
As an example, just look on here: http://www.zisign.de

Best Matthias

I've just tested another site (2.3.7.6.) on another server.
In the preview everything is fine. If the skin is selected and stored, no buttons in the menu bar.

1/23/2012 9:29:37 AM
Gravatar
Total Posts 18439

Re: Buttons are not shown in the template that is created by Artisteer

Hi Matthias,

It sounds like the theme cache is not getting cleared. Can you try recycle the app pool and see if that solves it?

I've done some work recently to make sure different cache keys are used, so it should work better in the next release coming very soon.

Best,

Joe

1/24/2012 5:41:28 AM
Gravatar
Total Posts 220

Re: Buttons are not shown in the template that is created by Artisteer

Hi Joe,
thanks for the reply.
I can manage the sites using "Plesk" and I have only the option to stop the IIS application pool of the site and start it again (or reset). But this does not solve the problem.

Now I realize that he problem also occurs with jquerui-1 ...
You can see it here: http://www.nett.de/home.aspx

Best
Matthias

P.S. The very old skin I made on base of a styleshout skin, is still shown correctly.

1/24/2012 8:45:20 AM
Gravatar
Total Posts 18439

Re: Buttons are not shown in the template that is created by Artisteer

Hi Matthias,

Is your hosting .NET 4 or .NET 3.5?

Is it medium trust or full trust?

Is it a multi site installation?

Are you just assigning skins from site settings or also from page settings?

Best,

Joe

1/25/2012 7:19:23 AM
Gravatar
Total Posts 220

Re: Buttons are not shown in the template that is created by Artisteer

Hi Joe,

Best
Matthias

P.S.: I've never tried this before, but now I've found that I can not save another skin in the second site of the multi site installation, although I can select one.

1/25/2012 7:27:08 AM
Gravatar
Total Posts 18439

Re: Buttons are not shown in the template that is created by Artisteer

Hi Matthias,

Unfortunately we cannot control trust level by web.config or user.config, if the host is using medium trust it is medium trust and nothing can change it. Look under Administration > System Information

Does it say Full Trust there or Partial Trust?

VirtualPathProviders do not work under .NET 3.5 Medium Trust which means it cannot load the theme.skin file from the skin folder. You would need to copy it from the skin folder into /App_Themes/Default 

This means in a multi site installation all sites will use the same theme.skin file which can be a problem if they need different settings.

I recommend everyone to use .NET 4 hosting because even with medium trust the VirtualPathProvider can work under .NET 4

See also the notes at the bottom of the page Understanding the theme.skin file

Another good reason to change to .NET 4 is because when .NET 4.5 ships later this year we will most likely drop support for .NET 3.5 and support only .NET 4 and .NET 4.5.

Hope that helps,

Joe

1/25/2012 7:29:34 AM
Gravatar
Total Posts 18439

Re: Buttons are not shown in the template that is created by Artisteer

P.S.: I've never tried this before, but now I've found that I can not save another skin in the second site of the multi site installation, although I can select one.

Are you getting an error when saving site settings? If so see this thread.

Hope that helps,

Joe

1/25/2012 9:48:27 AM
Gravatar
Total Posts 220

Re: Buttons are not shown in the template that is created by Artisteer

mojoPortal Version 2.3.7.6 MySQL
Betriebssystem Microsoft Windows NT 6.0.6001 Service Pack 1
ASP.NET-Version v2.0.50727 Running in Full Trust

Nevertheless, I have copied the theme.skin file from the skin folder into /App_Themes/Default, and now (as far as I can judge; knock on wood) the problems are gone (and not only for that particular skinSmile).

There is no error message, but right now I need no other skin for the English version. I'm waiting for .NET 4. The change will probably take place in February. Please cross your fingers!

Thanks and cheers Matthias

You must sign in to post in the forums. This thread is closed to new posts.