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

1/26/2012 5:43:29 AM
Gravatar
Total Posts 220

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

I forgot to mention something. During the setup no new skins have been copied from Data/Skins into Data/Sites/1/skins. There were only the old skins shipped with the previous version. Therefore, I copied and pasted the new skins.

1/26/2012 10:45:40 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

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

Yes, mojoPortal upgrades don't touch anything under data/sites/* during upgrades, because of the risk of overwriting something, so as you found you'll need to manually update existing skins and replace any untouched delivered skins from data/skins.

Jamie

1/26/2012 1:07:05 PM
Gravatar
Total Posts 18439

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

Hi Matthias,

Thanks as always for the beers!

You might try upgrading to the new relesase that shipped today and see if it works better.

Jamie is right that we never upgrade the skins in the site specific skin folders so if you are using the default skins you'll need to re-copy those after each upgrade.

Best,

Joe

1/27/2012 4:59:07 AM
Gravatar
Total Posts 220

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

Hello Jamie, hello Joe, thank you. I will upgrade in the next week and then report.

Regards Matthias

2/2/2012 9:22:02 AM
Gravatar
Total Posts 220

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

Hello,

after upgrading to 2-3-8-1 the world is almost back in order for a short time.
The previously described error appeares only on one page, on jqueryui-1 : admin menu / site settings.
All other pages of the admin menu are o.k. and I view the little mistake as a small sacrifice to Murphy Wink

Best
Matthias

P.S.: Now the drop down menu of jqueryui-1 fails. Greetings from Murphy Laughing

 

2/2/2012 9:39:40 AM
Gravatar
Total Posts 18439

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

Hi Matthias,

Did you copy jqueryUI-1 from /Data/skins into /Data/Sites/1/skins?

Best,

Joe

2/4/2012 7:26:19 AM
Gravatar
Total Posts 220

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

Hi Joe,

yes, I did that and today all over again.

Now you can see the error in the entire administration area, but on the other hand I can change the skin again Laughing

Best
Matthias

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