solved seamless video listing issues

soaringeagle
@soaringeagle
11 years ago
3,304 posts
im creating a page that lists all video types and has 3 seperate lists
1 featured videos regardless of source
highest rated regardless of source
newest regardless of source

paul gave me clues for the rating wicch i havent tried yetr due to issues

i tried this code (wich was suggested in another thread but in the main customization forum not sitebuilder)

{jrSeamless_list modules="jrVideo,jrVimeo,jrYouTube" order_by="_created numerical_desc" pagebreak="5" page=$_post.p pager=true}
this should work but the results are
{jrSeamless_parse_template} required parameter "item" is missing {jrSeamless_parse_template} required parameter "item" is missing {jrSeamless_parse_template} required parameter "item" is missing {jrSeamless_parse_template} required parameter "item" is missing {jrSeamless_parse_template} required parameter "item" is missing 

so i tried copying the the jrvideo modules item_list.tpl code into my my_video.tpl in my skin with a search added
and as predicted i got the list of videos in the video module

so i thought the solution was if isset something that identifies it as part of that module use the item_list code from that module elseif ..etc

im very new to this smarty code and am figuring it out little by little

heres my template code as is (note i will also want each of the lists i create to paginate within the page using the js paging as that pagebreak pager true doesnt seem to work in sitebuilder custom built pages)

(snipped)

now i know its wrong and just need a lil help debugging my logic here i think i either need to remove the foreach etc within each section or ..maybe do that and in addition add a if isset($item
foreach item type wrapped around the whole code block?

please be patient with me im struggling to learn a whole new system and language ..and in just a few weeks ive learned a whole lot ..but still get very confused at times

so to summerize i need to use a seemless list in 3 widgets each ordering the list a diferent way each paginating within the page
i just cant get the logic down right to make the template work and imnot sure why its not working without a custom template



--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 12/22/16 11:55:59AM
brian
@brian
11 years ago
10,149 posts
I've just run this on my site here:

{jrSeamless_list modules="jrVideo,jrVimeo,jrYouTube" order_by="_created numerical_desc" pagebreak="5" page=$_post.p pager=true}

and it works as expected. Do you have a jrSeamless_item_list.tpl file in your skin directory? If so delete it.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
soaringeagle
@soaringeagle
11 years ago
3,304 posts
no jrseemless item list or jrseemless anything in skin
http://www.greentechnologyforums.com/videos
to be certain i re-copieed and pasted your code as is and this is the results


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
11 years ago
3,304 posts
problem solved
i found a modified seemless template causing the issue

i had removed that alloying h3 "youtube item" line but then after a seemless update the updates wernt applied to the template (wich the update seems to have removed the h3 too)
so simply resetting it fixed it

but would the pagination in page like ive used elswhere be basickly the same even with a seemless list...guess ill try it and see


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
brian
@brian
11 years ago
10,149 posts
soaringeagle:
but would the pagination in page like ive used elswhere be basickly the same even with a seemless list...guess ill try it and see

Yep - pagination works exactly the same as in jrCore_list - i.e. just add

pager=true

to the jrSeamless_list function call.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
soaringeagle
@soaringeagle
11 years ago
3,304 posts
thats not what i mean i mean the js pagination refresh within a page because if u have more then 1 list that paginates it screws everything up or doesnt work at all unless u use the js that paginates without leaving the page your on

try it
put 3 widgets on a page all same module but all with diferent ordering and try paginating 1 of them see what happens

u need the js that paginates without leaving that page
the other ways dont work and i cant figure out how to do it with seemless


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
brian
@brian
11 years ago
10,149 posts
At this time you will have to do a custom pager if you need the lists loaded via an AJAX call. We have a ticket open on this to get support into the core pager for doing AJAX loads, but it's not ready to go.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
soaringeagle
@soaringeagle
11 years ago
3,304 posts
thats what i thought and im just trying to work out the template logic
i geues if item module = jrvideo
vrvideo item code
elseif module is vimeo etc

but think it needs a foreach item
if item module

if i can figure out the logic i might..and i mmean might be able to peice it together


u say theres a ticket but not ready to go is there any progress at even an alpha or beta or has no work been done on it yet


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
brian
@brian
11 years ago
10,149 posts
soaringeagle:
u say theres a ticket but not ready to go is there any progress at even an alpha or beta or has no work been done on it yet

No work has been done on it yet - sorry!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
soaringeagle
@soaringeagle
11 years ago
3,304 posts
ok if i have someone i know whos a mega genius work on it is there any way she could get phone support if needed just for this special case (and reply privately by email if so)
only ask cause she works 17 hour days and has cancer lupus and ms so if shes working on it and needs a quick answer...i doubt she will run into anything she cant handle thouigh...just will be limited in the time she can spend on it and hunting for answers

i might give it a go wasting a few hours attempting to figure it out


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

Tags