Page 2 of 2
Re: "Related" Templates similar to Teaser
Posted: Sat 12. May 2012, 14:37
by jsw_nz
Hi Oliver
those parameters
Code: Select all
http://www.kellpax.ch/index.php?aid=31&cmsgo_output_action=F-split_ajax--S-AJAX
&cmsgo_output_action=F-split_ajax--S-AJAX
could you explain - you say it outputs only slected wcms elements?
-j-
Re: "Related" Templates similar to Teaser
Posted: Sat 12. May 2012, 15:00
by Oliver Georgi
Good start is
this
To catch a section wrap it this way in your template
Code: Select all
<!--MYSECTION_START//-->
Oh Whatever Content this is...
<!--MYSECTION_END//-->
Then try a link like this:
Code: Select all
http://example.com/index.php?alias&phpwcms_output_action=F-trim--S-MYSECTION
Re: "Related" Templates similar to Teaser
Posted: Sat 12. May 2012, 22:10
by jsw_nz
Hi Oliver
I just embedded:
Code: Select all
<!--MYSECTION_START//-->
existing page content...
<!--MYSECTION_END//-->
into an existing phpWcms page and it works! I never knew this..wow.... what a nice surprise!
******************************************************
Quick question on CSS @font-face (I have not spent much time on this)
As you know Cufon requires you to upload your font (TTF in my case) - then you download the js file.
- is there anything additional I need to do to use CSS @font-face? Are they 'processed fonts' like Cufon?
I have need of a special branded font -- Grotesque MT Light Condensed - the company owns the font -- must be used
Is there anything additional I need to do? - can I just upload the TTF font to the web server and point to the URL?
just asking first - cheers and thanks again
jsw_nz
Re: "Related" Templates similar to Teaser
Posted: Sat 12. May 2012, 22:13
by Oliver Georgi
use FontSquirrel to convert the font to the formats necessary to support all kind of browsers. FontSquirrel will deliver a sample CSS too.
Re: "Related" Templates similar to Teaser
Posted: Sun 13. May 2012, 02:03
by jsw_nz
Hi Oliver
Just got it to work - had to find a similar face - now looking good.
(I did notice Cufon took a split second to render - so this is a better way)
BTW - this is based on css3 - what is the market share of
non-css3 browsers...
guessing its not very high - just curious -
cheers
Re: "Related" Templates similar to Teaser
Posted: Sun 13. May 2012, 06:50
by Oliver Georgi
compatible with nearly all browsers in useā¦