Forum Replies Created

Viewing 15 replies - 61 through 75 (of 136 total)
  • elarson

    (@elarson)

    I am trying to get the custom posts looking like how they do in the Etys Importer header with the “Hello World” screenshot with the red/black shirt. Would it be possible to give a quick overview about how it was done to show the image thumbnails in the post and not just as a featured image?

    I’m having the same problem. The first image is imported as the featured image, and does appear in the media library, but no other images are imported and no images appear in the custom post.

    N.B. I’m using the Graphene theme if that makes a difference.

    I was able to get the development version 1.1.0b20140331 working. The problem seems to be if I selected a Header Logo Image. I tried it with the default logo supplied and my own logo with the same results.

    I also got the setLIsymbol working, but only when it is a jpg file. When I tried it as a png it did not work. It is also interesting to note that it seems to replace ordered list items “ol” with the image also.

    elarson

    (@elarson)

    Hi Lewis,

    I decided to take a different approach with the list bullet images. Rather than do them as lists, I am now doing them as tables with images. It is not the most elegant solution, but I think it will get me what I need. I get the impression that the TCPDF limitations and the need for various lists was going to be too much for the short term.

    I never managed to get the development version working beyond the first time I tried it. That was after testing on another site also. I think I will wait until you have some time to do more on it.

    And also, the issue with two instances of the plugin showing up in the plugin list seemed to resolve itself on both sites also.

    You can go ahead and close this out now.

    elarson

    (@elarson)

    I kept missing that link and was manually downloading the files. Many thanks. I had a working for a moment, but seemed to do something that I know get the http://dslocks-hoc.pitlarson.com/demo/?format=pdf with no PDF. I’ve had this before, and just need to figure out what I did wrong. I will keep you posted.

    elarson

    (@elarson)

    I still can’t get the trunk build to work. Possibly I am missing some files? Here is what I downloaded from Subversion repository:
    884921 wp-post-to-pdf-enhanced\asset\css\admin.css
    884921 wp-post-to-pdf-enhanced\readme.txt
    884921 wp-post-to-pdf-enhanced\wp-post-to-pdf-enhanced.php
    882045 wp-post-to-pdf-enhanced\wpptopdfenh_header.php
    884921 wp-post-to-pdf-enhanced\wpptopdfenh_options.php
    882045 wp-post-to-pdf-enhanced\wpptopdfenh_shortcodes.php

    elarson

    (@elarson)

    Sorry to not get back sooner. I’ve struggled with trying to download the development version. Even if I get that working, my concern is that I really need 3 different list images (standard, warning, and information). That would mean that I would need this to work in CSS to be usable.

    No apologies or thanks needed Lewis. I’m well aware of the caveats for working on development code.

    I’m going a bit nuts, because on one site I got it working after deleting the wpptopdfenh row, but not on the other. Of course, it is not the site I need it on, so I have not yet been able to test changing the code for setLIsymbol.

    Just as a note, on both sites, I appear to have two listings for “WP Post to PDF Enhanced” on the plugin page. I checked many times to make sure I had deactivated, deleted and then checked to make sure everything was deleted from the server.

    I’ll let you know if I can figure out why it is not working on one of the sites. Please let me know if you get any further.

    Hi Lewis,

    I did follow the instructions “Notes for using the development version” and did it on 2 sites with the same results — existing settings being preserved, but no PDF generation.

    I’ll give it a go later tonight with with deleting the wpptopdfenh row and will let you know.

    Regards,
    Ellyn

    Hi Lewis,

    I’ve downloaded the 1.1.0b20140325 Development Version (svn). I’m not able to get it to produce PDF, so I have not been able to test what you wrote.

    Can you let me know if you upload another SVN?

    Just as a note, I had no problems going from the stable version 1.0.4 with prior data being preserved.

    Regards
    Ellyn

    Hi Lewis,

    I’ve tried hundreds (if not thousands) of combinations of CSS and HTML “style” markup along with putting the images in many different locations.

    Can you take a lot at the test page I made, specifically at Test 4: Marked up as unordered lists with list-style-type in HTML “style”

    I have an expectation that at minimum the code I used for this should work, because it was taken from the examples at http://www.tcpdf.org.

    I’ve included the HTML and a link to the source code where it is documented, the examples, and links to the locations where I have copied the images.

    Can you maybe ask Nicola about this?

    About list images, image location, Twitter Bootstrap shortcodes, etc, I think it might help if I explain what I’m trying to accomplish.

    I’m working on technical documentation. I want to include 2 admonitions (alerts) for warnings and additional information. Ideally, I would like to mark these up as div’s or as unordered lists with an image for the bullet. To give you an idea, please see http://dslocks-hoc.pitlarson.com/admonitions-test

    The images that I would like to use are Glyphicons (http://glyphicons.com) that are also used in Twitter Bootstrap. That is why I was testing shortcodes, in the hopes that it would work for screen as well as print — no chance.

    That is why I had mentioned the following, and also asking where the image location was:

    …I would like to render a list with an image for a bullet as given in the last example at: http://www.tcpdf.org/examples/example_006.phps and http://www.tcpdf.org/examples/example_006.pdf.

    Can you tell me where it is going to look for images? I’ve tried various locations without any luck. Here is the code:

    <h1>Test custom bullet image for list items</h1>
    <ul style="font-size:14pt;list-style-type:img|png|4|4|images/logo_example.png">

    After a lot of trying, I can’t seem to get the in-line HTML style to work or the image to appear. Of course, the best solution will be to have it in the CSS, but I think the chance of that is highly unlikely.

    BTW, I’m not big on social media either, but the design of the Glyphicons used in Twitter Bootstrap are nice and simple.

    About, it appears that the fonts configured in the settings are being applied after the CSS.

    I’ll look later and give you something more definitive. I believe that TCPDF prioritizes HTML over CSS. Are you finding that your CSS for the font size (in your example style tag) is being overwritten or ignored, or is there some other font issue happening?

    I figured out what the problem was. In the CSS I had used grouped selectors for the color property and then set the font-family per selector. The font-family per selector was ignored. I’m learning to not use any shorthand features.

    And to verify what you wrote, the HTML has precedence over the CSS, and the CSS has precedence over the Content Font configured in the settings.

    Thread Starter elarson

    (@elarson)

    I’m not sure what I have done to this thread to make it so hosed. Sorry about that. Too much CSS today….

    Thread Starter elarson

    (@elarson)

    I also did some testing with trying to get some Twitter Bootstrap shortcodes and plugins to work, also with no luck. The ones I tried were: WordPress Twitter Bootstrap CSS, Bootstrap Shortcodes for WordPress, Easy Bootstrap Shortcode and Bootstrap Glyphicons in Visual Editor.

Viewing 15 replies - 61 through 75 (of 136 total)