Is there any way to insert auto-nav into content editor?

Permalink
Is there a way to insert an auto-nav into the WYSIWYG content editor?

getjoel
 
Mainio replied on at Permalink Reply
Mainio
For everything, there is "a way". However, should it always be a good thing to do this kind of thing? Maybe not, I don't know your exact case.

Could you please give a little more info of what you're trying to achieve?

I think this could be solved e.g. like this:
[CONTENT BLOCK]
[AUTO-NAV BLOCK]
[CONTENT BLOCK]

When you wouldn't have to include the auto nav inside the content block...


Antti / Mainio
JohntheFish replied on at Permalink Reply
JohntheFish
Mainio's suggestion is what I would do.

However, if you have requirements we are not aware of, you could also look at the extended content block
http://www.concrete5.org/marketplace/addons/extended-content/...
and see if you can further extend it to meet your purposes
getjoel replied on at Permalink Reply
getjoel
On this site.. Http://go.agenity.com/sem.... I need to database the blurb under the car to be the last news story.. And I need to add a poll to the bottom right hand corner. The way the page was designed it would be much easier to just do this through the content editor.
Mainio replied on at Permalink Reply
Mainio
I don't know exactly what you meant there but I think I would still do it through multiple blocks myself.

@JohntheFish pointed out the Exteded Content add-on. I looked into it and it does not seem to offer a ready custom template page list block. However, you cloud customize it.

I'd say that your options here are:
a) Build it with multiple blocks
b) Customize the content block for your need (e.g. add possibility to add [replacable_tags] inside the content and replace them accordingly)
c) Use the Extended Content add-on and write a custom template for it for your need (page list), the add-on looks like such that you could do this pretty easily


Antti / Mainio
JohntheFish replied on at Permalink Reply
JohntheFish
I looks like your page was designed using layouts, so how it looks could be a little unstable if you had multiple blocks in each footer.

Nevertheless, I think you would be better doing(a) and if necessary working on a theme modification that would remove the need for the layouts in the footer. That would be both more versatile and more stable. I also suspect doing some minor php and css to tweak a theme is easier than getting inside a complicated block and modifying its code.