Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • the1michaeljones Friend
    #196147

    I am trying to display JA AVtracklist on JA appolio, like it is in the JA Muzic template front page. I’ve set the modules and articles in JA Appolio just as it is documented to do for JA Muzic. In doing so, I cant get the module to display correctly in the parallax positions of JA Appolio. Does this have something to do with how the module is parsing the plugin? If so how can this be corrected? Is there a way to copy the features that made the tracklist work in Ja Muzic to JA Appolio? Could additional coding be required for simply putting a module into parallax? Any help or advice is appreciated.


    1. Screenshot-2014-03-24-01.47.47
    Saguaros Moderator
    #528208

    In JA Muzic, we add JA AVtracklist button into articles and use a module call JA Sidenews which will retrieves these articles and display in frontend (as can be seen in your screenshot). You can check out userguide: http://www.joomlart.com/documentation/joomla-templates/ja-muzic or install a demo site to learn more. If you want it looks the same as in JA Muzic, I’m afraid you will need to customise style yourself.

    the1michaeljones Friend
    #528296

    Thanks Saguaros, I guess a better question is what files and folders are associated with the tracklist on the front page? I figured I can copy them to start. I already have the JA AVtracklist plugins and they work. Ive also have the Ja Side News installed correctly with the titles of the tracks displaying and one song displaying the download and play buttons. I have copied a couple of module folders, but wondered what other files and folders might affect the tracklist? Will doing the following be a move in the right direction:

    + Copy entirely MuzicHelper class from templates/ja_muzic/templateHelper.php file and make the same within appolio

    + Copy muzic.php, muzic.xml and muzic_item.php files from templates/ja_muzic/html/com_content/category folder into appolio template.

    Any help is appreciated?

    Saguaros Moderator
    #528323

    Hi Michael,

    As mentioned in this thread, we use JA Tabs plugin to show JA Sidenews and Articles category modules in the home-feature-2 position:
    – Albums tab: loads the Articles category module which displays content (articles) from category called ‘Albums. In this JA Muzic template, we also provide a custom layout for this articles category module, the files are located in the templatesja_muzichtmlmod_articles_category path.

    Here is a sample setting for one article of ‘Albums’ category: http://prntscr.com/34ie2g

    – Audios tab: loads the JA Sidenews module which shows articles from category named Audios, the overridden file of this module in template stored in: templatesja_muzichtmlmod_jasidenews
    Here is sample setting for ‘Audios’ article: http://prntscr.com/34ieer

    Hence, what you need is to install above extensions into JA Appolio template, configure them as JA Muzic template user guide. A more complicated task for you is to check how these modules are styled in JA Muzic template and style for them in JA Appolio template.

    This proceed will take time and it’s beyond of support scope.

    the1michaeljones Friend
    #528677

    Thanks. I was able to get it to work, last week, by copying over a couple of Ja-Muzic module files and a Ja Muzic Css file The styles also worked out. My next problem is figuring out, in a general sense, how the titles link to an article page. I dont know if this is beyond your support scope or not, nonetheless, Thanks again.

    Saguaros Moderator
    #528891

    As I mentioned above, each title will be the title of article, right? Please make sure that article (or category that article belongs to) is assigned to a menu item so that when you click the title, it will direct to article details page.

    the1michaeljones Friend
    #531222

    Thanks for your help Saguaros, I was able to get the article to display by linking to a menu. 🙂 I was reading this thread http://www.joomlart.com/forums/topic/alternative-layout/ I would like to use the Buy On Amazon button and I found that the folder templatesja_muzichtmlcom_contentarticledefault-track.php along with the folder templates/ja-muzic/etc/form/com-content.article.xml held some of the code for the amazon button. I am curious about applying the button to Ja Appolio. What other files and directories are associated with the Buy On Amazon button in Ja-Muzic? Thanks again.

    Saguaros Moderator
    #531345

    You can follow this great tutorial about custom com_content to implement that Buy On Amazon button into JA Appolio template: http://www.joomlart.com/tutorials/joomla-tutorials/extending-your-joomla-com-content. This is a little bit complicated, below are some steps you can follow:

    1. Prepare extra fields:
    – Create extrafields folder and xml file: /templates/ja_appolio/etc/extrafields/appolio.xml
    – Here is content in this appolio.xml file:


    <?xml version="1.0" encoding="utf-8"?>
    <form>
    <fields name="attribs">
    <fieldset name="extra-fields" label="TPL_GROUP_EXTRA_FIELDS_LABEL" description="TPL_GROUP_EXTRA_FIELDS_DESC" group="extrafields">
    <field name="jcontent_amazonsell" type="text" default=""
    label="TPL_EX_URL_SELL_ON_AMAZON"
    description="TPL_EX_URL_SELL_ON_AMAZON_DESC" />
    </fieldset>
    </fields>
    </form>

    2. Assign this extrafields to the category that you want to have this button display in its articles.
    For example:
    – Category ‘Windows Phone’: http://prntscr.com/3b1po9
    – Article ‘Build a Mobile App for Better Customer Support’: http://prntscr.com/3b1q3f

    3. Add some snippet of code to load above extrafields into article content. Here are 2 files you need to edit:
    – templatesja_appoliotemplateHelper.php : you add function to load above parameter
    – templatesja_appoliohtmlcom_contentarticledefault.php : add script that calls above extrafield into any block you want to display button

    I attach these 2 files, you can compare with your original files to see the differences

    And here is the result: http://prntscr.com/3b1rp4

    4. You will need to custom style for this button as you want 🙂


    the1michaeljones Friend
    #531467

    Thank you very much Suguaros for your quick reply and the information. The info you offered is of great assistance as to how to accomplish applying the button and to gain an understanding on how such an operation works. I will dig in and give this a try and let you know how things go. Once again I thank you very much.

    the1michaeljones Friend
    #531832

    Saguaros, I’ve gotten it to work. It appears I had doubled up some code in the template helper file and I guess nothing shows up if the field isn’t filled out in the article manager. Nonetheless, I’ve gotten the button to show up, and actually go to Amazon. I thank you sincerely for your help and immense patience. Thanks again. 🙂

    Saguaros Moderator
    #531838

    Glad to be of help here 🙂

Viewing 11 posts - 1 through 11 (of 11 total)

This topic contains 11 replies, has 2 voices, and was last updated by  Saguaros 10 years, 7 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum