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.


[RESOLVED] - 6.0.2 Title issue

Login / Search

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

Community saint

Somewhere, something is 'breaking' the display by refusing to identify that a comcode tag has preceded the text in the title, e.g.

Code

[img="new"]{$BASE_URL}/images/new_red_anim.gif[/img]The Mysterious Station Master - (by Kamla Bhalerao)
… becomes …

Code

<h3>
<a alt="new" new_red_anim.gif"="" images="" anglo="" www.tapmal.com="" http:="" title=" <img src=">
The Mysterious Station Master - (by Kamla Bhalerao): #184" href="http://www.tapmal.com/anglo/site/pg/news/view/anecdotes/imgnewbase_urli_3/index.php?filter=8%2C9%2C10%2C12%2C21%2C23"&gt;
<img alt="new" title="new" src="http://www.tapmal.com/anglo/images/new_red_anim.gif">
The Mysterious Station Master - (by Kamla Bhalerao)</a>
</h3>
… see example below …





This problem ALSO occurs in the side panel(s) if a link has comcode anywhere in it, e.g.

Code

LINK [i](subscribe here)[/i]
… gives the full HTML for the link, and THEN the text enclosed in the comcode 'italic' tags



Last edit: by Fletch

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#67833
Avatar

Hi,

I tried quite hard on a test site and your own and unfortunately couldn't reproduce this one.

If it is happening with a single piece of content it might be something slightly different. It might be related to the WYSIWYG editor.

My first suspicion was we broke something in v6 but I'm not sure that's the case.

So please let me know if you can show me exactly how to reproduce consistently, with what to put into each field on e.g. a news form (if it involves the WYSIWYG editor, I'll need the HTML found underneath the 'View source' button).


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:
#67835
Avatar

Community saint

Just as a secondary confirmation for troubleshooting purposes, I couldn't reproduce here either Fletch. Here is the code I tried:

Code

[img="new"]{$BASE_URL}/themes/default/images/treenav.png[/img]
and that produced the standard OCP blue arrow.

"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved

OCP V7 | Advocating monetary reform - FreeOurMoney

Need OCP friendly hosting? Look no further:
Web Hosting, Reseller Hosting, and Dedicated Servers w/cPanel - Elief! - Official hosting partner for ocPortal.
Back to the top
 
Posted
Rating:
#67846
Avatar

Community saint

Chris Graham said

…I tried quite hard on a test site and your own and unfortunately couldn't reproduce this one.
Oooops! It wasn't my intention to drag you away from the more serious stuff, however …

Chris Graham said

If it is happening with a single piece of content it might be something slightly different. It might be related to the WYSIWYG editor…..(if it involves the WYSIWYG editor, I'll need the HTML found underneath the 'View source' button).
and …

SoccerDad said

Just as a secondary confirmation for troubleshooting purposes, I couldn't reproduce here either Fletch.

I'll post a vid to show what I am doing and how I arrive at the result. See below …


Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#67854
Avatar

Lol, very nicely done video. On it now...


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:
#67855
Avatar

Right, I got mixed up, initially assumed you were talking about the title attribute on <img> or <a> tags (because we changed hundreds in v6), my bad.

This is two separate issues affecting only the news system. One is caused by the v6.0.2 accessibility changes, one is an old issue.

Attachment
site/pages/modules/news.php
» Download: news.php (35 Kb, 98 downloads so far)
Attachment
» Download: NEWS_PIECE_SUMMARY.tpl (1.94 Kb, 76 downloads so far)


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:
#67856
Avatar

Community saint

Nailed it!

I will open a new thread for the problem (appears similar) about comcode and links in the side panel.

 :thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#67859
Avatar

Community saint

Chris Graham said

Right, I got mixed up, initially assumed you were talking about the title attribute on <img> or <a> tags (because we changed hundreds in v6), my bad.

This is two separate issues affecting only the news system. One is caused by the v6.0.2 accessibility changes, one is an old issue.

Pardon my dumb question. I know to FTP drop the php file into the correct folder SITE/PAGES/MODULES/NEWS.PHP

but the tpl file? Do I open it in something like conTEXT and replace the existing tpl file in ADMIN ZONE > STYLE > MANAGE THEMES >NEWS_PIECE_SUMMARY.TPL ?

…or is there an easier way?


Art and Imagination
of David L Friend

http://davidlfriend.com

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

Community saint

Hehehehe…!!

I think you answered your own question.

 :'(

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#67861
Avatar

Community saint

Note to self: See how easy that was self? :$


Art and Imagination
of David L Friend

http://davidlfriend.com

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

best way is to upload to themes/default/templates directly, that way it does not stay as an override, which stops upgrades changing that file again


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:
#67863
Avatar

Community saint

Chris Graham said

best way is to upload to themes/default/templates directly, that way it does not stay as an override, which stops upgrades changing that file again
good Chris, I had forgotten this way - much easier.


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: