loadposition not working

greengeek
greengeek
Offline
0
germi,

How can I get the loadposition to work on the artist, album, and song pages? It appears only to be working on the MC main page.

I am trying to do the {loadposition xx} on the other pages, but it shows the text instead of actually loading any module that I put there :(

What is needed to allow the Process content plugins to work on the Artist Review, Album Review, and Song Review fields, maybe even the lyrics field? I am finding that not having this option work is extremely limiting my ability to do both basic and advance features within MC that I am currently able to do through the rest of joomla and in most other components!

Please advice. Thank you.
Responses (3)
  • Accepted Answer

    Thursday, June 06 2013, 10:09 AM - #Permalink
    0
    the other pages are not processed (through the plugin system) to use the loadposition.

    if you're ok with coding a bit, then what I would suggest is that you pretty much "copy/paste" the code of the /artists/view.html.php file that processed the plugins and put it into the artists/albums etc review field..
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Thursday, June 13 2013, 03:37 AM - #Permalink
    0
    Hmm, I do not understand what changes I need to make to get it to work that way. Copying and pasting the code directly in did not work.

    I tried this suggestion:
    http://docs.joomla.org/triggering_content_plugins_in_your_extension
    and was able to get it to work.

    I was able to get the artist page to work by adding the content.prepare to where it calls the review in the common.php page and have got the album page working as well so far by doing the same to the default.php file.
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Thursday, June 13 2013, 03:57 AM - #Permalink
    0
    The reply is currently minimized Show
Your Reply