Skip to content
JoomlaProdigy Forum
Welcome, Guest
Please Login or Register.
Lost Password?
html not rendering and link issue (1 viewing)
_GEN_GOTOBOTTOM Post Reply

TOPIC: html not rendering and link issue

#1698
asiaweb (User)
Senior Boarder
Posts: 12
graphgraph
Click here to see the profile of this user
html not rendering and link issue 2007/06/05 00:03 Karma: 0  
Hello Prodigy Team and forum members.
i hope somebody can help me out of my 2 little problems.

1. the front page don't render html code.
i setup an article only with <h4> and <p> tags which look fine as its self in Joomla. this article i would love to see implemented in the Mootabs on the front page. Its show up but all the formating is gone [ no spaces, no css, no h4 or p tags ]

what do i wrong by implementation ? when i click on the read more link for the rest of the article it shows up perfectly.
----------------------------------------------
on the page:

1 - 2 - 3 Easy Steps for registering your domain name and setting up web hosting account.

1. Get your Domain Name.

Getting your domain name registered is as easy as filling out a simple form. Start by registering your domain name or if you already have a domain name registered, simply transfer it with us to get your company ready to go online!


2. Choose your Web Hosting.

----------------------------------------------
inside mootabs:

1 - 2 - 3 Easy Steps for registering your domain name and setting up web hosting account. 1. Get your Domain Name. Getting your domain name registered is as easy as filling out a simple form. Start by registering your domain name or if you already have a domain name registered, simply transfer it with us to get your company ready to go online! 2. Choose your Web Hosting.


the second problem is the read more Link which fits perfectly my needs but i running also in a small problem:

i setup mootabs to appear only on Home on the main site and no where else. but if i click on the read more tab [ i have 5 tabs ans about 10 links ] then i see the article above [ where the read more button linked to and below the mootabs still shows up. how can i make sure that if a link gets clicked that mootabs disappear ?

i try to provide a few pictures as sample in the attachment:



i clicked the read more button and mootabs still appears on the bottom of the Page. also you see the rendering from 1-2-3 steps above and on news in the mootabs module.

thank you very much for your help

Guido

Post edited by: asiaweb, at: 2007/06/05 00:11
  The administrator has disabled public write access.
#1699
admin (Admin)
Admin
Posts: 840
graph
Click here to see the profile of this user
Re:html not rendering and link issue 2007/06/05 00:24 Karma: 19  
I appreciate the way you have described your problem which makes it so easy to understand and answer. Though I may or may not be able to solve it but your effort has prompted me to reply as soon a sI can.

1. The issue is not with mootabs as such. This is an isssue in 1.0.12 which has been discussed at length among developers ever since 1.0.12 came out. The reason the itemid is implemented on frontpage in this version. If you would use it on some other page I am quite sure you wont have this issue.
You can read more about this issue here and if you are determiined can follow some hacks suggested in this same thread.
http://forum.joomla.org/index.php?topic=156966.0;wap2

Problem 2. The html tags.
You can try this.

find this line which should be around line number 170,( I am not sure as I keep making changes in files on my comp.

$item->introtext = preg_replace("#<(?!(?:br|br/|as|/a|!))[^>]*>#", ' ', $item->introtext);

and comment it out like this

//$item->introtext = preg_replace("#<(?!(?:br|br/|as|/a|!))[^>]*>#", ' ', $item->introtext);

That should make it fine.
Let me know if you need any more help.

thanks again for such descriptive post and hope other would like to follow your way when posting for help.
  The administrator has disabled public write access.
#1701
asiaweb (User)
Senior Boarder
Posts: 12
graphgraph
Click here to see the profile of this user
Re:html not rendering and link issue 2007/06/05 01:49 Karma: 0  
Hallo Admin

Thanks for the fast reply

as for the problem number one [ the modul appear not only on the frontpage ] i found a quick and dirty way arround:

i have disabled the other menu because i dont need it. there i link every article for the mootabs module and see: the items get a special id and link proberly and the mootabs disappear from the read more link to the article. [ the status of the other menu is unpublished - and its work ]

to the 2nd problem:

i was not able to solve the issue with the trick you told me. it doesnt work.

Thank you for the help

Guido

Post edited by: asiaweb, at: 2007/06/05 01:50
  The administrator has disabled public write access.
#1702
asiaweb (User)
Senior Boarder
Posts: 12
graphgraph
Click here to see the profile of this user
Re:html not rendering and link issue 2007/06/05 02:05 Karma: 0  
Hallo JP

another try.
line 170 reads:

Code:

 $item->introtext preg_replace("#<(?!(?:br|br/|a\s|/a|!))[^>]*>#"' '$item->introtext);



if i disable this everything render proberly but the end of the last Tab gets messed up.

i try to bring up a screenshot ...



click on dedicated server --> all fine
click on seo --> appear like empty [ no text ]
click back on dedicated server --> its render like the picture above

but: the html rendering is perfect

for me seems this line the issue but i am not a coder to understand what is responsible for the tabs end or the html rendering.

Guido

Post edited by: asiaweb, at: 2007/06/05 02:12
  The administrator has disabled public write access.
#1709
admin (Admin)
Admin
Posts: 840
graph
Click here to see the profile of this user
Re:html not rendering and link issue 2007/06/05 08:41 Karma: 19  
This line strips out all the html tags from content other than br and a tag.

If you content gets broken by your word limit before appropriate closing tag , then that might be the cause. say <p>bla bla bla bl...
but no closing p tag.

That may the reason.
  The administrator has disabled public write access.
#1710
asiaweb (User)
Senior Boarder
Posts: 12
graphgraph
Click here to see the profile of this user
Re:html not rendering and link issue 2007/06/05 08:47 Karma: 0  
there is a few closing tags before as you can see on the first picture
2 line <h4>headline</h4>
and also the first <p>body</p>

but its get not rendered at all - only if i do the trick above - but this messed up the whole mootabs.

Do you have another solution ?

Thank you

Guido
  The administrator has disabled public write access.
#1713
admin (Admin)
Admin
Posts: 840
graph
Click here to see the profile of this user
Re:html not rendering and link issue 2007/06/05 11:36 Karma: 19  
Did you try thr jquery version of mootabs??
Do you have the same problem with it also.
  The administrator has disabled public write access.
#1719
asiaweb (User)
Senior Boarder
Posts: 12
graphgraph
Click here to see the profile of this user
Re:html not rendering and link issue 2007/06/06 08:54 Karma: 0  
i give it a try right now

Thanks
  The administrator has disabled public write access.
#1720
asiaweb (User)
Senior Boarder
Posts: 12
graphgraph
Click here to see the profile of this user
Re:html not rendering and link issue 2007/06/06 09:58 Karma: 0  
sorry that is more worst then the other one.
only the rendering is now a problem for me every thing else in the other post. [ customization ]

thank you
  The administrator has disabled public write access.
#1724
admin (Admin)
Admin
Posts: 840
graph
Click here to see the profile of this user
Re:html not rendering and link issue 2007/06/06 14:51 Karma: 19  
did you try switching tabs. also try changing text in tabs so as to know if it is the text in eachtab that is somehow causing this rendering problem.
  The administrator has disabled public write access.
_GEN_GOTOTOP Post Reply
© Copyright 2007 Best of Joomla, Powered by FireBoardget the latest posts directly to your desktop

Buy Now

Recommended

Search

Recommended

Joomla Templates

Member Login

Refreshing page..Please wait!
                       Lost Password?    Can't Login?