Log in | Register | Lost password

Goto page: 1 - 2 [+1]

Bottom
Display publication title in flash dynamic text
  • Posted: 16.10.2007, 09:44
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Hi there !

    Due to graphic chart obligation, I need to display the title of the pagesetter publication through a dynamic text in flash!

    Is someone know how to make this?

    Many thanks for the help !!!



    edited by: zmimi83, Oct 16, 2007 - 10:44 AM
  • Posted: 16.10.2007, 11:46
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    I use sIFR to do that:
    http://www.mike…tries.com/sifr
  • Posted: 16.10.2007, 13:28
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Better option: Smarty imagetext plugin:
    http://www.cerdmann.com/imagetext/
  • Posted: 17.10.2007, 10:11
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Hi RemShowdown,

    Many thanks for the info.

    Quote

    Better option: Smarty imagetext plugin:
    http://www.cerdmann.com/imagetext/


    I try to install on PostNuke 0.764 + Pagesetter (last version) + Autotheme ATblue theme, but the text doesn't display in the right font !

    See : http://www.cc2s.fr the title of the pagesetter list pub (SITE EN CONSTRUCTION) should display an ozHandycraft font.

    In the setting instruction, it's spoken about "loading prefilter", what does it means?





    edited by: zmimi83, Oct 17, 2007 - 11:13 AM
  • Posted: 17.10.2007, 13:26
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    The instructions are on the website and are pretty easy to follow... either way:

    1.) download the package (block.imagetext_block.php, function.imagetext.php,
    prefilter.imagetext.php,
    shared.imagetext.php)

    Upload theses files to "includes/classes/Smarty/plugins"

    2.) In your site's root create a folder called "textcache" and inside it create two more folders: "fonts" and "cache" and finally create a file called styles.ini and save that inside the folder "textcache" Make sure that the permissions on the folders(chmod) are set to 777 (universally writable.)

    3.) Upload your font to the folder"textcache/fonts/yourFont"

    4.) Modify "styles.ini" as you wish. Take note that font names are case sensitive.

    5.) Use this method to call the plugin:

    Code

    <!--[imagetext text="$variable" ]-->

  • Posted: 17.10.2007, 14:22
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    1.) to 4.) All those steps have been followed!

    5.) I've used the following method :

    Code

    <big_bright><!--[imagetext text="$core.title" ]--></big_bright>


    To call the plugin, but I've the following error message :

    "Fatal error: Call to a member function on a non-object in /homepages/43/d147297902/htdocs/cc2s/includes/classes/Smarty/plugins/shared.imagetext.php on line 111"

    Which mistake have I made?

    Many thanks for your help!!!



    edited by: zmimi83, Oct 17, 2007 - 03:23 PM
  • Posted: 17.10.2007, 14:42
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Get rid of the:

    Code

    <big_bright></big_bright>

    That's a redundant call that won't work in postNuke

    Also- you may want to open shared.imagetext.php and see what's on line 111 that's causing the error... I'm at work and can't do it for you but the code will tell you what it's looking for and why the error is being triggered...
  • Posted: 17.10.2007, 14:50
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    The line 111 says :

    if (empty($params['style'])) { $smarty->trigger_error("imagetext: missing 'style' parameter"); return; }

    It certainly means that the parameter of style is missing! Do you know how to precise it?
  • Posted: 17.10.2007, 14:55
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Duh...oops...sorry

    add to the call...



    "yourStyle" is one of the styles you defined in your style.ini






    edited by: RemShowdown, Oct 17, 2007 - 04:32 PM
  • Posted: 17.10.2007, 15:33
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    The forum is crunked and not showing my edits...

    your call should look like:

    imagetext s t y l e="big_bright" text="$core.title"


    Note- the forums are seriously messed up and snipping my posts... I had to add spaces to the style call otherwise it wouldn't show...of course you should remove the spaces



    edited by: RemShowdown, Oct 17, 2007 - 04:35 PM
  • Posted: 17.10.2007, 15:50
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    OK it works fine now !

    Do you know the smarty way to write the variable concerning the pn blocks titles.

    I already try with :

    Code

    <!--[imagetext text="$block-title" ]-->



    and



    <!--[imagetext text="block-title" ]-->


    but it doesn't work !
  • Posted: 17.10.2007, 16:43
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Um...

    You're working with Autotheme...correct...

    You'll have to add the imagetext call to the template for your blocks. It's been a while since I used Autotheme but whenever you create a block you have to specify a template to use with that block- so find that template and in it you should see the call for the block title...jut add the imagetext call to that...
  • Posted: 19.10.2007, 07:44
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    I've already follow this way.

    The syntax of the call, in the autotheme template, for the title of the block is :

    Code

    <!--[block-title] - - >


    I've already tried :

    Code

    <!--[imagetext text="$block-title" ]--> and <!--[imagetext text="block-title" ]-->


    but it doesn't work.

    An idea?








    edited by: zmimi83, Oct 19, 2007 - 08:47 AM
  • Posted: 19.10.2007, 14:50
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Hmm...

    Again, I don't know AT so well any more since switching to Xanthia...

    the call in the AT template is not a smarty variable but rather an autotheme command so calling it by $block-title will not work...

    My guess is that you'll have to go into AT's custom command feature and create one (or modify the existing one)... Refrence the manual and perhaps ask around on the AT forum...
  • Posted: 19.10.2007, 17:34
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    OK,

    It's maybe time for me to switch to Xhantia!

    Do you know a tutorial, or a reference text explaining the use of Xhantia and modifications which are possible to make in it?

    Many thanks by advance!

Goto page: 1 - 2 [+1]

Template courtesy of Designs By Darren.