hocbui / joomla-gcalendar

Automatically exported from code.google.com/p/joomla-gcalendar
0 stars 0 forks source link

Module menu not showing after clicking link #152

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Setup a mini-calendar on the frontpage and make sure there are some events.
2.Also create a link to the calendar in a navigation module that's placed
left or right on the webpage.
3.Click on a linked number in the mini-calendar. 

What is the expected output? What do you see instead?
The correct calendar page will be showed but the navigation module (created
in step 2) is not showing.

SOLUTION: adding the "&Itemid=.." parameter when the links in the
mini-calendar module are created.

What version are you using?
GCalendar:2.1.0RC1
joomla:1.5.10
php:5.2
mysql: ver 14.12 distrub 5.0.67
apache: 2.x
os: Ubuntu Intrepid Ibex
Browser: Firefox 3.0.10

Please provide your web site url.
http://agenetendal-peer.dyndns.org

Original issue reported on code.google.com by davy.cro...@gmail.com on 25 May 2009 at 4:37

GoogleCodeExporter commented 9 years ago
and what for an itemid it should contain?? the one from the calendar or the 
actual
selected one.... i think we have to be clear what exactly for an itemid must be 
set
befor i make some code modifications.
when a user clicks on a link in the module a backlink to a calendar is 
generated in
the main body as well, is this not enough?

Original comment by allon.mo...@gmail.com on 26 May 2009 at 1:54

GoogleCodeExporter commented 9 years ago
perhaps this article can help
http://docs.joomla.org/How_to_control_module_display_when_linking_to_an_article_
with_no_menu_item

Original comment by allon.mo...@gmail.com on 26 May 2009 at 1:57

GoogleCodeExporter commented 9 years ago
I suggest an Itemid which contains the id of the link that directly links to the
google calendar. 

In my example I have a navigation menu which contains a link of the type
GCalendar>>GCalender with itemid 68. In the link options I choose one of my 
preferred
calendars I setup (of course is the mini-calendar displaying the same calendar 
as the
one I'm linking to).

The idea came through the fact that the "upcoming module" does this by default. 
When
I click on an item in this upcomming module, the correct event is shown with my
preferred navigation module on the left. The reason this navigation module is 
shown,
is because the link URL contains the "&Itemid=68" parameter at the end.

The backlink you speak about, I'm unable to find it on my pages. Something 
wrong here?

The link you posted above is not very useful in this situation. But at the end 
of the
page there are also suggesting another module called "Mod OnAnyPage". I will 
test
this module within a few days and let you know the results.

Grtz Davy

Original comment by davy.cro...@gmail.com on 26 May 2009 at 5:54

GoogleCodeExporter commented 9 years ago
i see the point now and i remember i had this option once enabled but there 
were some
problems with the routing and joomla native sef. i will do some investigations 
on this.

by the way do you don't have the text "back to calendar" at the top of the 
content
when you click on a link like in the gcalendar demo page below
http://gcalendar.allon.ch/demo_1_5/index.php?option=com_gcalendar&view=day&gcale
ndarview=day&year=2009&month=5&day=14&gcids=1
don't get irritated about the itemid, i was playing around with something....

Original comment by allon.mo...@gmail.com on 27 May 2009 at 4:48

GoogleCodeExporter commented 9 years ago
First of all thanks for doing some investigation.

On my website I don't have such a "back to calendar" link after clicking in the
mini-calendar. (See screenshot-1.png)

I also noticed another strange behavior (maybe this needs a separated threat, 
let me
know). As you can see (screenshot.png) I have in my mini-calendar various 
events (ont
the 24, 25, 26, 27 and 28th of may). After clicking on day date 27 in the
mini-calendar I get the correct calendar page (screenshot-1.png) with the 
event. But
if I navigate from here to the next day, my event from that day disappeared
(screenshot-2.png).

Now the strange thing is, if start again from the home page (screenshot.png) 
clicking
on day date 27 in the mini-calendar (screenshot-1.png) and I manually add
"&Itemid=68" to the URL in the addressbar, getting the calendar with my 
navigation
menu (screenshot-3.png). If I navigate now to the next day, my event on the 
28th is
showing correctly (screenshot-4.png). A little bit strange isn't it? Let me 
know if
you some extra testing on this one.

Greetz
Davy

Original comment by davy.cro...@gmail.com on 27 May 2009 at 6:28

Attachments:

GoogleCodeExporter commented 9 years ago
i was building for an other issue a test release. in this build the strange 
behaviour
should also be solved (i removed the toolbar and replaced it with the backlink),
please try it and if there is still a problem please open a separate issue for 
that....
http://joomla-gcalendar.googlecode.com/issues/attachment?aid=-773102053606298125
0&name=gcalendar_2_1_0RC1_J15x.zip

Original comment by allon.mo...@gmail.com on 29 May 2009 at 2:03

GoogleCodeExporter commented 9 years ago
its something for 2.1.0

Original comment by allon.mo...@gmail.com on 1 Jun 2009 at 9:08

GoogleCodeExporter commented 9 years ago
r512

Original comment by allon.mo...@gmail.com on 3 Jun 2009 at 5:54

GoogleCodeExporter commented 9 years ago
The strange behavior I talked about in comment 5 totally disappeared due to the 
fact
you removed the calendar navigation links. So navigation isn't possible anymore 
but
the "back to calendar" is showing correctly and working.

As far as I tested the application everything is working perfect.

I hope the final release will be there soon.

Thanks for your support.

Davy

Original comment by davy.cro...@gmail.com on 3 Jun 2009 at 6:17

GoogleCodeExporter commented 9 years ago
is shipped with 2.1.0 RC2

Original comment by allon.mo...@gmail.com on 6 Jun 2009 at 2:27

GoogleCodeExporter commented 9 years ago
Allon,

I just installed 2.1.0 RC2 but in this release my menu modules aren't showing 
at all
after clicking an event in the mini-calendar. Even worse the upcoming module 
suffers
now the same problem. There were in the previous release my menu module was 
showing
perfectly after clicking an event, it now totally disappeared. Also the "back to
calendar" links are gone.

I don't think this is the preferred behavior, maybe some wrong files were 
packed?

Greetings
Davy

Original comment by davy.cro...@gmail.com on 8 Jun 2009 at 7:12

GoogleCodeExporter commented 9 years ago
how can a menu module disappear by clicking on a link i never had this 
behaviour???
by the way i can't access your site you have mentioned in the first post....

Original comment by allon.mo...@gmail.com on 8 Jun 2009 at 9:47

GoogleCodeExporter commented 9 years ago
The address of the site is http://agnetendal-peer.dyndns.org my apologies for 
the typo. 

What I meant is that in RC1, after clicking a link in the upcoming module, the
correct event was showing with my navigation menu on the left side. With the 
install
of RC2 the correct event is still showing but my navigation menu isn't there 
anymore.
In other words the "Itemid=.." parameter was/is removed in the generation of the
links in the upcoming module. 

So my menu module is just not showing instead of disappearing, again sorry for 
using
the wrong verb.

Original comment by davy.cro...@gmail.com on 8 Jun 2009 at 5:16

GoogleCodeExporter commented 9 years ago
after releasing rc2 i corrected some bugs. can you test the attached suite and 
report
if the problem still exists.

Original comment by allon.mo...@gmail.com on 9 Jun 2009 at 5:37

Attachments:

GoogleCodeExporter commented 9 years ago
Everything works as expected now!

Only one remark: after removing and reinstalling the necessary component and 
modules,
I had to reinitialize the link in my side module. By this I mean I had to go to
"menus->school->Jaarkalender" (in my example of course), click on the right 
calendar
and then click save/apply. Otherwise I got some strange behaviors. I know this 
sounds
very logical but I forgot to do this when I posted the previous message.

After all thanks for your great support.

Greetings
Davy

Original comment by davy.cro...@gmail.com on 10 Jun 2009 at 7:51

GoogleCodeExporter commented 9 years ago
of course after a reinstall you have to recreate the menu links.... :-))

Original comment by allon.mo...@gmail.com on 11 Jun 2009 at 9:16

GoogleCodeExporter commented 9 years ago
i set this to testing

Original comment by allon.mo...@gmail.com on 19 Jun 2009 at 11:00

GoogleCodeExporter commented 9 years ago
this issues are released with the version 2.1.0.
http://gcalendar.allon.ch/content/download.html?task=view.download&cid=43

Original comment by allon.mo...@gmail.com on 19 Jun 2009 at 1:58