chris.paschen
Chris Paschen
I've been trying to get the slideshow visualization to work for a particular need - a simple slideshow 'box' on the main site page that displays a rotating batch of images (in this case song covers) based on some filtering rules.
I was able to get the slideshow to display the images without problem; however, the links to the items won't actually link to the entries in the table (and show a details view). Instead, it 'appears' that they are getting the path messed up a bit.
You can see a sample here:
http://grandmesamusic.com/sample-new-cover
It's taking me to a details page, but it has not data.
The link that is provided is this:
http://grandmesamusic.com/sample-new-cover/details/15/632
The "15" is the proper form for this list.
And there is an item 632 (and it matches the image).
And when using debug, it looks like the data is there. In the 'form:getData from querying rowid= 632 (form not in Mambot and no errors)' area I see:
So I'm guessing that it's just not 'available' to my customized layout file.
Which is trying to access the elements like this:
IS this just a wrong syntax in my template?
If so, can someone point me to the proper syntax to grab the data?
ALSO ... does anyone know how to get the slideshow visualization to appear within a module position?
I need to create a slideshow on several other pages (including other extension content pages).
If that's not possible, does anyone know of any slideshow module that will pull images from a table, along with the title and a link (even if I have to manually create links back to the items using a calc element)?
I was able to get the slideshow to display the images without problem; however, the links to the items won't actually link to the entries in the table (and show a details view). Instead, it 'appears' that they are getting the path messed up a bit.
You can see a sample here:
http://grandmesamusic.com/sample-new-cover
It's taking me to a details page, but it has not data.
The link that is provided is this:
http://grandmesamusic.com/sample-new-cover/details/15/632
The "15" is the proper form for this list.
And there is an item 632 (and it matches the image).
And when using debug, it looks like the data is there. In the 'form:getData from querying rowid= 632 (form not in Mambot and no errors)' area I see:
Code:
Array
(
[0] => stdClass Object
(
[gmm_songs_songs___id] => 632
[gmm_songs_songs___id_raw] => 632
[gmm_songs_songs___score_price] => 8.00
[gmm_songs_songs___score_price_raw] => 8.00
[gmm_songs_songs___featured] => 1
[gmm_songs_songs___featured_raw] => 1
[gmm_songs_songs___typeID_raw] => 1
[gmm_songs_songs___typeID] => Concert Band
...etc...
So I'm guessing that it's just not 'available' to my customized layout file.
Which is trying to access the elements like this:
PHP:
$gmmSongs = $this->groups['Songs-DISPLAY'];
$gmmSongsElements = $gmmSongs->elements;
$ScorePrice = sprintf("$ %s", $gmmSongsElements['score_price']->element_raw);
$featured = $gmmSongsElements['featured']->value;
$song_type = $gmmSongsElements['typeID']->element_raw;
... etct...
IS this just a wrong syntax in my template?
If so, can someone point me to the proper syntax to grab the data?
ALSO ... does anyone know how to get the slideshow visualization to appear within a module position?
I need to create a slideshow on several other pages (including other extension content pages).
If that's not possible, does anyone know of any slideshow module that will pull images from a table, along with the title and a link (even if I have to manually create links back to the items using a calc element)?