Forum
Welcome, Guest
Please Login to access forum.
Help with Data Source for Jomsocial Videos (1 viewing) 
Go to bottom
TOPIC: Help with Data Source for Jomsocial Videos
#122
David Ellison
Fresh Boarder
Posts: 2
User Offline
Help with Data Source for Jomsocial Videos Karma: 0  
I am having problems creating a sitemap from Jomsocial Videos. Any help or advice is much appreciated.

This example is what I am looking for in the links: http://www.websitedomain.com/video-gallery/913-help-desk/video/672-cliff-jumping-gopro-hero-3-hd-1080p-youtube-original

The setup I have now shows this for the links http://www.websitedomain.com/video-gallery/913-help-desk/video/?id=672
(this link just takes me to websitedomain.com/videogallery)

The current configuration is:
Specify component VIEW if needed for link: videos
Enter additional params for query string: task=913-help-desk/video/
Select from this table: community_videos
Select this field as TITLE used for link text: title
Select this field as ID needed for link: id

Any advice on how to get the links to look like this? Where after video you get /idnumber-title-of-video
http://www.websitedomain.com/video-gallery/913-help-desk/video/672-cliff-jumping-gopro-hero-3-hd-1080p-youtube-original
 
Logged Logged  
  The administrator has disabled public write access.
#123
John Dagelmore
Admin
Posts: 3722
User Online Now
Re:Help with Data Source for Jomsocial Videos Karma: 79  
Hi David,

by the way compliments because you have near found the right configuration for this data source.
I think the problem is that the field set as ID is not so called by JomSocial component, so instaed of ID it's probably named for example VID or something similar.
For this reason you get:
The setup I have now shows this for the links http://www.websitedomain.com/video-gallery/913-help-desk/video/?id=672

where is evident the untraslated chunk ?id=672

The better way to discover it, is disable for a while Joomla SEF rewriting and examine the raw query string used by JomSocial.
Once understood the parameter used as id, you can set an AS statement for that in the data source.
Finally if JomSocial uses a standard filed for alias activating the alias switcher should complete the work.

I try to attach a screenshot tobetter help you.

By the way if you have any need of on site help contact me at This e-mail address is being protected from spam bots, you need JavaScript enabled to view it and send me account to login.

Best regards

John
 
Logged Logged  
  The administrator has disabled public write access.
#124
David Ellison
Fresh Boarder
Posts: 2
User Offline
Re:Help with Data Source for Jomsocial Videos Karma: 0  
Thank you very much for your help.

Once I was able to see the raw query string I changed:
Enter additional params for query string: task=913-help-desk/video/

to

Enter additional params for query string: task=video&userid=913
and
Select this field as ID needed for link: id as videoid (with alias enabled)

and now everything works!
 
Logged Logged  
  The administrator has disabled public write access.
#125
John Dagelmore
Admin
Posts: 3722
User Online Now
Re:Help with Data Source for Jomsocial Videos Karma: 79  
Perfect,

Basically the secret is look at raw query string for every component disabling Joomla sef

This let you understand how to configure every kind of data source.
 
Logged Logged  
  The administrator has disabled public write access.
Go to top