- NewsmagtagDiv Composer Tutorial
- TutorialsFrom WPBakery to tagDiv Composer
- NewspapertagDiv Composer Tutorial
- NewsmagHow to use the Visual Composer plugin
- Apitd_api_block::update_key
- Apitd_api_block::update
- Apitd_api_block::add
- NewspaperCredit System
- NewspaperCreate a frontend submission form
- NewspaperHow to Use the Tabbed Content shortcode
- NewspaperCreate a form contact page
- NewspaperFilters and sorting for taxonomies
- NewspaperUser review system
- NewspaperModal Popup
- NewspaperFlex Block Settings Guide
- NewspaperSocial Sharing
- NewspaperSingle Post Shortcodes
- NewspaperInfinite Loading for Single Posts
- NewspaperThe Newspaper Mobile Theme: Introduction
- NewspaperHow to Add a Logo in Newspaper
Sorry to reply to this topic, but for the moment I cannot seem to find the location to start a new topic.
Question: For the Image Box element in TD Composer, what CSS would I add and where would it add it to move the title box to the bottom of the image?
Or, is there a different element I could use that would have the title at the bottom (or top, I suppose)?
If there is not a way, I suppose I can edit each image individually and add the title myself at the bottom. But, thought I would ask first. Thanks!
Hello everyone,
First off I’d like to say I love the theme and I’ve been using it religiously for almost a week now to build my website http://chennaiesports.org
The TagDiv Composer is amazing and I’ve had a lot of success with it, but there are certain places where I just hit a complete wall and I’m lost.
Here’s one such issue.
I’ve been using TagDiv to show my Twitch and Discord images on my homepage using the TD Composer’s Client button (I know it’s strange, but it’s the only one where I found I didn’t need to mess with any additional CSS because I don’t know any.) While this has worked wonders as you can see -> http://www.screencast.com/t/tGdvtBzXemRp this option is only available on the TD Composer.
I’ve been trying to replicate this sidebar for posts but I cannot achieve the same look. Instead I land up with this -> http://www.screencast.com/t/r4mYFv8a7
This might be a very silly reason, but I’m legitimately all out of ideas for the same. Please help!
Also, alternatively, if there was a way to import Twitch and Discord icons on the Tagdiv composer’s Social Counter option which is available under widgets too, nothing would make me happier.
PS : I do not know any CSS whatsoever. 🙁
Thank you for your assistance.
Hello.
I have a problem with the theme newsmag.
If I activate the theme all the websites appear in blank. I don´t know where is the problem.
My website is https://www.somoselectricos.com and now I have activate the old theme that usually.
Also If I go to TagDiv composer appear the following error message: Errors happened during tdcIframeData.init() -> bindViewsModelsWrappers()!
I need to solve this problem. Thank you.
Hello,
1. Please use word spacing if you do not filter the excerpts based on letters. The theme excerpts need to be cut by letters or words. If you cut them by words, and do not use spacing between letters, they will think it is a single word and cannot cut it properly.
2. Please check your fonts section under modules. Change the font size for the module selected for the search: https://www.screencast.com/t/ucqluGlfrFqg
3. For the moment the tagdiv composer elements can only be changed with css.
Try this custom css in the theme panel-> custom code section and change it to the font you would like to use:
.td_block_text_with_title p{
font-family:tahoma;
}
Thank you!
The Live CSS editor is currently being included in the code of every page using the Newspaper theme (even for non-logged in users), and is merely being hidden from view with a style="display: none"
I noticed it when looking at my site’s results in Google search, and seeing this in the summary for every page:
“Edit with Live CSS. Save. Write CSS OR LESS and hit save. CTRL + SPACE for …”
This issue was also brought up by someone else as a comment on Themeforest: https://themeforest.net/comments/18588378
As was mentioned by that user in the Themeforest thread, this can be fixed by manually commenting out the require_once "css-live/css-live.php"; line in the wp-content/plugins/td-composer/td-composer.php file.
But that does not seem like the best long term solution.
Would it be possible in a future Newspaper update to set this to only be included on a page when a user is logged in, for example with a is_user_logged_in() check or something?
Because, besides the effects in the search engines, I think it is totally unnecessary to load all this extra code on each page when no one is even logged in to make use of the editor:
<div id="tdw-css-writer" style="display: none" class="tdw-drag-dialog tdc-window-sidebar">
<header>
Edit with Live CSS
<div class="tdw-less-info" title="This will be red when errors are detected in your CSS and LESS"></div>
</header>
<div class="tdw-content">
<div class="tdw-tabs-content tdw-tab-editor tdc-tab-content-active">
<script>
(function(jQuery, undefined) {
jQuery(window).ready(function() {
if ( 'undefined' !== typeof tdcAdminIFrameUI ) {
var $liveIframe = tdcAdminIFrameUI.getLiveIframe();
if ( $liveIframe.length ) {
$liveIframe.load(function() {
$liveIframe.contents().find( 'body').append( '<textarea class="tdw-css-writer-editor" style="display: none"></textarea>' );
});
}
}
});
})(jQuery);
</script>
<textarea class="tdw-css-writer-editor td_live_css_uid_1_5a77558c5778f"></textarea>
<div id="td_live_css_uid_1_5a77558c5778f" class="td-code-editor"></div>
<script>
jQuery(window).load(function (){
if ( 'undefined' !== typeof tdLiveCssInject ) {
tdLiveCssInject.init();
var editor_textarea = jQuery('.td_live_css_uid_1_5a77558c5778f');
var languageTools = ace.require("ace/ext/language_tools");
var tdcCompleter = {
getCompletions: function (editor, session, pos, prefix, callback) {
if (prefix.length === 0) {
callback(null, []);
return
}
if ('undefined' !== typeof tdcAdminIFrameUI) {
var data = {
error: undefined,
getShortcode: ''
};
tdcIFrameData.getShortcodeFromData(data);
if (!_.isUndefined(data.error)) {
tdcDebug.log(data.error);
}
if (!_.isUndefined(data.getShortcode)) {
var regex = /el_class=\"([A-Za-z0-9_-]*\s*)+\"/g,
results = data.getShortcode.match(regex);
var elClasses = {};
for (var i = 0; i < results.length; i++) {
var currentClasses = results[i]
.replace('el_class="', '')
.replace('"', '')
.split(' ');
for (var j = 0; j < currentClasses.length; j++) {
if (_.isUndefined(elClasses[currentClasses[j]])) {
elClasses[currentClasses[j]] = '';
}
}
}
var arrElClasses = [];
for (var prop in elClasses) {
arrElClasses.push(prop);
}
callback(null, arrElClasses.map(function (item) {
return {
name: item,
value: item,
meta: 'in_page'
}
}));
}
}
}
};
languageTools.addCompleter(tdcCompleter);
window.editor = ace.edit("td_live_css_uid_1_5a77558c5778f");
// 'change' handler is written as function because it's called by tdc_on_add_css_live_components (of wp_footer hook)
// We did it to reattach the existing compiled css to the new content received from server.
window.editorChangeHandler = function () {
//tdwState.lessWasEdited = true;
window.onbeforeunload = function () {
if (tdwState.lessWasEdited) {
return "You have attempted to leave this page. Are you sure?";
}
return false;
};
var editorValue = editor.getSession().getValue();
editor_textarea.val(editorValue);
if ('undefined' !== typeof tdcAdminIFrameUI) {
tdcAdminIFrameUI.getLiveIframe().contents().find('.tdw-css-writer-editor:first').val(editorValue);
// Mark the content as modified
// This is important for showing info when composer closes
tdcMain.setContentModified();
}
tdLiveCssInject.less();
};
editor.getSession().setValue(editor_textarea.val());
editor.getSession().on('change', editorChangeHandler);
editor.setTheme("ace/theme/textmate");
editor.setShowPrintMargin(false);
editor.getSession().setMode("ace/mode/less");
editor.setOptions({
enableBasicAutocompletion: true,
enableSnippets: true,
enableLiveAutocompletion: false
});
}
});
</script>
</div>
</div>
<footer>
Save
<div class="tdw-more-info-text">Write CSS OR LESS and hit save. CTRL + SPACE for auto-complete.</div>
<div class="tdw-resize"></div>
</footer>
</div>
Thank you bogdan,
i am trying to add a short code [ninja_form id=1] using TD composer within Raw HTML but the form doesnt show up. it simply shows the short code [ninja_form id=1]. this short code works normal in any other page or post.
May i know how to use a short code within composer.
Hi,
why there are a div in my homepage with this code? I’m not logged-in on wordpress, what this need?
<div id="tdw-css-writer" style="display: none" class="tdw-drag-dialog tdc-window-sidebar"> <header> <a title="Editor" href="#">Edit with Live CSS</a><div class="tdw-less-info" title="This will be red when errors are detected in your CSS and LESS"></div> </header><div class="tdw-content"><div class="tdw-tabs-content tdw-tab-editor tdc-tab-content-active"> <script>(function(jQuery, undefined) {
jQuery(window).ready(function() {
if ( 'undefined' !== typeof tdcAdminIFrameUI ) {
var $liveIframe = tdcAdminIFrameUI.getLiveIframe();
if ( $liveIframe.length ) {
$liveIframe.load(function() {
$liveIframe.contents().find( 'body').append( '<textarea class="tdw-css-writer-editor" style="display: none"></textarea>' );
});
}
}
});
})(jQuery);</script> <textarea class="tdw-css-writer-editor td_live_css_uid_1_5a75e0c2a3b33">.home-boxo-mini .td-custom {
border:2px solid #ececec;
}</textarea><div id="td_live_css_uid_1_5a75e0c2a3b33" class="td-code-editor"></div> <script>jQuery(window).load(function (){
if ( 'undefined' !== typeof tdLiveCssInject ) {
tdLiveCssInject.init();
var editor_textarea = jQuery('.td_live_css_uid_1_5a75e0c2a3b33');
var languageTools = ace.require("ace/ext/language_tools");
var tdcCompleter = {
getCompletions: function (editor, session, pos, prefix, callback) {
if (prefix.length === 0) {
callback(null, []);
return
}
if ('undefined' !== typeof tdcAdminIFrameUI) {
var data = {
error: undefined,
getShortcode: ''
};
tdcIFrameData.getShortcodeFromData(data);
if (!_.isUndefined(data.error)) {
tdcDebug.log(data.error);
}
if (!_.isUndefined(data.getShortcode)) {
var regex = /el_class=\"([A-Za-z0-9_-]*\s*)+\"/g,
results = data.getShortcode.match(regex);
var elClasses = {};
for (var i = 0; i < results.length; i++) {
var currentClasses = results[i]
.replace('el_class="', '')
.replace('"', '')
.split(' ');
for (var j = 0; j < currentClasses.length; j++) {
if (_.isUndefined(elClasses[currentClasses[j]])) {
elClasses[currentClasses[j]] = '';
}
}
}
var arrElClasses = [];
for (var prop in elClasses) {
arrElClasses.push(prop);
}
callback(null, arrElClasses.map(function (item) {
return {
name: item,
value: item,
meta: 'in_page'
}
}));
}
}
}
};
languageTools.addCompleter(tdcCompleter);
window.editor = ace.edit("td_live_css_uid_1_5a75e0c2a3b33");
// 'change' handler is written as function because it's called by tdc_on_add_css_live_components (of wp_footer hook)
// We did it to reattach the existing compiled css to the new content received from server.
window.editorChangeHandler = function () {
//tdwState.lessWasEdited = true;
window.onbeforeunload = function () {
if (tdwState.lessWasEdited) {
return "You have attempted to leave this page. Are you sure?";
}
return false;
};
var editorValue = editor.getSession().getValue();
editor_textarea.val(editorValue);
if ('undefined' !== typeof tdcAdminIFrameUI) {
tdcAdminIFrameUI.getLiveIframe().contents().find('.tdw-css-writer-editor:first').val(editorValue);
// Mark the content as modified
// This is important for showing info when composer closes
tdcMain.setContentModified();
}
tdLiveCssInject.less();
};
editor.getSession().setValue(editor_textarea.val());
editor.getSession().on('change', editorChangeHandler);
editor.setTheme("ace/theme/textmate");
editor.setShowPrintMargin(false);
editor.getSession().setMode("ace/mode/less");
editor.setOptions({
enableBasicAutocompletion: true,
enableSnippets: true,
enableLiveAutocompletion: false
});
}
});</script> </div></div><footer> <a href="#">Save</a><div class="tdw-more-info-text">Write CSS OR LESS and hit save. CTRL + SPACE for auto-complete.</div><div class="tdw-resize"></div> </footer></div>
As a fix has been found, and as it had nothing to do with hosting or other plugins, perhaps the advice I was given on how to avoid td-composer breaking (by not saving shortcodes until the next update) should be posted for people to see, and also what the temporary fix was? I can’t imagine I’m the only person to be affected by this.
Thanks to your tech support for finding the bug and fixing it.
Hi,
I could not find the TD-Mobile_plugin when I look in map “Include”
I onle have:
– TD-composer
– TD-Multipurpose
– TD- Social counter
Were could I find plugin TD-mobile?
Regards,
Patric / Internetfoto
I recently purchased the Newspaper theme and have not yet been able to use it for the purposes it was purchased for.
Being non-technical I have employed the services of those that are and yesterday they advised the following:
“Your login issues are being caused by the “td_composer” (tagDiv Composer) plugin. If that is disabled, then you can login and out no problem. Unfortunately, it seems quite important for the site to function properly, so I suggest you ask their support team why it might be giving you problems”
All the usual tests have been carried out.
Please advise as to potential solutions.
Kindest regards
Ron Robinson
You can’t use TD Composer to edit posts; use the built-in WP post editor for posts. Then use TDC for custom ‘pages’ such as about us, landing page, services, fancy stuff.
Sorry if that didn’t help. I don’t work here.
TD composer is not working properly. When we try to edit using TD composer, the entire code is shown. Also, unable to edit using code. It was working properly earlier. Can you please help, it is urgent.
I also noticed the following errors in the console:
Uncaught SyntaxError: Unexpected token <
at eval (<anonymous>)
at load-scripts.php:2
at Function.globalEval (load-scripts.php:2)
at Ha (load-scripts.php:3)
at a.fn.init.prepend (load-scripts.php:3)
at Object.takeSnapshot (/wp-content/plugins/td-composer/assets/js/js_files_for_wrapper.min.js?ver=__td_aurora_deploy_version__:13)
at Object.changeData (/wp-content/plugins/td-composer/assets/js/js_files_for_wrapper.min.js?ver=__td_aurora_deploy_version__:210)
at Object._moveDraggedElement (/wp-content/plugins/td-composer/assets/js/js_files_for_wrapper.min.js?ver=__td_aurora_deploy_version__:54)
at Object.deactiveDraggedElement (/wp-content/plugins/td-composer/assets/js/js_files_for_wrapper.min.js?ver=__td_aurora_deploy_version__:35)
at HTMLDivElement.<anonymous> (/wp-content/plugins/td-composer/assets/js/js_files_for_wrapper.min.js?ver=__td_aurora_deploy_version__:108)
But unexpected token is in this <!doctype html>
-
This reply was modified 8 years by
jmr.
Hello, i need help.
The big grid slide doesn’t works fine. I try to add it through the tagDivcomposer, but it just keeps loading on the screen. So I tried to put it manually so it worked, but the slide does not happen.
The code:
[vc_row][vc_column][td_block_big_grid_slide category_id=”844″ td_grid_style=”td-grid-style-1″ autoplay=”01″][/vc_column][/vc_row]
Link to: https://leiagora.com.br/testando/
Hello,
The images you mention are the ‘TDM’ pictures required by the new multi-purpose plugin. They will come back as the plugin needs them to show up properly on the tagdiv composer. Sorry but these few images are required by the theme and cannot be deleted.
Thank you!
Chris, are you tag div tech support? With 8000 posts, I guess you are that, or just marketing.
If you look at the emails sent to you weds, yesterday and today, you’ll find they include site logins, ftp logins and feedback from hosting, who spent a lot of time looking into this yesterday.
Fairly obvious catch-alls like disabling all plugins, removing and reinstalling td plugins, all that sort of stuff was done on wednesday. It was repeated by hosting yesterday, who took the time to also visit wponion.com to see what they could find there.
1. https://www.wpion.com/members/system-status/
>>>> The system status parameters guide given by ‘tagdiv’ support has been already configured on the server. The current PHP Handler set is fcgi, which can be changed to suphp (the default handler set for PHP 5.6 and PHP 5.5) is the only remaining configuration to be checked to check whether the error resolve or not.
(currently on php7)
2. https://www.wpion.com/members/topic/tagdiv-composer-not-working/
>>>>> TagDiv support states: You can try to disable all the plugins except tagdiv composer and check again.
(done on multiple occasions to no effect)
https://www.wpion.com/members/topic/tagdiv-composer-doesnt-work-anymore/
>>>> TagDiv fix in the forum: Usually recommend folks put the explicit https path for website and plugins folder into the wp-config.php file, while adjusting the amount of RAM allocated to WP.
(server has 5gb ram, php setup as below)
[PHP]
max_execution_time = 300
max_input_time = 600
max_input_vars = 5000
memory_limit = 128M
post_max_size = 8M
session.gc_maxlifetime = 1440
session.save_path = “/var/cpanel/php/sessions/ea-php70”
upload_max_filesize = 8M
https://www.wpion.com/members/topic/tagdiv-composer-not-working-3/
>>>> Same solutions mentioned above.
They pointed out that there is nothing else they can do or try, that none of my other wp sites have issues and that the error in any case only exists when a user tries to open td-composer.
Your own tech people have logged into the site twice today. I know they opened and tried to edit a couple of pages and looking also in my hosting files I can see they also accessed newspaper/includes/wp_booster/wp-admin/panel/td_view_system_status.php which I’m guessing gives them a rundown of the system, so they already know it is set up correctly.
The issue seems clearly related to td-composer. I’ve seen posts in various places about it, not just here, and it seems quite a few people have had and are having problems with td-composer not working for them. What I haven’t seen anywhere is a solution, which is very, very frustrating. I have been unable to continue working on my site for two whole days now.
My TD Composer is getting hung up loading when I try to edit my homepage. The error it’s is throwing is:
Uncaught TypeError: Cannot read property 'next' of undefined
Here’s a link with a screenshot of the full error: https://i.imgur.com/vYhmYFz.png
I have no idea how to begin to troubleshoot this. Thanks, JMR
I have spoken to my hosting support team who say there is nothing wrong with the hosting and nothing missing. Given that I don’t have issues with other sites or plugins I can only agree.
I have, as requested, added the define( ‘CONCATENATE_SCRIPTS’, true ); to wp-config and as I said, it didn’t make any difference at all.
Can you please have a look and tell me what the issue is? The login details are still valid.
Can you say what the error message that shows up in console relates to, as it still exists now, after the change you specified.
We have switched from php7 to 7.1 and also 5.6 but that makes no difference. We totally deleted your plugin and reinstalled it, without making any difference. All that my hosting could say was that the problems, as they are, are only triggered when the edit with td-composer option is clicked. That would tend to suggest the problem is within the plugin. The error message points (also now after adding the line mentioned) to the same.
I’d really like to be able to carry on working on my site.
I’ve tried using TD composer on three different browsers on my iMac. Chrome by far the worst but Safari and Firefox about the same.
When in the TD page editor, if I change an element in a row it shows all wrong. Like this:
Like this https://brandinginasia.com/wp-content/uploads/2018/02/Screen-Shot-2018-02-01-at-11.50.09-PM.png
To get it to display correctly, I have to save and reload the page to get this:
https://brandinginasia.com/wp-content/uploads/2018/02/Screen-Shot-2018-02-01-at-11.50.21-PM.png
Sure, it looks fine on the finished page, but editing like this is Very time-consuming. Is there a fix for this?
Chris; I assumed newest posts would be read first, but watching other posts getting answered while mine got shuffled down to the second page without an answer persuades me otherwise. Sadly, there is no conflict, php7 is modern enough, i have a dozen wp sites on this server that run flawlessly and as this site is not yet what I call ‘ready’, it doesn’t even use caching.
One suggestion was made; that on the page that never finishes loading (any page opened with td-composer) that js was shown as not concatenated. It was said this ‘could’ cause issues. One assumes that if it ‘does’ cause issues it would already be known, but I have asked for advice from my hosts – luckily I have 4 vps accounts with them and they answer within the hour.
P.S. I menaged to properly install update theme, everything looks great but.. I can’t find Multipurpose Shortcodes in TD Composer.. only extended..
I have the same problem. I managed to do a little editing this morning and went in to create a new sidebar widget, then went back to the page (it was to add to the front page) and the tdcomposer ceased to work – grey spinner and nothing else. I’ve been sitting here for 2 hours now trying to get on with my day’s work and am pulling my hair out.
I don’t see a fix for this issue in other posts on the same topic. This is worrying.
For some reason I am unable to edit posts or pages using the td composer. All green in theme status, using the version downloaded yesterday upon purchase, so the most recent, ditto wordpress.
If I click edit with td, I get a grey-white page with a permanently spinning spinner. Nothing else.
My host sayas that they do not allow me to edit php.ini or .htaccess.
But I can still edit them, but I do not know where to place one of these…
php.ini
max_input_vars = 5000
max_execution_time = 300
post_max_size = 50M
upload_max_filesize = 50M
.hthaccess
php_value max_input_vars 5000
php_value max_execution_time 300
php_value post_max_size 50M
php_value upload_max_filesize 50M
I have tried to place it in the top, meiddel and end of in php.ini
and each time I get the same message in Tag div composer.
Errors happened during tdcIframeData.init() -> bindViewsModelsWrappers()!
If I place the text in .hthaccess, the webpage crashes.
Hope you can help me.
http://new.masseyrealty.com/wp-content/plugins/td-composer/includes/wpeditor.php
I’m not sure if it has something to do with my “wordpress optimized” hosting from HostGator, I’m talking to them right now but I thought I would post here as well.