PDA


View Full Version : Easy custom text on homepage


disco4me
03-05-2005, 05:40 PM
I need to make sure I understand something. Let's say I want to add a custom text area on my main vba cmps page, such as just any old text, links to other areas of the site, information about the site, or whatever...do I first have to create a template, then make that template a module?

And, if I have more than one skin, will I have to make another template/module for each skin I have installed and I let people choose from? That would mean that any custom text I do within the template1/skin1, I would have to duplicate for the second template/skin. Likewise if I make the slightest change in the text in template 1/skin 1, I would have to make that same text change in template 2/skin 2.

Isn't there a way a "custom text module" could always exist alomg with a file associated with it i.e.: "customtext.htm" and anytime I wanted to go in and change the text, I would simply go into customtext.htm and make the changes? And, at the same time have this work for any and all skins available to the end user?

I would think that many people want to be able to easily put custom text on the main home page that would have information about the site, links to other places on the site, etc. It does not seem like there is a very easy way to do this....i.e. type it into a file and there it is.

ConqSoft
03-05-2005, 06:09 PM
Yes, you have the process correct. You can go into your AdminCP and edit the template whenever you like, from wherever you are, as long as you have internet access. That should be just as easy as editing an HTM file, then having to FTP it to your site.

If you set up all your additional styles as children of a "main style" (even if you make that main style "hidden" from users), you will be able to add your template to the "main style", and it will be inherited by all the children styles. So, no duplication.

disco4me
03-05-2005, 06:20 PM
Thanks Conq. I was not familiar with the child skins inheriting...so that seems like it would work great. I'll add the template to the adult and give it a try. I assume that the custom text area in the index.php for any selected skins would appear correctly for that particular skin.

Thanks

ConqSoft
03-05-2005, 07:10 PM
I assume that the custom text area in the index.php for any selected skins would appear correctly for that particular skin.

Thanks

Yep