Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > General Discussion > Customizations (Themes / Templates)

Customizations (Themes / Templates) Help with customizing the themes and templates. Post your own custom themes for others to enjoy.

Closed Thread
 
Thread Tools Search this Thread Display Modes

How Css Is Parsed???
Old 04-03-2006, 07:18 AM   #1
cberks
ChrisBerks
 
cberks is offline
Join Date: Mar 2006
Posts: 30
Default How Css Is Parsed???

Instead of having 2 versions of an event one a short one and the other an extended one i am using a <div> within the text and a css statement display: none to hide the extended text in one template and display: inline to display it in another template

I understand that by resetting variables one can have various 'types" of list in the same page and that in a template one can change which of the field ie title descr are included but it appears that one cannot have two variants of the same css statement on one page (I am not that familiar with css is all css parsed first and then the page processed? making the last <div class the one that is used?) or should it be possible to have on the same page one list with display: none; in its template and another on the same page with display: inline; in ints template

Regards, Chris
 

Old 04-03-2006, 07:59 AM   #2
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

For that you should probably just use a different template. Copy the /templates/file.php that you're using, and modify it to hide the description. Then call that new template in the $template="whatever"; statement.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

I am using 2 templates on same page
Old 04-03-2006, 08:18 AM   #3
cberks
ChrisBerks
 
cberks is offline
Join Date: Mar 2006
Posts: 30
Default I am using 2 templates on same page

I am using 2 templates on the same page one with display: none and one with display: inline but only one of these statements is active for the whole page it appears -- have not yet tried to work out in which order the templates are resolved but presume last one's display statement prevails - I will do more testing
 

Old 04-03-2006, 09:54 PM   #4
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

No no... not the CSS of the template... the template itself. Modify it so that the [description] placeholder is just not there. If you only modify the CSS the classes will overwrite each other.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

CSS statements overwriting each other
Old 04-03-2006, 10:39 PM   #5
cberks
ChrisBerks
 
cberks is offline
Join Date: Mar 2006
Posts: 30
Default CSS statements overwriting each other

That was my basic question "do the CSS statement? Yu have answered that - thanks! I have a page with a list down the side with only titles (ie descr removed from the template and the right side of the page is the blog with comnplete description and then on my home page I have the same event from the left list on the blog page but with the <div display: none statement in the CSS of the template so that on home page i show short description (not to be confused with title)

What I was attempting was to have title and short descr and title and long descr on same page which as you say will not workj as CSS overwrites thanks for confirmation

Regards, chris
 

Old 04-04-2006, 07:20 AM   #6
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

I tried to look at your page and I'm unable to understand exactly what you mean with title short description and long description... The calendar only provides Short Description (aka Title) and Details (Long Description).

If you could take a screen shot of your page and explain exactly what you're trying to acheive, we might be able to find a solution for you.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
List Mode CSS smjohn Customizations (Themes / Templates) 3 01-29-2006 10:11 AM
Matching visuals to CSS harveyk Customizations (Themes / Templates) 8 12-23-2005 10:36 AM
Integration into existing page with CSS chronisj General 6 10-02-2005 10:18 PM
CSS Style Not Applying mr7perfect General 5 07-01-2005 11:19 AM
CSS not applying Christian025 General Support 7 04-14-2005 11:55 AM



All times are GMT -4. The time now is 05:24 AM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |