-
- 6 Posts
Thank you!!!!!! So much!!!! I'm diving in right now!!!
-
- 1 Posts
Extreme newbie to MODX and coding in general... Sure to give some people a laugh! In a MODX template I'm using, I'm trying to change the colour of a button and it's not changing.
Original code:
<a class="button" [[+link:notempty=`href="[[+link]]"`]] [[+target:notempty=`target="[[+target]]"`]] style="[[+textColor:notempty=`color:[[+textColor]];`]][[+backgroundColor:notempty=`background:[[+backgroundColor]];`]][[+marginTop:notempty=`margin-top:[[+marginTop]]px;`]][[+marginBottom:notempty=`margin-bottom:[[+marginBottom]]px;`]]">
[[+iconClass:notempty=`<i class="fa [[+iconClass]]" style="[[+iconColor:notempty=`color:[[+iconColor]];`]]"></i>`]]
[[+text]]
</a>
Changed to:
<a class="button" [[+link:notempty=`href="[[+link]]"`]] [[+target:notempty=`target="[[+target]]"`]] style="[[+textColor:notempty=`color:[[+textColor]];`]][[+backgroundColor:notempty=`background: #fa8227;`]][[+marginTop:notempty=`margin-top:[[+marginTop]]px;`]][[+marginBottom:notempty=`margin-bottom:[[+marginBottom]]px;`]]">
[[+iconClass:notempty=`<i class="fa [[+iconClass]]" style="[[+iconColor:notempty=`color: #fa8227;`]]"></i>`]]
[[+text]]
</a>
Trying to change the colour of the button to #fa8227...
Help appreciated, thank you.
Where is this coming from? Those [[+backgroundColor]] and [[+iconColor]] tags are placeholders, and that means they are probably configurable somewhere, and that is where you should change them.
-
- 1 Posts
I can't find a tutorial that will tell me how to manage my site in plain English. I don't understand the computer jargon. If there is such a place please direct me. Thank you
If you are going to be working with a computer program, then you have to learn the "jargon". There's no getting around it. Here is a good begining.
http://codingpad.maryspad.com/2010/08/18/modx-revolution-for-beginners-part-1-introduction/
-
- 2 Posts
Trying desperately to install a template. When I try to Install by Package Management>Download Extras>Install the usual console runs with lots of script then stalls after a few minutes. Then, nothing. Am I missing something?
-
- 2 Posts
Trying desperately to install a template. When I try to Install by Package Management>Download Extras>Install the usual console runs with lots of script then stalls after a few minutes. Then, nothing. Am I missing something?
-
- 1 Posts
Hi All,
I’m a Modx newbie and wanted to get any tips on using Nginx. I have a sandbox setup for learning and I have Nginx working properly but being new to Modx maybe there are some tips and pointers to optimizing Nginx & Modx.
Regards
Bob
-
- 1 Posts
Hi,
My name is Michael Gibbs. I am new member of the community and i like to say hello to all members.