Some SEF issues ...

Siasb
Siasb
Offline
0
Hi Germi,

I am using the standard Joomla SEF setting for the site that I am developing. When I set the menu link to access the component through say Artist view by setting it to a specific Artist.
It makes a URL in this format:


http://www.mysite.aaa/showcase/songwriters-collection.html">www.mysite.aaa/showcase/songwriters-collection.html



Where the menus structure is: showcase (main menu) , and songwriters collection (submenu).

Then when we click on the specific letter cathegory in the breadcrumbs say M, we get the following URL with list of artists:


http://www.mysite.aaa/showcase/songwriters-collection.html">www.mysite.aaa/showcase/songwriters-collection.html?view=artists&letter=M



If we go to the song view of an artist and then go to an individual song and try to post comment, after we post the comment, the page seems goes into a ‘lost’ mode with the following URL. Image attached.


http://http://www.mysite.aaa/showcase/songwriters-collection.html">www.mysite.aaa/showcase/songwriters-collection.html?view=song&id=5


Further, the requirements are when we access to the songwriters collection sub-menu, we get the list of all the artists that are under letter T. Was not sure if there is a way to do this in MC, So I made direct external link as the following:


http://www.mysite.aaa/index.php?option=com_muscol&view=artists&letter=T&Itemid=20


I made it in none SEF mode to make sure it would work in SEF and none SEF whatever the site was set in.
And it works fine, except when we click in any other item in the page, it create a link that does not have the &Itemid=20 with it, and hence we lose the right side column menus. That’s true if SEF mode is set or not.

And we get links in this form:


http://www .mysite.aaa/component/muscol/?view=artist&id=2


If I set the SEF on, and set the menu to the default search form, I get the search form fine, but, when I search for items, I lose the right side column in the search result list, and the URL looks something like this, that seems to lose the submenu: (Probably, since ItemId is not set)


www.mysite.aaa/showcase/index.php?searchword=&format_id=&genre_id=&option=com_muscol&search=albums&view=search&Itemid=


If you have some thoughts on this, I would appreciate it.
Responses (13)
  • Accepted Answer

    Siasb
    Siasb
    Offline
    Thursday, January 28 2010, 03:22 AM - #Permalink
    0
    Sorry, I forgot to attach the image for the comment issue.

    Also want to add that when setting the menu option as external link, if we set it to full or partial path in the SEF form: (The mode is also SEF)


    http://www.mysite.aaa/showcase/songwriters-collection.html?view=artists&letter=T


    It generates and 404 error, trying to access that page. http://www.joomlamusicsolutions.com/images/fbfiles/images/aftercommentMC.jpg
    Attachments:
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, January 28 2010, 11:03 AM - #Permalink
    0
    just one thing: if you loose the right column, it is probably because you are not using the ITEMID parameter of music collection, wich is to avoid this precisely. you should write there the number of the menu item you want MC be pointing to

    besides of that, we are working on a sef patch to work with native joomla sef engine...
    The reply is currently minimized Show
  • Accepted Answer

    Siasb
    Siasb
    Offline
    Thursday, January 28 2010, 12:47 PM - #Permalink
    0
    Hi Germi,

    Thank you very much for the quick reponse. Earlier I missed the Itemid in the paramter list. I just fond it; but settig it doesn't seem to affect the outputted URL. Kinda feels like the Euro and Dollar sign issue. Do you know where I should look if things are passed properly. an image is atatched of the paramer field, in case it's not the right place. Thanks. http://www.joomlamusicsolutions.com/images/fbfiles/images/ItemId.jpg
    Attachments:
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, January 28 2010, 12:55 PM - #Permalink
    0
    you should set this parameter both on the MC GENERAL parameters AND on the menu item parameters..

    I usually only use mc general parameters, but just in case, it is safer is you set up both correctly.

    I asume "20" is the menu item id that points to your main MC menu item, right? ;)
    The reply is currently minimized Show
  • Accepted Answer

    Siasb
    Siasb
    Offline
    Thursday, January 28 2010, 02:14 PM - #Permalink
    0
    Hi Germi,

    This was the second time I lost a post after I finished typing and submitting, to only find out that I am logged out :-) ,and back button does nothing. I keep telling myself, first type the post, and then login. But, then I get cut up in the post and forget :-))

    Anyhow ... My menu link to the component was an external link of the form:


    http://www .mysite.aaa/index.php?option=com_muscol&view=artists&letter=T&Itemid=20


    Trying to reach the component with all albums for the letter T filtered and displayed.

    The external link does not have component parameters, so I can’t set the item id. As the result, it does not work.

    For test, changing the type to artists view, allows me to set the item id, and clicking elements in the page then works properly and I do get the side column with new pages. That’s except two side menu items that one links to the search form of the component, and the other to the playlist. For both, I set the itemid, but it does not work, and I get the full page covered with when I click on those two menu links. That’s true for both SEF mode on and SEF mode off.

    Is there are a way to use the external link as above and still get the itemids generated?

    I'll be out for few hours. Thanks again.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, January 28 2010, 02:25 PM - #Permalink
    0
    Yes, thqs why wneral mc parametrs are for. Forget the parameters on the menu item, and focus on the parameters you can set on MC backend. There's where you should write that '20'
    The reply is currently minimized Show
  • Accepted Answer

    Siasb
    Siasb
    Offline
    Thursday, January 28 2010, 02:40 PM - #Permalink
    0
    Just saw note, before I leave, wanted to respond :-)

    But I already set the general one on the backend. Both are set, but that is not helping. Not sure where else do you mean?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, January 28 2010, 02:50 PM - #Permalink
    0
    Hmm... If you want you can give me admin access data and I'll check it 4 you
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, January 28 2010, 07:14 PM - #Permalink
    0
    just one thing: here's a new patch to make the joomla sef engine work fine: http://www.joomlamusicsolutions.com/downloads/doc_details/48-router-file-for-joomla-native-sef.html?lang=en
    The reply is currently minimized Show
  • Accepted Answer

    Siasb
    Siasb
    Offline
    Thursday, January 28 2010, 07:25 PM - #Permalink
    0
    Thanks a lot Germi,

    I am going to try the SEF patch and poke around for a while more. If I can't figure it out, then I may have to ask you to take a look it, if you have some time. If you have some idea which part of the code to look, I could start with that. Thanks again.
    The reply is currently minimized Show
  • Accepted Answer

    Siasb
    Siasb
    Offline
    Monday, February 01 2010, 10:42 PM - #Permalink
    0
    Hi Germi,

    Just reporting back. The problem with Itemids seemed to be my lack of sleep :laugh: I realized that these menu items are new menu items and I needed to add the module positions for those as well. The site is now working in none SEF as expected and correctly. The new comments on items without any previous post, also seems to get displayed properly. When I applied the SEF patch after wards, some of the stuff worked, and some others still didn’t similar to issues on this thread. Joomla archive system also seem to have a SEF problem that I posted on the J! site that others have detected as well. It probably creeped in since 1.5.15 or recently before that. So, I probably have to turn the SEF off, until that issue is resolved as well. I’ll try to make a test site echo of this development site on our server, if we need it. Thanks again.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, February 02 2010, 04:18 PM - #Permalink
    0
    hmmm

    it would be very useful if you make a small list with the things that DO NOT work with the new sef patch ON... (it is highly probable that I just forgot something ;) )

    thanks for your help on this!
    The reply is currently minimized Show
  • Accepted Answer

    Siasb
    Siasb
    Offline
    Tuesday, February 02 2010, 05:09 PM - #Permalink
    0
    Thanks Germi. Sorry that I didn't; I shall, as soon as I get a chance.
    The reply is currently minimized Show
Your Reply