Artisteer 2.1.0.15753 - Cant delete content or blogs


Author Message
Patrick Visser

Posted: 4/8/2009
Quote message 

Hi there my friends. I noticed that after installing the New version Artisteer 2.1.0.15753 - I Can't delete content or blogs anymore. I installed the new version, created a new Theme and bingo. Cant delete. Try what i DiD

1. Edit a story, blog, or else.
2. press the button Delete.

Now you see that its bringing you back with the message, "Successful Edited ". Normaly you have to confirm the deletion bu now it not asking to confirm nor delete it.

Please advice.
 
Clare

Posted: 4/8/2009
Quote message 

Have you tried the old favourite of logging out and then back in again?
I had deleted an image yet it was still showing up on the page. Logging out, closing down the browser and starting every thing up again fixed it!


 
Clare

Posted: 4/9/2009
Quote message 

Hmm. I'm having the same problem now I'm on the latest version.

The only way I've been able to delete content is by changing to one of the standard themes, deleting the content and then switching back to my Artisteer created theme.

Hardly ideal but useful to know as a work around until the issue is fixed.
 
Gordon

Posted: 4/9/2009
Quote message 

Try using a your old artisteer version theme for your administration theme and allowing it to be used by all users for editing there content.
 
Gordon

Posted: 4/9/2009
Quote message 

Hi,

I tired to the delete the content twice in a row and it worked the second time.
 
GSP

Posted: 4/9/2009
Quote message 

There's certainly something strange going on with forms - I've spotted this error in a couple of places where clicking a button to submit a form results in it performing a completely different action.

For example, updating content results in it being deleted, or attempting to create a new menu item results in it calling the delete action.

Switching to a default theme, I can update my content fine.
 
Curved Light Solutions

Posted: 4/11/2009
Quote message 

Just posted another thread on what seems to be the same issue :(

I understand the workaround of using a stock drupal theme for me as admin but this will not work for other users /contributers.

Question- Is this bug JUST in the lastest version? in other word have the buttons ever worked properly ?

FYI : this is holding me back from pulling out the credit card and buying the product - and I so want to take the plunge

Ken
 
shatteredtruth

Posted: 4/11/2009
Quote message 

I bought the full version in good faith, and although you can create some really unique interfaces with ease the drupal core functionality in many areas is compromised. for the price of the application these themes should work right out of the box.

I am a bit disappointed but have hope these guys will be vigilant in addressing all the issues. Better feedback in the forum would also be a plus.

Thanks


 
Curved Light Solutions

Posted: 4/12/2009
Quote message 

Did some debugging and found the offending function that causes the form buttons not to opperate correctly.

File: template.php
Function: YourTemplateName_button

It was the last function in the file.

My theme was called ArtisteerTest .... and here is the function

 

/**
* Theme a form button.
*
* @ingroup themeable
*/
function ArtisteerTest_button($element) {
// Make sure not to overwrite classes.
if (isset($element['#attributes']['class'])) {
$element['#attributes']['class'] = 'form-'. $element['#button_type'] .' '. $element['#attributes']['class'];
}
else {
$element['#attributes']['class'] = 'form-'. $element['#button_type'];
}

return
'<button type="submit" class="Button" '. (empty($element['#name']) ? '' : 'name="'. $element['#name']
.'" ') .'id="'. $element['#id'].'">'
.'<span class="btn">'
.'<span class="l"></span>'
.'<span class="r"></span>'
.'<span class="t">'.check_plain($element['#value']).'</span>'
.'</span></button>';
}


IF you comment out the funtion the buttons work correctly- but they do not get styled :) - hopefully the developers can fix this ASAP.

Now I can go to sleep :)

Ken
 
GL

Posted: 4/13/2009
Quote message 

Quote Curved Light Solutions:

Did some debugging and found the offending function that causes the form buttons not to opperate correctly.

File: template.php
Function: YourTemplateName_button

It was the last function in the file.

My theme was called ArtisteerTest .... and here is the function

IF you comment out the funtion the buttons work correctly- but they do not get styled :) - hopefully the developers can fix this ASAP.

Now I can go to sleep :)

Ken


agreed, I had exactly the same problem and found the above temporary solution too (using drupal 5.x)
 
CurvedLightSolutions

Posted: 4/13/2009
Quote message 

I got a fixed version from the developer. In another thread I posted the corrrected code that the new version generated.

If your replace the code it seems to work

Ken

Also using Drupal 5.x