After upgraded to

AdaptiveTheme 7.x-3.0-rc2+30-dev (2012-Jun-14)
AT Commerce 7.x-3.x-dev (2012-Jun-14)

Problems...
1. Notice: Undefined variable: show_slideshow_caption in include() (line 7 of /home3/insyncas/public_html/ifood/sites/all/themes/at-commerce/templates/field--field-slide.tpl.php).
But no matter how I change the slideshow-caption (with or without), the error message is still there...

2. Main-menu should appear the 2nd level menu items when mouse over, but not happening...only when the 1st level menu which include 2nd level menu is click, both level menus are displayed.

Thanks,
Sam

CommentFileSizeAuthor
#3 IMG_20120615_175807.jpg703.85 KBmubiesam

Comments

Jeff Burnz’s picture

I have no idea what you mean by "Main-menu should appear the 2nd level menu items when mouse over" - why would this be the expected behavior? Why do you think 2nd level links should automatically appear when you hover?

I know the other issue, I will update the theme shortly, I removed a function during testing and forgot to put it back before the last commit.

Jeff Burnz’s picture

Status: Active » Fixed

Fix has been committed to dev.

I had removed at_commerce_preprocess_field() during some testing, or some such reason and forgot it add it back, the most resent commit restores this function.

mubiesam’s picture

StatusFileSize
new703.85 KB

Please take a look of the attached screen capture from http://adaptivethemes.com/demos/atcommerce/

I saw you had uploaded a new Commits for AT Commerce: June 15, 2012 9:45, but seems it is not just upload to replace the existing template.php

Do you know where can I learn the procedure to upgrade the new commit...

Thanks,
Sam

Jeff Burnz’s picture

You have to wait about 24 hours after the commits are made, then you can download the new version from the project page. It takes some time for Drupal.org to "build" the new download archive.

When its updated, just download it and overwrite your current version, then clear the sites cache and save the theme settings for AT Commerce.

The best way to get the latest updates is to use GIT and pull directly from the GIT repo. The instructions for doing this are on the project page under the "Version control" tab.

mubiesam’s picture

Upgraded to...
AdaptiveTheme 7.x-3.0-rc2+36-dev (2012-Jun-17)
AT Commerce 7.x-3.x-dev (2012-Jun-15)

Clear the cache, But the problem is still there...
Notice: Undefined variable: show_slideshow_caption in include() (line 7 of /home3/insyncas/public_html/ifood/sites/all/themes/at-commerce/templates/field--field-slide.tpl.php).

It will take me some more time before I can use GIT...

Thanks,
Sam

mubiesam’s picture

Don't know why, after setup another module (fb), maybe run the update, the problem seems solved...

Anyway, thanks!
Sam

Jeff Burnz’s picture

Sounds like the cache didn't clear properly first time around, when you install a module Drupal fires a clear cache all, that's what would have done the trick.

Thanks for the update, cheers!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

mubiesam’s picture

Status: Closed (fixed) » Active

The same error message happened again...
AdaptiveTheme 7.x-3.0-rc6+17-dev (2012-07-07)
AT Commerce 7.x-3.x-dev (2012-07-07)

Notice:Undefined variable: show_slideshow_caption 於 include() (/home3/insyncas/public_html/ifood/sites/all/themes/at-commerce/templates/field--field-slide.tpl.php 中的第 7 行)。
Notice:Undefined variable: show_slideshow_caption 於 include() (/home3/insyncas/public_html/ifood/sites/all/themes/at-commerce/templates/field--field-slide.tpl.php 中的第 7 行)。
Notice:Undefined variable: show_slideshow_caption 於 include() (/home3/insyncas/public_html/ifood/sites/all/themes/at-commerce/templates/field--field-slide.tpl.php 中的第 7 行)。

Jeff Burnz’s picture

Status: Active » Fixed

I found the issue in the latest version, a bit of code was not pushed, I have pushed this up now to DEV (you can get it from git or wait for the download to update, takes around 24 hours). You will need to clear the cache once you have the new code.

You can fix this immediatly by putting this in the template.php file for at-commerce:

/**
 * Override or insert variables into the field template.
 */
function at_commerce_preprocess_field(&$vars) {
  // Vars and settings for the slideshow, we theme this directly in the field template
  $vars['show_slideshow_caption'] = FALSE;
  if (at_get_setting('show_slideshow_caption') == TRUE) {
   $vars['show_slideshow_caption'] = TRUE;
  }
}
mubiesam’s picture

done, thanks, Sam

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.