"Related" Templates similar to Teaser

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
User avatar
jsw_nz
Posts: 907
Joined: Fri 2. Apr 2004, 02:42
Location: New Zealand

Re: "Related" Templates similar to Teaser

Post 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-
User avatar
Oliver Georgi
Site Admin
Posts: 9889
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: "Related" Templates similar to Teaser

Post 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
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
jsw_nz
Posts: 907
Joined: Fri 2. Apr 2004, 02:42
Location: New Zealand

Re: "Related" Templates similar to Teaser

Post 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 :wink:
jsw_nz
User avatar
Oliver Georgi
Site Admin
Posts: 9889
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: "Related" Templates similar to Teaser

Post 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.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
jsw_nz
Posts: 907
Joined: Fri 2. Apr 2004, 02:42
Location: New Zealand

Re: "Related" Templates similar to Teaser

Post 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 - :wink:

cheers
User avatar
Oliver Georgi
Site Admin
Posts: 9889
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: "Related" Templates similar to Teaser

Post by Oliver Georgi »

compatible with nearly all browsers in use…
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply