mainewebworks
Forum Replies Created
-
Forum: Plugins
In reply to: MM Forms – export CSV not workingExport only worked for me after creating a new form. Using the pre-built form available after installation would not generate the correct link to the CSV file. Creating a new form grabbed the correct link.
Forum: Themes and Templates
In reply to: Integrating WP with Ecommerce Templates – session cache limiterHi richarduk,
Have you had any success with this? I’ve tried to integrate ectemplates with several different CMS unsuccessfully and forgot to try WP… 😐 I’m going to be trying this in the next few days, but would rather not spend the time if it isn’t possible.
thanks in advance! 🙂
Forum: Plugins
In reply to: Creating landing sites – very SEO relatedThis great work! Thanks for the contribution.
Forum: Your WordPress
In reply to: WordPress as a CMS for a company websiteHi Dgold –
Thanks for the compliments! 🙂
Forum: Your WordPress
In reply to: New BlogVery Cool Theme. All looks good!
.. that Mike Cherin does some nice stuff…
Forum: Your WordPress
In reply to: New Theme on my blogI like the theme alright.
FYI- I’m not seeing the text under what looks to be buttons just below the header area (in FF), In IE I can see the text but it is real dark.Forum: Fixing WordPress
In reply to: Allowing only subscribers to read postsI came across this great pulgin the other day. I haven’t used it yet though…
http://blog.taragana.com/index.php/archive/angsumans-authenticated-wordpress-plugin-password-protection-for-your-wordpress-blog/Forum: Fixing WordPress
In reply to: When edit pages it messes it all up.I also tried Editor Monkey and Advanced WSYIWG plugins and both didn’t play nice witht the Image Manager plugin I’m using. Which uses, Owen Winkler’s Buttonsnap functionality to add additional buttons to the RTE and non-RTE.
So, I edited the tiny_mce_gzip.php file that I mentioned above. It seems to overide the tiny_mce.js file.
So far so good. I also created a small plugin to add additional functionality to the default TinyMCE editor, ie, colors, font families, etc.Following are the edits I made in tiny_mce_gzip.php to try to solve the bad handling of br and p elements.(I made the same edits in tiny_mce.js)
In Bold:
initArray = {
mode : "specific_textareas",
textarea_trigger : "title",
width : "100%",
theme : "advanced",
theme_advanced_buttons1 : "<?php echo $mce_buttons; ?>",
theme_advanced_buttons2 : "<?php echo $mce_buttons_2; ?>",
theme_advanced_buttons3 : "<?php echo $mce_buttons_3; ?>",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_path_location : "bottom",
theme_advanced_resizing : true,
browsers : "<?php echo $mce_browsers; ?>",
dialog_type : "modal",
theme_advanced_resize_horizontal : false,
entity_encoding : "raw",
relative_urls : false,
remove_script_host : false,
<strong>force_p_newlines : false,
force_br_newlines : false,
convert_newlines_to_brs : false,
remove_linebreaks : false,</strong>
save_callback : "wp_save_callback",
document_base_url : "<?php echo trailingslashit(get_bloginfo('home')); ?>",I also modified the
else // Use a much smaller set
$valid_elements =
around line 120, because it seemed that the changes I made to the full list didn’t help.
(You’ll see a very lengthy list of elements located around line 113)
// Set up init variables
if ( current_user_can('unfiltered_html') ) // Use the full XHTML set provided in the docs
$valid_elements =Here’s a text file that can be downloaded that shows the elments I used. It’s too lengthy to post here. http://mainewebworks.com/wordpress/TinyMCE_valid_elements.htm
I used the same list of elements in the tiny_mce.js.
I’m not sure if this will completely solve your problem, but it helped to prevent
closing tags overwriting the
tags I hand coded.Forum: Fixing WordPress
In reply to: Invalid URL, Google saysI can confirm that the latest version of SEM Static Front Page also corrects the problem. Version 2.4 4/23/2006
The downlaod link at http://www.semiologic.com/software/static-front/ still shows the anchor text for version 2.1, but the .zip contains the latest rev.
P.S.
Love Google Sitemaps plugin!!!Forum: Fixing WordPress
In reply to: Invalid URL, Google saysI can confirm that the latest version of SEM Static Front Page also corrects the problem. Version 2.4 4/23/2006
The downlaod link at http://www.semiologic.com/software/static-front/ still shows the anchor text for version 2.1, but the .zip contains the latest rev.
P.S.
Love Google Sitemaps plugin!!!Forum: Fixing WordPress
In reply to: Newbie: Move blog to another pageForum: Fixing WordPress
In reply to: TinyMCE Rich Editor Documentation for WP 2I posted the changes I made to the tiny_mce.js file in this thread-http://ww.wp.xz.cn/support/topic/73161?replies=8. But the testing failed miserably.
If anyone has a url for documentation on the TinyMCE Install of WP 2.02, please post it here or the thread linked above.
Thanks!! 🙂
Forum: Fixing WordPress
In reply to: Force line break inspite of Tiny MCE editor using a Mac@ciryaquen: It appears not to be just a Mac or linux thing.
I’ve been trying to get my arms around this for a while now. Earlier today, I tried #2 you mentioned above and tested in MSIE6 and FF1.5 in Win XP Pro SP2. (I already use method #1).
Here’s what I tried –
this.defParam("force_br_newlines", true);
this.defParam("force_p_newlines", false);
this.defParam("convert_newlines_to_brs", true);
this.defParam("remove_linebreaks", false);
this.defParam("verify_css_classes", false);
this.defParam("verify_html", true);
this.defParam("apply_source_formatting", true);
this.defParam("inline_styles", false);
this.defParam("trim_span_elements", false);
this.defParam("convert_fonts_to_spans", true);
this.defParam("font_size_classes", 'fontSize1,fontSize2,fontSize3,fontSize4,fontSize5,fontSize6,fontSize7');
this.defParam("font_size_style_values", '');
this.defParam("doctype", '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">');
this.defParam("table_inline_editing", false);
this.defParam("fix_list_elements", true);
this.defParam("fix_table_elements", true);
FMI, here’s the link to the moxiecode reference for the configs above:
http://tinymce.moxiecode.com/tinymce/docs/reference_configuration.htmlThe doctype default was set to html 4.0…? and not even with a DTD using a URL.
But nothing above helped. I also modified the
this.defParam("valid_elements","");to allow better xhtml markup.I wonder if the tiny_mce_gzip.php plays a role, but I can’t find any documentation about the changes made to it for the port to WP and what role it plays.
My main complaint is the RTE html source editor and the non RTE editor would change my html to use
</p>without the opening tag instead of the<br />I wrote. And it would try to wrap everything into a paragraph.Now after the changes I made to tinymce, it doesn’t try to wrap everything in a
<p></p>but uses my source div’s as a container for text.For example, assume I have a container div and I want to insert text following the opening div tag. Before changes to the tiny_mce.js file, I’d get this garbage with and without the RTE on
<div id="CSS-P">
Text for testing </p>
<h2> blah blah h2 header</h2>
[other code...]
</div>With RTE on TinyMCE changes the html source like this after uploading the modified tiny_mce.js
<div id="CSS-P">
<div id="CSS-P">Text for testing</div>
<h2> blah blah h2 header</h2>
[other code...]
</div>when the correct source should be
<div id="CSS-P">
<p>Text for testing</p>
<h2> blah blah h2 header</h2>
[other code...]
</div>Right?
The site I’m working on validates because I stopped using
<br />or empty<p> </p>while pasting my code into the “non” RTE form – they’re not well-formed xhtml in the strict sense anyway. It just means more CSS.While pasting my html into the “non” RTE is ok for me to develop the blog’s initial look and feel, when the end-user gets it and edits pages, creates new posts, and etc., it appears that the Rich Text Editor, will make a mess of the code.
Worse case is it disrupts the layout and accessibility.
Forum: Fixing WordPress
In reply to: When edit pages it messes it all up.If you are comfortable just using html, turn off
Use the visual rich editor when writing
In your profile options.If not comfy with html, then the TinyMCE scripts have to be edited.
I’m currently working on editing mine and will post more when I’ve tested it out.
Until then, I’m using this page Configuration reference as reference to edit the /wp-includes/js/tinymce/tiny_mce.js file.
You’ll edit the file around line 90 after the comment // Set default values on settings
But, I’m not sure of the relationship between the tiny_mce.js file and the tiny_mce_gzip.php file b/c the tiny_mce_gzip.php has similar variables and is heavily edited to work with WP.
Forum: Fixing WordPress
In reply to: Image in DescriptionIn your header you have the following php and template tags:
<div id="header">
<h1><a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
<div class="description"><?php bloginfo('description'); ?></div>
</div>So, add the smile image in the code for the description.
First decide which directory you will store the image and then modify the description code:
<div class="description"><?php bloginfo('description'); ?> <img src="blog/images/smile.gif" alt=" " /></div>This will only add the image at the end of your description. You’ll have to add html and css rules to do more with it.
Here’s an overview to reference: http://codex.ww.wp.xz.cn/Using_Images