adjustment in album title

onne
onne
Offline
0
Hi,

I need an adjustment for SE purposes. They way i setup the albums my title will display ARTIST - ALBUMNAME - ARTIST
(example http://www.rapsearch.com/mixtapes/d/155-duffle-bag-boyz/573-duffle-bag-boyz--two-gunz-up-hosted-by-dj-scream.html)

Now i would like the last artist part to display FREE MIXTAPE. It can be hard coded since it will apply to all albums i have in my database.

I did some searching and found /components/com_muscol/views/album/tmpl/default.php right?

in there i see the title part but its all function and i'm not really a coder. Can you help out removing the dynamic part en make it the hard coded text i need? Or am i looking in the wrong file?
Responses (8)
  • Accepted Answer

    Tuesday, October 04 2011, 09:42 AM - #Permalink
    0
    it's not really that file, it is /components/com_muscol/views/album/view.html.php

    search for the $document->setTitle( statement.
    there you can add the Free mixtape part
    The reply is currently minimized Show
  • Accepted Answer

    onne
    onne
    Offline
    Tuesday, October 04 2011, 11:49 AM - #Permalink
    0
    got it! Thanks
    The reply is currently minimized Show
  • Accepted Answer

    onne
    onne
    Offline
    Wednesday, October 05 2011, 12:58 PM - #Permalink
    0
    I need one more Germi,

    Whats the file that contains the artist page title? (ex. http://www.rapsearch.com/mixtapes/l/164-lil-chuckee.html) i want to adjust that as well as it only displays the name right now.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, October 05 2011, 06:15 PM - #Permalink
    0
    very similar to album, but with artist! :)

    /components/com_muscol/views/artist/view.html.php

    again, look for

    $document->setTitle(

    Germi
    The reply is currently minimized Show
  • Accepted Answer

    onne
    onne
    Offline
    Wednesday, October 05 2011, 06:44 PM - #Permalink
    0
    Hehehe... i could have known that ;)

    Thanks my man. I'm SE ready now!
    The reply is currently minimized Show
  • Accepted Answer

    onne
    onne
    Offline
    Thursday, May 24 2012, 06:25 PM - #Permalink
    0
    Hi Germi,

    Got a new question on this issue... When i modify as explained above the title in the browser is changed perfecty...

    But when i look at my source code i see "meta title" which is still the old way?? This is used for example on facebook shares and i prefer my updated title there.... can that be done?
    The reply is currently minimized Show
  • Accepted Answer

    onne
    onne
    Offline
    Tuesday, May 29 2012, 12:24 PM - #Permalink
    0
    Hi Germi,

    I hope you can find a little time to update me on this.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, May 29 2012, 04:43 PM - #Permalink
    0
    hello Onne!
    well as far as I know the metaTitle is not setted there (is picked automatically by Joomla)
    so if you actually want to set it your way too, you need to actually make a new call to the $document object to set a specific metadata tag for your use. do you know what I mean?
    I don't know the exact syntax on that, you should look for it on api.joomla.org (and look for the JDocument or JDocumentHTML class specification)
    The reply is currently minimized Show
Your Reply