The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Widget does not write code
Hello,
vB v. 4.2.3 Patch Level 2 Widget Static HTML does not write code. I am saving and open the widget. No content. what to do? |
#2
|
||||
|
||||
What are you entering into the "Enter Static HTML" area of the widget?
What is the template name listed under "Template Name" and have you verified that that template exists and is totally default in the style you are using? |
#3
|
|||
|
|||
Quote:
Quote:
Template Name: 'vbcms_widget_static_page" HTML Code:
<div class="cms_widget"> <div class="block"> <div class="cms_widget_header"> <h3><img src="{vb:stylevar imgdir_siteicons}/html.png" alt="" /> {vb:raw widget_title}</h3> </div> <div class="cms_widget_content widget_content"> {vb:raw static_html} </div> </div> </div> --------------- Added [DATE]1484389562[/DATE] at [TIME]1484389562[/TIME] --------------- I tested the widget ... weird e.g 1. does not accept the code: 'border-radius: 50%;' but 'border-radius: 50px;' accepts (not accept '%')' 2. does not accept the code: '<div class="caption">TOUCH?ENABLED</div>' but '<div class="caption">TOUCH ENABLED</div>' accepts (not accept '.') ('.') dot code e.g 'header a.active {font-weight:bold; }' is accepted 3. does not accept the code: '<html>' but '</html>' accepts 4. does not accept the code: '<href='http://fonts.googleapis.com/css?family=Bree+Serif' rel='stylesheet' type='text/css'/>' but '<href='http://fonts.googleapis.com/css?family=Bree+Serif' rel='stylesheet' type='textcss'/>' accepts (not accept '/')' slash in </di>, </body>, </html> is accepted If the code contains these characters, it does not save anything I do not understand. |
#4
|
||||
|
||||
I want to know the code/html you are entering into the Enter Static HTML" area of the widget. Please post the html using an html tag. (And, just an FYI, but if you are entering <html> in there, then that is totally wrong as you may only have one <html> tag on a page.)
|
Благодарность от: | ||
MarkFL |
#5
|
|||
|
|||
yes, code/html are entering into the Enter Static HTML area of the widget.
I've done this many times, always worked. <html> tag does not use this. Sorry, bad english. this code HTML Code:
<link href='http://fonts.googleapis.com/css?family=Bree+Serif' rel='stylesheet' type='text/css'> <link href="slider/2/ninja-slider.css" rel="stylesheet" type="text/css" /> <script src="slider/2/ninja-slider.js" type="text/javascript"></script> <style> body {font: normal 0.9em Arial;margin:0;} a {color:#1155CC;} ul li {padding: 10px 0;} header {display:block;padding:60px 0 20px;text-align:center;position:absolute;top:8%;left:8%;z-index:4;} header a { font-family: sans-serif; font-size: 24px; line-height: 24px; padding: 8px 13px 7px; color: #fff; text-decoration:none; transition: color 0.7s; } header a.active { font-weight:bold; width: 24px; height: 24px; padding: 4px; text-align: center; display:inline-block; border-radius: 50%; background: #C00; color: #fff; } </style> <!--start--> <div id="ninja-slider"> <div class="slider-inner"> <ul> <li> <a class="ns-img" href="slider/img/1.jpg"></a> <div class="caption">RESPONSIVE</div> </li> <li> <a class="ns-img" href="slider/img/2.jpg"></a> <div class="caption">TOUCH?ENABLED</div> </li> <li> <a class="ns-img" href="slider/img/3.jpg"></a> <div class="caption">VIDEO?AUDIO</div> </li> <li> <a class="ns-img" href="slider/img/4.jpg"></a> <div class="caption">NON?JQUERY</div> </li> <li> <a class="ns-img" href="slider/img/5.jpg"></a> <div class="caption">MOBILE?FRIENDLY</div> </li> </ul> <div class="navsWrapper"> <div id="ninja-slider-prev"></div> <div id="ninja-slider-next"></div> </div> </div> </div> <!--end--> |
#6
|
||||
|
||||
The code you posted saves just fine for me. However, you will need to upload the files for it (the second and third lines).
Attachment 155696 |
Благодарность от: | ||
romaszek |
#7
|
|||
|
|||
Thank you for your work but my forum does not work.
(PM link and password to test forum) e.g Widget Test |
#8
|
|||
|
|||
The problem created ModSecurity on the server.
Everything is already working. Thank you Lynne. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|