y01nk Registered Users
 Nuke Master Posts:201


 |
| 5/21/2006 9:34 PM |
|
Posted By smcculloch on 5/21/2006 4:14 PM I looked at your site, y01nk, it looks ok now?
Yes, Scott- I have it dialed in- Thanks!
My problem was not having portal FTP access... so I was unzipping the PA, unzipping the Resources, tweaking it, zipping it all up and reinstalling it.
:bleck:
Now I have FTP access to the portal root, and I am just absolutely dizzy laughing over how I can customize the whole templated thing.
|
|
 |
|
|
Haris Sheikh Registered Users
 Nuke Active Member Posts:43

 |
| 5/22/2006 12:30 AM |
|
| I think the best solution would be to provide a stylesheet editor specific to news articles module. |
|
|
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12450


 |
| 5/22/2006 7:36 AM |
|
| Yes, I would like to include a template editor that would allow you customize HTML and the stylesheet would be the best option. |
|
Scott McCulloch Site Administrator |
|
|
Haris Sheikh Registered Users
 Nuke Active Member Posts:43

 |
| 5/25/2006 11:53 PM |
|
this is my client's response (issue 25 is about the design of news articles module):
It doesn't look like the this build has fully solved issue 25. Looking at the source of the page, it seems that tables rather than divs have been used to layout the articles. Is there a reason for this? Also, it looks like on each portal, Template.css is included after skin.css. This makes the probem worse because we have no way to edit Template.css. Ideally skin.css should be included last so that we can override Template.css if we like. Is it possible to have a build addressing these issues done today?
You can have a look here: http://82.165.183.6/demo5/harold/Issues/tabid/2014/articleType/ArticleView/articleId/10/Test-Article.aspx
My client has no access to ftp so they cannot update template.css. In view article page, template.css is included even after portal.css due to which we have to it is over riding settings in portals.css. Could you please tell me what reply should I give to the client and how to update the problem on view article page (which I have mentioned).
This is the only module which is givng me problem from clinet as it is not using portal's skin and container. |
|
|
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12450


 |
| 5/26/2006 12:16 AM |
|
Looking at your test page, it is NOT using the portal's skin and container, so I am not sure what you mean by that statement?
http://82.165.183.6/demo5/harold/Issues/tabid/2014/articleType/ArticleView/articleId/10/Test-Article.aspx
I see the link in your latest articles module it links to the admin skin, you can change this behaviour by going and modifying the view options with launch links set to false. This will link to the article so it is NOT in the admin skin.
I do use tables, but because of the template system, you can use any layout you desire by simply creating a new template consisting of HTML files and CSS files.
I'll be reorganising template.css to be placed before the other stylesheets, but it will not be today. (possibly over the weekend) |
|
Scott McCulloch Site Administrator |
|
|
Haris Sheikh Registered Users
 Nuke Active Member Posts:43

 |
| 5/26/2006 3:22 AM |
|
I mean that by default the module should use portal's skin and menu. Right now it is using its own templating and template.css which is not desirable (atleast for me).
What do you mean by Launch links? I am really unable to comprehend its use.
That would be so nice of you if you can update code (reorganising templat.css) over the weekend. I think the client can wait by that time. |
|
|
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12450


 |
| 5/26/2006 3:32 AM |
|
"What do you mean by Launch links? I am really unable to comprehend its use"
When Launch links is set to true, it will use the admin skin. You can change the behaviour by going to your "LATEST ARTICLES" module, and clicking the view options from the menu. Uncheck the "LAUNCH LINKS" option and click update. Once you have done this, articles from the latest articles module will link accross to the normal skin and not the admin skin.
The reason I have an option to use or not use the admin skin (called launch links), is that if you place 2 instances of the SAME MODULE (News Articles) on the screen, it does not behave as expected as they use a shared key in the URL.
I have made a code change to the module now, to make LAUNCH LINKS off by default in the LATEST ARTICLES module. I will release this along with the reorg of styles. (Although it is an option that you can change now) |
|
Scott McCulloch Site Administrator |
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12450


 |
| 5/26/2006 3:33 AM |
|
"I mean that by default the module should use portal's skin and menu. Right now it is using its own templating and template.css which is not desirable (atleast for me). "
One more thing, it is from the LATEST ARTICLES module, which is a mistake, if I visit your actual article from the link you showed me, it's not using the admin skin correct?
http://82.165.183.6/demo5/harold/Issues/tabid/2014/articleType/ArticleView/articleId/10/Test-Article.aspx |
|
Scott McCulloch Site Administrator |
|
|
Haris Sheikh Registered Users
 Nuke Active Member Posts:43

 |
| 5/26/2006 4:27 AM |
|
"One more thing, it is from the LATEST ARTICLES module, which is a mistake, if I visit your actual article from the link you showed me, it's not using the admin skin correct?"
yes you are right it is not using admin skin. But I would like it to use the skin (basically stylesheet) which is being applied to the page. But template.css is overriding settings in portal.css and skin.css. So baiscally if template.css is moved before skin.css and portal.css then the problem would be solved.
What do you mean by: "One more thing, it is from the LATEST ARTICLES module, which is a mistake"
Is there any specific reason you are explaining Launch Links in reference to Latest Articles? Here is my understanding of Launch Links: If it is checked then the module will use admin skin for current portal otherwise it will use the normal skin for the portal. Right?
In my both News Aricles and Latest Articles modules Launch Link is set to false. You can see latest articles at: http://82.165.183.6/demo5/harold/Home/tabid/2009/Default.aspx (Issues) |
|
|
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12450


 |
| 5/26/2006 4:40 AM |
|
You kept saying Admin Skin, when really we are talking about stylesheet order, that's what was confusing me.
Also the fact that your latest articles on the home page, links to the admin skin (so I assume launch links is checked) for the module on this page:-
http://82.165.183.6/demo5/harold/Home/tabid/2009/Default.aspx
It links to:-
http://82.165.183.6/demo5/harold/tabid/2014/ctl/ArticleView/mid/2839/articleId/10/Test-Article.aspx (admin skin)
I think we can agree about the stylesheet order being issue, this was brought up about 6 months ago and the reason we decided on the current order, although I can see how it is causing problems now and will change it some time over the weekend. |
|
Scott McCulloch Site Administrator |
|
|
Marc Fragale Registered Users
 Nuke Newbie Posts:9

 |
| 5/28/2006 8:27 PM |
|
| I was facing a similar challenge. I see how the CSS can be changed on the initial "summary" section of the NewsArticle module. However, I got a bit lost on your last post regarding this topic. Please explain how to change the look of the module once the user clicks through to the "full" article. I'd also like to get rid of the dark green around the heading. |
|
|
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12450


 |
| 5/29/2006 6:07 AM |
|
I have now fixed this, you be able to take the styles and override them in your portal or skin stylesheet.
The styles are:- (For the default template)
.NormalWhite { font-family: Tahoma, Arial, Helvetica; font-size: 11px; font-weight: bold; color: #FFFFFF; } .articleQuote { font-family: Tahoma, Arial, Helvetica; font-size: 8pt; border-top: solid 1px #999999; border-bottom: solid 1px #999999; } .articleTitle { font-size : 14px; font-weight : bolder; color : #006600; }
.articleTable { background-color: black; margin: 0px; } .articleTopCell { background-color: #006600; color: white; font-weight: bold; padding: 6px; height: 25px; } .articleContentCell { color: black; padding: 6px; background-color: #FEFEFE; } .articleTextCell { color: black; padding: 6px; background-color: #FFFFCC; } .articleIconCell { background-color: #D0D0D0; width: 20px; } .articleFooterCell { color: #FFFFFF; padding: 3px; background-color: #80B288; height: 25px; }
|
|
Scott McCulloch Site Administrator |
|
|
Marc Fragale Registered Users
 Nuke Newbie Posts:9

 |
| 5/29/2006 12:15 PM |
|
Scott, I used your above style and tweaked it, then included it in the Portal and Admin Style Sheet Editor. It had zero effect. I still have the same color scheme as before. I tried it with and without " /* News Articles Custom Styles */ ", as you did not include that in your post. Am I missing something?
/* News Articles Custom Styles */ .NormalWhite { font-family: Tahoma, Arial, Helvetica; font-size: 11px;
font-weight: bold; color: #FFFFFF; } .articleQuote { font-family: Tahoma, Arial, Helvetica; font-size: 8pt; border-top:
solid 1px #999999; border-bottom: solid 1px #999999; }
.articleTitle { font-size : 14px; font-weight : bolder; color : #046492; }
.articleTable { background-color: black; margin: 0px; } .articleTopCell { background-color: #046492; color: white; font-weight: bold;
padding: 6px; height: 25px; } .articleContentCell { color: black; padding: 6px; background-color: #FEFEFE; } .articleTextCell { color: #999999; padding: 6px; background-color: #FFFFCC; } .articleIconCell { background-color: #D0D0D0; width: 20px; } .articleFooterCell { color: #FFFFFF; padding: 3px; background-color: #509AB9;
height: 25px; } |
|
|
|
|
Marc Fragale Registered Users
 Nuke Newbie Posts:9

 |
| 5/29/2006 4:36 PM |
|
Scott, This is a terrific module. The more I work with it the more I'm impressed. I'm still challenged by the CSS issue, and just realized that you created an update to the News Mod. When we upgrade to the newest version do we first need to delete the old one and all articles that have been written with the old version? Or is there a method to upgrade without having to lose posted articles? |
|
|
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12450


 |
| 5/29/2006 4:52 PM |
|
To upgrade, just install the module over the top of the existing module, it will update the necessary files and run the necessary scripts (while keeping your existing data, e.g. articles)
So you would go to host -> module definitions -> upload new module |
|
Scott McCulloch Site Administrator |
|
|
Marc Fragale Registered Users
 Nuke Newbie Posts:9

 |
| 5/29/2006 5:22 PM |
|
You, my friend are brilliant! Worked like a charm and took me all of a few minutes, once I used your update. Thanks again. Marc |
|
|
|
|
Robert Kakos Gold Membership
 Nuke Addict Posts:88


 |
| 6/06/2006 2:08 PM |
|
I am lost.... Way to sophisticated for me.
Can someone please explain, in plain language, what needs to be done to change the color to some other color. |
|
|
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12450


 |
| 6/06/2006 4:40 PM |
|
Hi Trebor,
Take the following styles:-
/* News Articles Custom Styles */ .NormalWhite { font-family: Tahoma, Arial, Helvetica; font-size: 11px;
font-weight: bold; color: #FFFFFF; } .articleQuote { font-family: Tahoma, Arial, Helvetica; font-size: 8pt; border-top:
solid 1px #999999; border-bottom: solid 1px #999999; }
.articleTitle { font-size : 14px; font-weight : bolder; color : #046492; }
.articleTable { background-color: black; margin: 0px; } .articleTopCell { background-color: #046492; color: white; font-weight: bold; padding: 6px; height: 25px; } .articleContentCell { color: black; padding: 6px; background-color: #FEFEFE; } .articleTextCell { color: #999999; padding: 6px; background-color: #FFFFCC; } .articleIconCell { background-color: #D0D0D0; width: 20px; } .articleFooterCell { color: #FFFFFF; padding: 3px; background-color: #509AB9; height: 25px; }
and place them in either your portal or skin stylesheet (you can edit the portal stylesheet in admin -> site settings)
Change the colors as necessary, e.g.
.articleTopCell { background-color: [b] #336699[/b] color: white; font-weight: bold; padding: 6px; height: 25px; } |
|
Scott McCulloch Site Administrator |
|
|
Marc Fragale Registered Users
 Nuke Newbie Posts:9

 |
| 6/11/2006 12:14 PM |
|
Scott,
Changes to the style sheet work for the most part. I cannot seem to change the font, style, size, etc for the Articles Titles however. Any ideas why or what can be done?
Changes to this line don't have any effect: .articleTitle { font-size : 14px; font-weight : bolder; color : #046492; }
Marc |
|
|
|
|
y01nk Registered Users
 Nuke Master Posts:201


 |
| 6/11/2006 1:43 PM |
|
One thought here is:
Although the articleTitle may infact have it's "own" "style" it is also a LINK, and may actually be demonstrating your stylesheets default characteristics for a link.
This functionality is actually somewhat redundant, as the "read more" link serves the same purpose (?)...
You can try adjusting your listing.item HTML file in the resources/templates folder to achieve the exact look you are after. |
|
 |
|
|