Static page navigation

Creating and modifying plugins.
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Static page navigation

Post by Timbalu »

In this case you should definitely change it to your new :) solution!

About those collapsible fields, we have them in general section, we have them more and more in Plugin configs and we have them in template configs. I don't think that they would allow ignoring more than a page scroll.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Static page navigation

Post by Don Chambers »

Committed changes as version 3.98
=Don=
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Static page navigation

Post by Don Chambers »

Ian - A problem was brought to my attention with the collapsing javascript. Using this code in the "simple template" while also using the wysiwyg editor, the "pre-content" field is not accessible.
=Don=
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Static page navigation

Post by Timbalu »

Hmm, thats strange. What does that mean "not accessible"?
I can't really see why this collapsible code part should harm that field exclusively, if in wysiwyg mode...
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Static page navigation

Post by Don Chambers »

"not accessible" means I see the field on the back end simple template, but cannot access it.. cannot put cursor into it.... hope that makes sense.
=Don=
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Static page navigation

Post by Don Chambers »

Ian - did you have a chance to verify and/or solve this? In its current state, the static page plugin using the "simple template" does not allow editing the pre-content field when using the wysiwyg editor.
=Don=
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Static page navigation

Post by Timbalu »

No, sorry! I won't find time to investigate this in the next days. Can't you debug it, to see which wysiwyg javascript part hits 'el2', and why that only extends to 'pre_content'? Are you sure its the callapsible and not something else, like the <noscript>... thing?
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Static page navigation

Post by Timbalu »

As we found out, the problem is some obscure javascript complication with the xinha wysiwyg editor, which can't get solved easily. Therefor we solved this to have 2cd collapsible box only appear in non-wysiwyg-mode.
This was fixed again today. Please check to version 3.99.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Static page navigation

Post by Timbalu »

Remember, we had to disable the second callapsible box
https://github.com/s9y/additional_plugi ... 61d2ece255
for WYSIWYG-Editors due to reported Xinha issues...

Since Xinha is out and unsupported(*) and everybody should better use CKEDITOR instead, where this issue does not exist, I would like to get rid of this again! Or make it at least Xinha specific. Is that possible?

(*) Garvin, is there a reason why Xinha Core was never updated to 0.96.1 ?
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Czorneboh
Regular
Posts: 385
Joined: Tue Apr 08, 2008 7:17 pm
Location: Berlin
Contact:

Re: Static page navigation

Post by Czorneboh »

Hi all!

Ian, the problem was not resolved with static pages version 3.99. in autumn 2012. We had not the communication about that. From how many other users you have got an "ok now"? Don knew the problem from me; we had chatted about that and reported it on 27th oct. 2012.

It still exists. So I have to use "no templates", because the one entry box is blocked. But to switch on and off the function "hide/show side bars" for static pages I have to use "simple templates". This is the only reason for me to switch to "simple templates" sometimes.

I have quite many static pages in use. The breadcrumb navigation from Don is nice to have (was on my wish list).

Example for a white stripe on a static page in the frontend:
Sometimes it is a full stripe, sometimes a half one.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Static page navigation

Post by garvinhicking »

Hi!

In the PHP scope, we could try to detect an active fckeditor wysiwyg instance, and only if its missing we could enable that fix. I wouldn't object to that.
(*) Garvin, is there a reason why Xinha Core was never updated to 0.96.1 ?
Surely just because the current one worked without major brokage and I was too afraid to update something that could prevent it. Never run a changing system. ;) We'd have to evaluate the exact changes in the xinha core to see if it could possibly interfer with our integration.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Static page navigation

Post by Timbalu »

Czorneboh wrote:Ian, the problem was not resolved with static pages version 3.99. in autumn 2012. We had not the communication about that. From how many other users you have got an "ok now"? Don knew the problem from me; we had chatted about that and reported it on 27th oct. 2012.

It still exists. So I have to use "no templates", because the one entry box is blocked. But to switch on and off the function "hide/show side bars" for static pages I have to use "simple templates". This is the only reason for me to switch to "simple templates" sometimes.

I have quite many static pages in use. The breadcrumb navigation from Don is nice to have (was on my wish list).
I don't understand....
We have confirmed and discussed this problem with all Devs in a Mumble - brought in by Don - and took out the second collapsible box in wysiwyg-editor mode. Then the problem with non-reacting Xinha in the second nugget staticpage box was solved, since based to buggy interacting Xinha js with the collaps js code.
This was fixed in the staticpages plugin.../backend_templates/default_staticpage_backend.tpl file.
Now, if you have this directory and file in your current template, and this file has not catched up with the changes, I might understand that you still have that issue, else, I don't know what you are talking about.
Czorneboh wrote:Example for a white stripe on a static page in the frontend:
Sometimes it is a full stripe, sometimes a half one.
You mean the white emty block?
Sorry, I can not support templates like Kinetic, which I do not know! As long as I can not confirm this behaviour with some public or known code, I can not help. I am sorry!
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Static page navigation

Post by Timbalu »

garvinhicking wrote:In the PHP scope, we could try to detect an active fckeditor wysiwyg instance, and only if its missing we could enable that fix. I wouldn't object to that.
Garvin. Is that an answer to my first question? What has an fckeditor instance have to do with it?

Edit: I needed to enable brain! You certainly mean "find an instance of CKEDITOR" to exclude from using that mentioned patch. Good idea! I'll put that on my list! :mrgreen:
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Static page navigation

Post by Timbalu »

Don Chambers wrote:In my humble opinion, static page navigation ... umm... sucks! Maybe we can get some collective ideas on how to improve it. [...]
Hi Don

I found your first post as not really being answered or fixed/improved and that is why I had some deep sessions with these 3 frontend navigations, which are entrypaging, breadcrumb and simple childpages views.

I don't know if you already got known to the DEV staticpages repository, I have started working on last christmas, to smartify the backend and rework this plugin for the future with upcoming 2.0.

There are still some small issues to solve, but I would love to hear some comments, in special about the enhanced frontend navigation area it now has. Breadcrumb is fixed to always show the full tree and the shownavi entrypaging navigation now has a better SQL fetch and is designed to work with all possibilities of all navigation ON/OFF options (hopefully!).

Some latest changelogs and the links to the repo are noted here:
http://board.s9y.org/viewtopic.php?f=10 ... #p10439277 and http://board.s9y.org/viewtopic.php?f=4& ... #p10443421

(Using the tagged zip does have the small issue to have to manually rename the directory.)
Please read the real changelog and the readme, to get an idea what all has changed over time. The frontend plugin_* and /backend_templates/* template files have changed. Do not forget to fetch the updates to your theme, if have.

This is not meant as a general public announcement, though non-productive beta testers are welcome, since I will do that when ready and the 2.0 is out. But you as a template author, which uses these features a lot, I assume, may need some time before to check this up.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Post Reply