By Tyler Starke on Friday, 08 November 2013
Posted in General Issues
Replies 5
Likes 0
Views 594
Votes 0
Hi. I am working on modifying RokStories (it's legacy) to work with EasyBlog. I'm not a total newb with PHP, however I don't fully understand Joomla's software structure.

I've currently modified the rockstories module to include an option to switch to EasyBlog and retrieve EasyBlog posts. I've also modified the RokStories module to correctly link to the blog post, and retrieve the image included in the intro text. So that part is completed.

I've duplicated the rokmodulecheck.php file and renamed it easyblogcheck.php with modifications, allowing RokStories to run a check for EasyBlog. I am however stumped with the mod_rokstories.xml file that is used to build the JFormField view.

I would like some help with the JFormField view so my modification can check for EasyBlog, and then give me the a list of options to choose from Bloggers, Categories, or Latest. From there I would like the JFormField view to provide a list of options based on the previous choice, ie a list of bloggers, a list of categories, or no list when latest is chosen.

As I've stated before, I am 'comfortable' with PHP ... I just need help with Joomla's structure. Can anyone help me with this issue? Also, I am running this on a localhost currently. I don't have a live site running right now.
Hello Tyler,

So sorry for the delay in getting back to you. The customisation you are requesting needs to be done on RokStories and not EasyBlog. I suggest that you contact RoKStories developer to have this done. Besides that we are also currently very tied up in development work so we would not be able to help you out here.

Thanks!
·
Friday, 08 November 2013 20:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok, Adelene.

I guess I don't really need the help, it was just a time saving request. I am not very comfortable with Joomla's structure, but I see now how I can add information to the JFormField without modifying EasyBlog. I will just make a php file in the fields folder that returns the information I need from EasyBlog. I think the biggest time sink for me will be the Javascript I probably need. I am not at all familiar with Javascript.
·
Saturday, 09 November 2013 01:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Tyler,

I am really sorry for the delay of this reply as it is a weekend for us here. I am sorry but I am not too sure if I understand you here but are you trying to add in additional parameters on the rokstories module? I am assuming that you probably need to add some custom fields using the JFormField like you have mentioned. But you will probably also need to customize this in Rokstories php portion.
·
Sunday, 10 November 2013 02:57
·
0 Likes
·
0 Votes
·
0 Comments
·
No worries, Mark. It took me some time to learn how to return the proper JHtml execution to provided a selection input that works with JFormField. I do have an addition to RokStories that I can use now.
·
Sunday, 10 November 2013 03:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for the heads up on this Tyler
·
Thursday, 14 November 2013 02:49
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post