Home arrow Forum

Remository Forum

 


AlCher

Karma: 0  
3.51J - Pathway CMS incorrect - 2009/04/30 15:16 Link from the menu (item menu - Remository) at the Remository does not appear in the Pathway CMS (SEF enabled).

Examples:

1. Link to the root Remository. Pathway CMS is:

You here : Home >>
(Must be: Home >> Remository)

HTML-код:
Code:

 <div> <span class="breadcrumbs pathway"><font color="#ff0000" size="2"><b>You here :</b> </font> <a href="http://inf.ru/" class="pathway">Home</a> >> </span> </div>


2. Link to the subfolder (container) 'Info' for Remository. Pathway CMS is:

You here : Home >> >> Info >> Info
(Must be: Home >> Remository >> Info)

HTML-код:
Code:

 <div> <span class="breadcrumbs pathway"><font color="#ff0000" size="2"><b>You here :</b> </font> <a href="http://inf.ru/" class="pathway">Home</a> >> <a href="http://inf.ru/component/remository/" class="pathway"></a> >> <a href="http://inf.ru/component/remository/" class="pathway">Info</a> >> Info</span> </div>


Note the link to the 'Info' is on the main page Remository.
------

Perhaps this will help find a solution.

Post edited by: AlCher, at: 2009/04/30 15:30
  | | Sorry, you do not currently have permission to write here.
Sirius

Karma: 0  
Re:3.51J - Pathway CMS incorrect - 2009/05/01 13:14 The only error that I got on the pathway, is a wrong double arrow.
m/components/com_aliroboard/uploaded/images/double_arrow.jpg[/img]

Post edited by: admin, at: 2009/07/24 17:16
Remository 3.53RC2 / Joomla! 1.5.17 / PHP5.3.2
  | | Sorry, you do not currently have permission to write here.
admin

Karma: 98  
Re:3.51J - Pathway CMS incorrect - 2009/05/01 21:40 The pathway seems to be quirky with Joomla. I don't yet know why. It works perfectly here on Aliro! Martin Brampton aka Counterpoint
http://aliro.org
http://black-sheep-research.com
  | | Sorry, you do not currently have permission to write here.
AlCher

Karma: 0  
Re:3.51J - Pathway CMS incorrect - 2009/05/02 14:01 Joomla! 1.5.10 - test results (SEF enabled).

With Rem 3.47.2J - everything works perfectly.

1. Link to the Remository. Pathway CMS:

Home >> Remository

HTML code:
Code:

 <div> <a href="http://inf.ru/" class="pathway">Home</a> >> Remository </div>



2. Link to the subfolder (container) 'Info' of Remository. Pathway CMS:

Home >> Remository >> Info

HTML code:
Code:

 <div> <a href="http://inf.ru/" class="pathway">Home</a> >> <a href="/remository" class="pathway">Remository</a> >> Info </div>



Troubles with pathway CMS appeared with Remository 3.50J and 3.51J.
Also, modules (Multy-Module 3.51) are not displayed on pages Remository (3.51J), on other pages of a site these modules are displayed.
In Joomla! 1.5.10 with Rem 3.47.2J everything was OK.

Post edited by: AlCher, at: 2009/05/02 14:04
  | | Sorry, you do not currently have permission to write here.
Sirius

Karma: 0  
Re:3.51J - Pathway CMS incorrect - 2009/05/03 22:16 I can confirm this issue for the pathway, but for the module I don't have any problems.

For the pathway I got:

Home (link) : remository (link) : Download (link with html name of the page) : category (link) : sub category (link) : name of the file (text)

And it should be:

Home (link) : remository (link) : category (link) : sub category (link) : name of the file (text)

And same for me, all was ok with the 3.47.2J

Post edited by: Sirius, at: 2009/05/03 22:22
Remository 3.53RC2 / Joomla! 1.5.17 / PHP5.3.2
  | | Sorry, you do not currently have permission to write here.
admin

Karma: 98  
Re:3.51J - Pathway CMS incorrect - 2009/05/18 21:03 Ah! I have found some code that seems to be the culprit. It must have been put there for a reason, but it is the cause of the incorrect pathway in the presence of Joomla SEF.

You can correct the problem by altering code in ../com_remository/remository.interface.php around lines 500-505. They currently read:

Code:

  function setPageTitle ($title) {     $this->getMainFrame();     if (method_exists($this->mainframe'SetPageTitle')) $this->mainframe->SetPageTitle($title);     if (defined('_JOOMLA_15PLUS') AND $this->getCfg('sef')) {         $this->appendPathway($titleremositoryRepository::getInstance()->RemositoryBasicFunctionURL());     } }



I cannot now see the reason for setPageTitle to affect the pathway, and this can be suppressed by commenting out the line that calls appendPathway:

Code:

  function setPageTitle ($title) {     $this->getMainFrame();     if (method_exists($this->mainframe'SetPageTitle')) $this->mainframe->SetPageTitle($title);     if (defined('_JOOMLA_15PLUS') AND $this->getCfg('sef')) {         // $this->appendPathway($title, remositoryRepository::getInstance()->RemositoryBasicFunctionURL());     } }



This seems to resolve the problem with Joomla SEF. I'm just worried that it may break something else!

Post edited by: admin, at: 2009/05/18 21:57
Martin Brampton aka Counterpoint
http://aliro.org
http://black-sheep-research.com
  | | Sorry, you do not currently have permission to write here.
AlCher

Karma: 0  
Re:3.51J - Pathway CMS incorrect - 2009/05/18 21:48 But whether this is something to discuss with the developers of Joomla? To clarify the situation with the Joomla SEF?
  | | Sorry, you do not currently have permission to write here.
admin

Karma: 98  
Re:3.51J - Pathway CMS incorrect - 2009/05/18 22:03 I've never had any help at all from the Joomla developers, who always seem uninterested in so-called third party development.

But I have found something and completely altered my previous posting in this thread - please look back to see my suggestion.
Martin Brampton aka Counterpoint
http://aliro.org
http://black-sheep-research.com
  | | Sorry, you do not currently have permission to write here.
AlCher

Karma: 0  
Re:3.51J - Pathway CMS incorrect - 2009/05/18 22:31 Please see
http://j15.joomlaguru.net/component/remository/Sample/

There is something wrong.
  | | Sorry, you do not currently have permission to write here.
admin

Karma: 98  
Re:3.51J - Pathway CMS incorrect - 2009/05/18 22:59 Looks fine to me - what is wrong? Martin Brampton aka Counterpoint
http://aliro.org
http://black-sheep-research.com
  | | Sorry, you do not currently have permission to write here.
AlCher

Karma: 0  
Re:3.51J - Pathway CMS incorrect - 2009/05/19 08:44 Unfortunately the problem remained. Now the reference to the main page Remository is not displayed, only on subfolders.

http://j15.joomlaguru.net/component/remository/
Home
must be: Home >> Downloads (or Home >> Remository)

http://j15.joomlaguru.net/component/remository/Sample/
Home >> Sample
must be: Home >> Downloads >> Sample

etc.

And it is not clear how to fix it.
  | | Sorry, you do not currently have permission to write here.
admin

Karma: 98  
Re:3.51J - Pathway CMS incorrect - 2009/05/19 21:43 It seems impossible to make this work properly. If SEF is turned off, then Joomla puts the component name into the pathway.

If SEF is switched on and SEF Advance is installed, the component name appears in the pathway. But if SEF is switched on and relies on Joomla SEF, then it does not appear.

But it is highly unsatisfactory to have to go poking around trying to find out which SEF mechanism is in use. There need to be consistent standards for these things.
Martin Brampton aka Counterpoint
http://aliro.org
http://black-sheep-research.com
  | | Sorry, you do not currently have permission to write here.
AlCher

Karma: 0  
Re:3.51J - Pathway CMS incorrect - 2009/05/20 20:55 I compared the links to Remository and other components for Joomla 1.5.10.

1. Component Xmap (the sitemap generator for Joomla!).

In the Backend

Menu Item Details
Link:
index.php?option=com_xmap&sitemap=1

On the Frontpage

http://mysite/sitemap
Pathway: Home >> Sitemap
------

2. Jobline (Job posting component).

In the Backend

Menu Item Details
Link:
index.php?option=com_jobline

On the Frontpage

http://mysite/jobline
Pathway: Home >> Jobline
------

3. Contacts (Component !Joomla)

In the Backend

Menu Item Type
Contact Category Layout
Alias: contacts
Link: index.php?option=com_contact&view=category

On the Frontpage

http://mysite/contacts
Pathway: Home >> Contacts
------

4. Remository

In the Backend

Menu Item Details
Link: index.php?option=com_remository

On the Frontpage

http://mysite/component/remository/
Pathway: Home >>
-------

The difference - in reference on the Frontpage is ' component/' for Remository only.
And CMS pathway is not correct.
Is that something?

P.S.
You can also compare:

http://j15.joomlaguru.net/component/remository/
Pathway: Home

and

http://j15.joomlaguru.net/glossary
Pathway: Home >> Glossary

Post edited by: AlCher, at: 2009/05/21 09:50
  | | Sorry, you do not currently have permission to write here.
admin

Karma: 98  
Re:3.51J - Pathway CMS incorrect - 2009/05/21 10:02 OK, but where is the documentation for the API to be used by route.php to implement Joomla SEF??

And what is the logic followed by Joomla SEF??
Martin Brampton aka Counterpoint
http://aliro.org
http://black-sheep-research.com
  | | Sorry, you do not currently have permission to write here.
AlCher

Karma: 0  
Re:3.51J - Pathway CMS incorrect - 2009/05/21 10:24 I agree with you. But unfortunately I do not know deeply the logic and mechanism of Joomla SEF.
I only see a difference in links to Remository and other components. And I think that this may be cause improper display CMS pathway for Remository.
  | | Sorry, you do not currently have permission to write here.
admin

Karma: 98  
Re:3.51J - Pathway CMS incorrect - 2009/05/21 11:12 Try http://j15.joomlaguru.net now.

The difference is a change in the Remository router.php. It is something that seemed to create a problem before, but right now, it appears to fix the issues.

Even if it does, I really do not know why the Joomla developers cannot document external interfaces of this kind. It is ridiculous to have to dredge through the Joomla code and mess about with trial and error when a short document would save hours of frustration.
Martin Brampton aka Counterpoint
http://aliro.org
http://black-sheep-research.com
  | | Sorry, you do not currently have permission to write here.
AlCher

Karma: 0  
Re:3.51J - Pathway CMS incorrect - 2009/05/21 13:40 Now it seems everything is ok.
Thank you very much, that you have found and corrected this deficiency.

Kind Regards, Alexander
  | | Sorry, you do not currently have permission to write here.
Sirius

Karma: 0  
Re:3.51J - Pathway CMS incorrect - 2009/05/31 08:35 Oh ! Thank you Martin !

Sorry, but I was with an old wrong mail on my profile, so that's why I've never received notifications now I've fix it...

so thanks a lot
Remository 3.53RC2 / Joomla! 1.5.17 / PHP5.3.2
  | | Sorry, you do not currently have permission to write here.
Nebulus

Karma: 0  
Re:3.51J - Pathway CMS incorrect - 2009/06/04 09:20 Hello,

I have the same problem. What do you have changed in the router.php?
  | | Sorry, you do not currently have permission to write here.
admin

Karma: 98  
Re:3.51J - Pathway CMS incorrect - 2009/06/05 10:30 The latest code for the remositoryBuildRoute method in router.php is:

Code:

  function remositoryBuildRoute (&amp;$query) {     foreach ($query as $key=>$value) {         $item[] = strtolower($key).'='.$value;         if ('option' != $key AND 'Itemid' != $key) unset ($query[$key]);     }     $sefstring = isset($item) ? sef_remository::create(implode('&amp;'$item), _REMOSITORY_SEF_LOWER_CASE) : '';     return $sefstring explode('/'$sefstring) : array(); }

Martin Brampton aka Counterpoint
http://aliro.org
http://black-sheep-research.com
  | | Sorry, you do not currently have permission to write here.

Login

Subscribe to Premium Support

Get priority support for Remository and Glossary, sign up now for a Premium Support monthly subscription:

Your Remository user name

Or purchase a year's support:

Your Remository user name

Recommended SEF

SEF Advance

Who is Online

Remository welcomes guests and visitors

We have 12 guest online