How do I embed a custom object that uses my own css ? ? ?

Author Message

cousin mosquito

Wednesday 21 October 2009 6:48:34 pm

I have created my own separate site-access and DB which is running well.

I am wanting to add some static info to the front page of my Ezpublish site.
It looks like I have two choices.

1. To use the "web-editor" GUI to create something based on tables, which looks pretty limiting, as far as adding decoration goes.

2. To embed an object which is already existing as they have done in the standard front page examples, or to create an object to embed.

Option 1.
If I use option ,1 the number of "classes" I can call on to decorate my table are limited:
- None
- List
- Timetable
- Comparison Table
- Default

Can I create my own "classes"?
Where would they live?
How do I make the system know where they live?

Option 2.
Where can I find documentation on how to create an object that allows me to reference my added CSS styes?

The kind of object I am imagining is a three or four vertical columns with separate borders, with header, body and link text in a bulleted list.
The links would not need to be dynamic at all.

Is there any documentation on this kind of thing?

I would have thought this was a fairy standard request given that not many people are going to stick with the Lyon template!

Asking the dumb questions for your benefit

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 03:26:52
Script start
Timing: Jan 31 2025 03:26:52
Module start 'layout'
Timing: Jan 31 2025 03:26:52
Module start 'content'
Timing: Jan 31 2025 03:26:52
Module end 'content'
Timing: Jan 31 2025 03:26:52
Script end

Main resources:

Total runtime0.0222 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0043 588.3750151.2422
Module start 'layout' 0.00430.0034 739.6172220.7344
Module start 'content' 0.00770.0128 960.3516997.8516
Module end 'content' 0.02050.0016 1,958.203129.9922
Script end 0.0221  1,988.1953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002611.8731140.0002
Check MTime0.00114.7807140.0001
Mysql Total
Database connection0.00062.652810.0006
Mysqli_queries0.00198.545830.0006
Looping result0.00000.044110.0000
Template Total0.00125.310.0012
Template load0.00094.092210.0009
Template processing0.00031.227410.0003
Override
Cache load0.00062.757210.0006
General
dbfile0.00093.844780.0001
String conversion0.00000.025840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs