Page 1 of 1
Remove Version text from apdiv.
Posted: Wed Nov 03, 2010 9:46 am
by hagar
Hello, I have been trying to find the code to remove the version text from the ap div, bt I cant find it. I have looked in myNCleanBlue stylesheet to no availe. Could someone help me out please?............Matt.......
{capture assign='cms_version'}{cms_version|lower}{/capture}{"/-([a-z]).*/"|preg_replace:"":$cms_version}
Re: Remove Version text from apdiv.
Posted: Wed Nov 03, 2010 1:36 pm
by jmcgin51
what is an "ap" div?
Re: Remove Version text from apdiv.
Posted: Wed Nov 03, 2010 5:26 pm
by Dr.CSS
Just remove that whole div if you don't want to show the version etc. just like it says in the template...
{* Start Optional tag CMS Version Information, also is a good example how smarty works, the big star that holds the version number, you may remove it here and the style sheet where it is marked. *}
{capture assign='cms_version'}{cms_version|lower}{/capture}{"/-([a-z]).*/"|preg_replace:"":$cms_version}
{* End Optional tag *}
Re: Remove Version text from apdiv.
Posted: Thu Nov 04, 2010 1:07 am
by hagar
Thanks for the prompt reply, But I cant even find that div, but when I do I would like to remove just the text and keep a graphic. Where will I find this code? I have found were to edit the graphic and size of the div but I cant see where the text comes in from ..........Thanks.Matt
Re: Remove Version text from apdiv.
Posted: Thu Nov 04, 2010 1:22 am
by Nullig
The code is either in the template, or the footer Global Content Block.
Nullig
Re: Remove Version text from apdiv.
Posted: Thu Nov 04, 2010 1:24 am
by Dr.CSS
Dr.CSS wrote:
Just remove that whole div if you don't want to show the version etc. just like it says in the template...
{* Start Optional tag CMS Version Information, also is a good example how smarty works, the big star that holds the version number, you may remove it here and the style sheet where it is marked. *}
{capture assign='cms_version'}{cms_version|lower}{/capture}{"/-([a-z]).*/"|preg_replace:"":$cms_version}
{* End Optional tag *}
I recommend you read all the default content, it really helps understand how this works, link
below to 1.8.2 default where you will see the home page, that is the "NCleanBlue" template this comes from...
Re: Remove Version text from apdiv.
Posted: Thu Nov 04, 2010 1:56 am
by hagar
Thanks Ill go read some for a while. Like most people I just dived in a couple of days ago without reading anything, But I am really loving CMSmadesimple, Ive tried a few and this is as good as it gets. Really .. Thank you.