HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


The bottom of start page and the start page footer has disapeared

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#59147 (In Topic #12885)
Avatar

Community saint

The bottom of start page and the start page footer has disapeared

I edited my start page just slightly today, this after the page been stable and 'finished' for quite a while. I just made a small adjustment to two side by side blocks widths. I edited this in semihtml mode and then save without previewing (perhaps my mistake?).

Anyway several blocks at the lower part of the start page have disapeared along with the edit control function. The footer will not show up on this page either.

I tried to edit it in zone editor and of the control features avaialable - preview, edit, details and setting; only preview works. The others just hang till you click preview or go away.

I have made a ton of work on the site since my last back-up. I know, bad practice…

Well, how do I recover from this? I at least need working control functions.


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#59148
Avatar

Fan in action

Can you use this link to access edit?
( edit DOMAIN_HERE and leave 3A to be suitable for your domain

example: 3AGOOGLE.COM )


that's best i can think of ( currently learning new world ), that link saved me once.


Code

http://DOMAIN_HERE/cms/pg/cms_comcode_pages/_ed/index.php?page_link=%3Astart&redirect=http%3A%3Aslash%3A%3Aslash%3ADOMAIN_HERE%3Aslash%3Asite%3Aslash%3Apg%3Aslash%3Astart&redirect=http%3A%3Aslash%3A%3Aslash%3ADOMAIN_HERE%3Aslash%3Asite%3Aslash%3Apg%3Aslash%3Astart
I was in similar situation. I added top menu under header and i lost ability to edit main page and zone editors.

I had copypasted content of css and template in safe location and did near line by line comparison using original and my modified.

I didn't notice what caused that, i deleted all references to my top menu and after that i was able to edit main page and use zone editors.

I did cleaned caches and used 3different browser to verify that problem.

Back to "drawing" board

EDIT: No, im not "hijacking" your post, actually i don't know why i even typed in O_o


Last edit: by Dragons Files

Back to the top
 
Posted
Rating:
#59163
Avatar

Well-settled

Hi,

If you go to the 'Content' section, then the 'Comcode pages' icon, you can select to edit your page and then when you get there you'll see it is possible to restore any past version of the page.
Back to the top
 
Posted
Rating:
#59188
Avatar

Community saint

Thanks Duder911, forgot about the edit comcode page tool. Still, it got me no further than I was before.

The footer refuses to show up on the start page like before. It can be seen as normal everwhere else. Something seems to have come 'unhooked' and the footer doesn't know it it supposed to show up for duty. Same thing with the page edit controls.

Bummer. How do I get the footer back or can I?


Last edit: by friendly


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#59236
Avatar

Hi,

You've put an iframe tag on the front page but you haven't closed it with </iframe>. The insides of an iframe tag are alternate text to displaying the frame, so the remainder of the HTML is considered all to be alternate text and not shown.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#59243
Avatar

Community saint

Thank you for your help Chris. On reviewing the last saved version of the start page I did find that the

Code

[block]main_comcode_page_children[/block]
was within the

Code

<iframe></iframe>
tags, so I understand your comment and looking at the recovered fragment of code, from near the date of the original post, I do not see an ending "iframe" tag.

Although, I am completely baffled as to why did the original (2) blocks below what was left of the page just dissapeared. My original action was to edit (2) percent numbers controling the width of 2 blocks. One went from 33 to 35% and the other from 66 to 64%. I was in semi-html mode and once those numbers were changed I clicked the save button and from there the lower blocks dissapeared along with the control functions.

I had not done anything I know of to move or adjust, let alone touch the

Code

<iframe></iframe>
tags. It was not until much a much later edit that I "added" back the "main_comcode_page_children" block which appeared to be missing.

I am horrified at the thought of putting so much effort into creating my website and finding a click can send it all down in a mess. I don't mind putting in the needed effort but I want an end product I can have some belief in that its reliable. I am glad you could get me back on track, so in this case you were the reliability that will keep me going - thanks again, for directing me to the code error.

I know I need to create a more frequent back-up system but what caused the disappearance of lines of code (the bottom of my page) and how can it be avoided? Was it that I did not place the editor back to WYSIWYG mode and preview before I saved the page?


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#59244
Avatar

Hi,

I think the problem could be traced by looking at how <iframe> tags got in there, and what caused the </iframe> to disappear from there. ocPortal's WYSIWYG and Comcode don't use that tag directly, and I don't believe they manipulate it, so I think probably some third party HTML was in there then some kind of editing action corrupted it. If you turn the ocPortal validator preview option on it'd have been detected, but otherwise ocPortal tries to stay out of whatever HTML is used.

I actually noticed the problem by having the HTML validator addon for Firefox, viewing the page source, and seeing the syntax highlighting for the HTML stopped at a certain point, which was where the <iframe> was opened up.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#59248
Avatar

Community saint

The "iframes" tags were from the Amazon widget I have placed there. Amazon's code is much shorter than what becomes the end result on the Comcode editor. The add when inspected with firebug looks simple but is rather ugly in the editor

Code

<iframe scrolling="no" height="250" frameborder="0" width="300" style="border: medium none;" src="http://rcm.amazon.com/e/cm?t=prehistoricsi-20&amp;o=1&amp;p=12&amp;l=st1&amp;mode=books&amp;search=dinosaurs%20paleontology%20prehistoric%20&amp;fc1=000000&amp;lt1=_blank&amp;lc1=00FFFF&amp;bg1=007EA2&amp;f=ifr" marginwidth="0" marginheight="0" border="0">&amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;span class=&amp;quot;ocp_keep&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; &amp;lt;/body&amp;gt; &amp;lt;/html&amp;gt;</iframe>
Is it possible that this makes the page unstable?


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#59249
Avatar

Hi,

If this is an ocPortal/WYSIWYG problem I definitely want to get to the bottom of it. Our 'code' tag doesn't work when the WYSIWYG editor is on, so could you edit your post above with WYSIWYG off so I can see exactly what should be inside that 'code'.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#59250
Avatar

Community saint

think I wasn't getting the editor here to co-operate so I sent it to your email. Sent both my page code and the original from Amazon.


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: