Community « Discussion forum « Post your requirements here «
Page design; HTML and BBcode Interpretation.
A few question about page design in YACS.
Hi Bernard,
I was playing with page design in YACS and to my surprize found that I can use pure HTML in almost all cases. So, for example, I can use multiple tables with all table tags to create a page layout, et cetera, simply by starting the page with '
Question 1: How do I get rid of page Title, and other service information displayed on the coverpage?? I do not want to have there 'No article has been published so far' (or whatever else except thing I myself placed there deliberatedly and explicitely) and the Title.
Question 2: How do I change the color of font in service text, like in links, tags, et cetera. For example, when I use '
. Thank you in advance.
[formatted]' tag. This is cool. Even cooler thing is that YACS correctly interprets most of BBcode tags embedded into such a HTML page. This is sheer power. E.g., I created a table colored it as I wanted inserted there pictures where I wanted them to be and than inserted into that table [folder=Name] tags and placed my text in these. Very neat. There are few things that I would like to change but did not yet figured out an easiest way to do that:Question 1: How do I get rid of page Title, and other service information displayed on the coverpage?? I do not want to have there 'No article has been published so far' (or whatever else except thing I myself placed there deliberatedly and explicitely) and the Title.
Question 2: How do I change the color of font in service text, like in links, tags, et cetera. For example, when I use '
[folder=Name]' tag and the text after it, I can change that text color by placing the whole thing under font tag, like '[folder=Name]blabbla[/folder]'. That blabla inside will become orange, but the Name will stay blue. How do I control this? I understand that it is perhaps not a wisest idea to use a mix of BB and pure HTML tags but it is a power and I see no reasons to forfeight such a nice feature (even if that is a bug
. Thank you in advance.| Bernard from nearby-an-airport Associate, 6997 posts | When you are an associate, you can submit any mix of HTML, plain text and YACS codes (an extended version of BBcodes). This is why the font> tag you put in your post does not appear here: you are not an associate here.Also, please edit your post and you will see that I ahve added some escaping codes to avoid strange rendering of folders. You can use the [escape] code as well in your next posts.
|
| Bernard from nearby-an-airport Associate, 6997 posts | " How do I get rid of page Title, and other service information displayed on the coverpage? " The answer is quite simple. Delete all cover pages. Also, you can keep the title only, by doing this: edit the current cover page, or create a new one. Put in the title what you want to be displayed at the home page. Clear other fields. Submit. |
| Bernard from nearby-an-airport Associate, 6997 posts | " How do I change the color of font in service text, like in links, tags, et cetera. " Of course you can add some <font> tags to do that. However, the best practice is to modify the style sheet, and to let the content as pure as possible from a mix of data and presentation stuff. |
| Anatoly 10 posts |
Bernard: I am not sure I understood you right about that Title thing. I have a page in the covers section, and I want it to be displayed as Home page, but I do not want the Title of that page to be displayed (the page content - yes; the page Title - no. Like with Menu). I figured out how to remove that "No article has been published so far" thing, I edited the particular layout (newpaper) that I am using. I just do not want to display meaningless info (no articles published - why bother to know about it? Anything published, it will appear there). Hw can I use different skins with different sections? I believe I have seen the description of such a possibility somewhere in your scripts, but I forgot where. Say, I want section "recipies" to be displayed with a skin "A", section "Forum" with a skin "B", et cetera. How do I do that? Thank you in advance. |
| Bernard from nearby-an-airport Associate, 6997 posts |
Anatoly: At the moment the cover title is always displayed by the main index page (namely, index.php). Maybe we need an option in the configuration panel for skins to not display the title. Added to the to-do list for a next version. |
| Bernard from nearby-an-airport Associate, 6997 posts |
" I want section "recipies" to be displayed with a skin "A", section "Forum" with a skin "B", et cetera. How do I do that? " Edit the section for recipes, and add the keyword 'skin_A' to the options field. Then edit the forum section, and add the keyword 'skin_B' to the options field. Please note that the alternate skins only apply to the rendered pages that end users browse. The edit forms keep the default skin for the site. |
