![]() |
Different template for articles
Hello, I am interested if it is possible to make different layout ( template ) for articles. To make myself more clear and easy to understand I will try to make an example.
Let's say that i have two menu section on my site ( cms ) news and games. In the section games when i click on an article i want the variables "title" , " posted by " , "categories" etc to be shown in an order. In the news section i want when someone clicks on the article to be shown just "published" by and "categories" I hope that was a clear example and also I hope that I express myself corectly ( english is not my native language ) Thanks! |
You may assign different styles to different sections. So just have the article template different in each style.
|
now if I may another problem. I want to add to the edit article page 3 more blockrows and put the data from here in article similar woth published by. i will post the modification i made so far, in vbcms_content_article_page i did that
HTML Code:
{vb:raw css} HTML Code:
<div id="cms_url_check" style="display:none"></div> I must tell you that i am a strager to any form of programing, a real stranger. Thanks! |
There is an article on how to add rows to the article editor and have them show up in the article.
|
All times are GMT. The time now is 02:36 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|