Forums » Installation

Typogrify?

georgemorgan
UNITED KINGDOM
2008-08-15 22:07:18
 

Is there an equivalent to, or would it be possible to implement something similar to, Typogrify for Indexhibit?

I'm not going to make any demands here, as it seems Vaska has plenty on his hands already, but if someone else shared the desire for this kind of functionality and possesses the technical know-how...

georgemorgan
UNITED KINGDOM
2008-08-15 22:14:38
 

Just realised this probably should have been posted in the "Customize" section, whoops.

Vaska A
I WROTE THIS
2008-08-16 10:35:18
 

Doesn't need a plugin...just work it into your template.

Vaska A
I WROTE THIS
2008-08-16 10:38:58
 

And, don't be surprised if one of these css frameworks appears in the next version. ;)

georgemorgan
UNITED KINGDOM
2008-08-16 13:20:44
 

By work it into the template, do you mean it's possible to mix PHP and Python (Django) in the same file? Apologies if that sounds particularly stupid, my knowledge of these things is very limited.

Also, would the css framework you're referring to be this one by any chance?

Vaska A
I WROTE THIS
2008-08-16 14:01:00
 

No, not blueprint.

redhood
UNITED STATES
2008-08-16 23:08:10
 

Oh that's some exciting news Vaska! Anyhow, George, here are some articles and tools that might interest you...

Use the Best Available Ampersand
Letterspace and smallcaps for acronyms PHP
jQueryWidon't
PHP Smartypants and
MarkItUp!

georgemorgan
UNITED KINGDOM
2008-08-16 23:36:34
 

Rehood, some useful links there, thanks!

georgemorgan
UNITED KINGDOM
2008-08-16 23:58:29
 

Right, I've been trying to plug PHP SmartyPants into the default template. It comes as a single php file, which I'm told to include then invoke the particular function:

  1. include_once "smartypants.php";
  2. $my_text = SmartyPants($my_text);

Unfortunately, this means almost nothing to me so I just guessed and chucked:

  1. < ?php include_once "smartypants.php"; $my_text = SmartyPants($my_text); ?>

At the the top of the 'index.php' file for my particular template. Unsurprisingly, this did absolutely nothing. I'm sure this must be incredibly simple, so if anyone could point me in the right direction... ?

georgemorgan
UNITED KINGDOM
2008-08-16 23:59:18
 

(Err... I think I broke something on the forum!?)

Vaska A
I WROTE THIS
2008-08-17 00:13:24
 

It's not that simple...and what you are doing here wouldn't effect your text at all.

In the next version this will be alot easier...there are limitations that occur because of the current architecture...I've solved this problem...will be much more simple to write plugins down the road.

georgemorgan
UNITED KINGDOM
2008-08-17 00:26:18
 

Oh right, ok. I think I'll stay well away from the code for the time being then! Any rough idea when the next version is coming?

Vaska A
I WROTE THIS
2008-08-17 00:36:22
 

As soon as I stop lurking this forum I will have time to work on it.

Showing 1 - 13 of 13 posts in Forum > Installation > Typogrify?
 

You need to be logged in to post.