ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

ee_typography plugin

August 04, 2010 6:29pm

Subscribe [5]
  • #1 / Aug 04, 2010 6:29pm

    Oscar Sanchez

    27 posts

    Do you guys deleted the url for this plugin. Do you have idea where i can find it?

    http://expressionengine.com/downloads/details/ee_typography/

    Thank you

  • #2 / Aug 04, 2010 11:33pm

    Lisa Wess

    20502 posts

    This add-on is no longer available.  Are you trying to force something in your template to run through the Typography parser?  If so, please try XHTML Typography.

    If that will not work, please share some details of what you are trying to accomplish.

    Thank you!

  • #3 / Aug 05, 2010 12:35am

    Oscar Sanchez

    27 posts

    Hello Lisa.

    I have a query printing some custom fields. i try it in different ways but i have a problem when i try to bring a image custom file.
    so i wanna use the plugin to convert the https://ellislab.com/asset/images/team-photo/ into the source.

    Do i make it clear?

  • #4 / Aug 05, 2010 1:11am

    Lisa Wess

    20502 posts

    The typography plugin I linked to should help with that, can you give it a shot?

    And I know you meant the filedir_# variable. =)

  • #5 / Aug 05, 2010 10:53am

    Oscar Sanchez

    27 posts

    Sorry Lisa, it doesn’t work

    This is how look

    /phpthumb/phpThumb.php?src=..{exp:xhtml:full}{imagen}{/exp:xhtml:full}&w=60

    and brings

    {filedir_#}literatura.jpg
  • #6 / Aug 05, 2010 11:19am

    Lisa Wess

    20502 posts

    What is imagen, Oscar?  Is it a custom field or a different type of variable?

    Can you also show your full code?

  • #7 / Aug 05, 2010 11:21am

    Oscar Sanchez

    27 posts

    Yes, {imagen} is my custom field

    Here’s the code

    {exp:query paginate="top" limit="5" sql="SELECT 
                            a.cat_id,
                            b.title,
                            b.url_title,
                            b.entry_date,
                            c.field_id_1 as sumario,
                            c.field_id_4 as local,
                            c.field_id_5 as ubicacion,
                            c.field_id_9 as imagen,
                            c.field_id_12 as hora,
                            c.field_id_19 as fecha_inicio,
                            c.field_id_20 as fecha_culminacion
                        FROM 
                            exp_category_posts as a,
                            exp_weblog_titles as b,
                            exp_weblog_data as c
                        WHERE
                            a.entry_id = b.entry_id 
                        AND 
                            b.entry_id = c.entry_id
                        AND 
                            a.cat_id = 6
                        AND 
                            c.field_id_4 = 'CCEJS'
                        AND 
                            c.field_id_20 >= UNIX_TIMESTAMP(CURDATE())
                        AND 
                            c.field_id_19 < UNIX_TIMESTAMP(CURDATE())
                        AND 
                            MONTH(FROM_UNIXTIME(c.field_id_19)) < MONTH(NOW())"
                    }
    
                    <div class="resumen">
                        
                        <h1><a href="http://{path=agenda/detalles_vigentes}{url_title}">{title}</a></h1>
                        /phpthumb/phpThumb.php?src=..{exp:xhtml:full}{imagen}{/exp:xhtml:full}&w=60  
                        <div class="resumen_info">
                            <small> {if fecha_inicio && fecha_culminacion && fecha_inicio != fecha_culminacion}<span>Desde:</span>{fecha_inicio format="%d/%F/%Y"} a {fecha_culminacion format="%d/%F/%Y"}   {if:else}-<span>Fecha:</span> {entry_date format="%j de %F de %Y"} - {/if}<span>Lugar:</span> {local} - <span>Ubicación:</span> [{ubicacion}]  {if hora} - <span>Hora:</span> {hora}{/if}</small>
                            <div class="linea">
                                <hr >
                            </div>
                            {sumario} 
                            <ul class="read_more">
                                <li> <a href="http://{path=agenda/detalles_vigentes}{url_title}">Leer artículo completo</a> › </li>
                            </ul>
                        </div>
                    </div>
                    {paginate}
                    {pagination_links}
                    {/paginate}
                    {/exp:query}
  • #8 / Aug 05, 2010 6:56pm

    Brandon Jones

    5500 posts

    Hi Oscar,

    {imagen} is displaying properly on its own, correct? What’s your expected output?

  • #9 / Aug 05, 2010 7:07pm

    Oscar Sanchez

    27 posts

    Yes it does, but it bring {filedir_#}literatura.jpg instead of http://mysite/images/uploas/literatura.jpg

    I wanto to parse the {filedir_#} with the plugin and doesn;t work either…

  • #10 / Aug 06, 2010 5:38am

    John Henry Donovan

    12339 posts

    Oscar,

    I am wondering why you are using a Query in this case and not the weblog:entries tag?

    Any time I use phpThumb I use the Parse Urls plugin to just give me the path to the image of a custom field.

    /phpthumb/phpThumb.php?src={exp:parse_url parts=
  • #11 / Aug 06, 2010 10:51am

    Oscar Sanchez

    27 posts

    What the query do is to filter by a custom field where i write down some event date, what trying to do is to bring all the present and future entries by filtering from this custom field.

    I trying out with the Parse URLs Plugin and it doesn’t work :(

    /phpthumb/phpThumb.php?src=..{exp:parse_url}{imagen}{/exp:parse_url}&w=60

    I use on the parse but i don’t know why i couldn’t paste on the code parts=“path|query”

  • #12 / Aug 06, 2010 7:37pm

    Brandon Jones

    5500 posts

    Oscar, how about:

    https://ellislab.com/asset/images/team-photo/{imagen}

    That outputs the image properly, correct?

  • #13 / Nov 05, 2010 1:12pm

    Sprocketeer

    37 posts

    I know this thread is a few months old, but I’m having the same trouble and the XHTML plugin doesn’t appear to be working…

    The https://ellislab.com/asset/images/team-photo/ is running through the {exp:query} loop and isn’t rendering. Looks like this:

    {exp:xhtml:light}{field_id_9}{/exp:xhtml:light}

    It just returns:

    https://ellislab.com/asset/images/team-photo/image.jpg

    Any ideas? Thanks!

  • #14 / Nov 05, 2010 1:33pm

    Sprocketeer

    37 posts

    Never mind, I solved it: just make

    https://ellislab.com/asset/images/team-photo/

    a global variable equal to the path set in upload prefs, works like a charm.

  • #15 / Nov 06, 2010 3:44pm

    Greg Salt

    3988 posts

    Hi Sprocketeer,

    Glad that you got this sorted out and thanks very much for the update.

    @Oscar, closing this thread since a solution has been posted.

    Cheers

    Greg

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases