Attention!

These forums are not monitored. We provide the discussions forum as a place for users of free extensions to help each other and find answers, not as a place for our staff to deal with urgent support issues. Our staff very rarely responds to forum posts. Occasionally we will respond to forum posts but responses are not guaranteed.

If you have an active subscription for a commercial extension and wish to receive support please login to your Artetics.com account and submit a ticket. The ticketing system is the best way for you to get assistance in a timely manner.

Thank you!

  Sunday, 30 September 2012
  7 Replies
  3.8K Visits
0
Votes
Undo
Hello, is it possible to add own skins in your module? What files to change?
Thanks
more than a month ago
·
#18867
0
Votes
Undo
Hello,

Yes.

For module:
mod_artclock\\js\\moreskins.js
mod_artclock\\mod_artclock.xml

For plugin:
plg_artclock\\artclock\\js\\moreskins.js
plg_artclock\\artclock.xml

Regards,
artetics.com team

If your question has been answered, please choose "Accept as Answer" on the correct post and/or mark your question as Resolved.

more than a month ago
·
#18868
0
Votes
Undo
Unfortunately, I could not do it.
If possible, could you please describe any skin with code examples.
more than a month ago
·
#18869
0
Votes
Undo
If you have a look at moreskins.js you can see skins there. Example:

swissRail: {
outerBorder: { lineWidth: 1, radius:95, color: \"black\", alpha: 1 },
smallIndicator: { lineWidth: 2, startAt: 89, endAt: 93, color: \"black\", alpha: 1 },
largeIndicator: { lineWidth: 4, startAt: 80, endAt: 93, color: \"black\", alpha: 1 },
hourHand: { lineWidth: 8, startAt: -15, endAt: 50, color: \"black\", alpha: 1 },
minuteHand: { lineWidth: 7, startAt: -15, endAt: 75, color: \"black\", alpha: 1 },
secondHand: { lineWidth: 1, startAt: -20, endAt: 85, color: \"red\", alpha: 1 },
secondDecoration: { lineWidth: 1, startAt: 70, radius: 4, fillColor: \"red\", color: \"red\", alpha: 1 }
}

This is the way how skins are defined.

After adding skin to this file it\'s necessary to list it in mod_artclock.xml to be able to select it in module options:

<option value=\"swissRail\">swissRail</option>

Creating new skin will require some javascript knowledge.

Regards,
artetics.com team

If your question has been answered, please choose "Accept as Answer" on the correct post and/or mark your question as Resolved.

more than a month ago
·
#18870
0
Votes
Undo
Thank you for the quick help. But I\'m apparently not quite true described my problem, because was misled here http://joomlachasi.ru/demo.html
Good design of clock, but it is Fake - flash pictures are not related to the joomla-module. I intend to make a similar design based on your module without using flash.
If it is not hard to please tell me which file and what function draws the arrows and clocks? I plan to add to the line-drawing function with polygons drawing (block of polygons) function or picture drawing function.

Many thanks and sorry for the google-translator.
more than a month ago
·
#18871
0
Votes
Undo
The function like:

swissRail: {
outerBorder: { lineWidth: 1, radius:95, color: \"black\", alpha: 1 },
smallIndicator: { lineWidth: 2, startAt: 89, endAt: 93, color: \"black\", alpha: 1 },
largeIndicator: { lineWidth: 4, startAt: 80, endAt: 93, color: \"black\", alpha: 1 },
hourHand: { lineWidth: 8, startAt: -15, endAt: 50, color: \"black\", alpha: 1 },
minuteHand: { lineWidth: 7, startAt: -15, endAt: 75, color: \"black\", alpha: 1 },
secondHand: { lineWidth: 1, startAt: -20, endAt: 85, color: \"red\", alpha: 1 },
secondDecoration: { lineWidth: 1, startAt: 70, radius: 4, fillColor: \"red\", color: \"red\", alpha: 1 }
}

defines how the clock is displayed - you can try to change this and have a look how the UI changes.

Regards,
artetics.com team

If your question has been answered, please choose "Accept as Answer" on the correct post and/or mark your question as Resolved.

more than a month ago
·
#18872
0
Votes
Undo
Administrator wrote:
The function like:

swissRail: {
outerBorder: { lineWidth: 1, radius:95, color: \"black\", alpha: 1 },
smallIndicator: { lineWidth: 2, startAt: 89, endAt: 93, color: \"black\", alpha: 1 },
largeIndicator: { lineWidth: 4, startAt: 80, endAt: 93, color: \"black\", alpha: 1 },
hourHand: { lineWidth: 8, startAt: -15, endAt: 50, color: \"black\", alpha: 1 },
minuteHand: { lineWidth: 7, startAt: -15, endAt: 75, color: \"black\", alpha: 1 },
secondHand: { lineWidth: 1, startAt: -20, endAt: 85, color: \"red\", alpha: 1 },
secondDecoration: { lineWidth: 1, startAt: 70, radius: 4, fillColor: \"red\", color: \"red\", alpha: 1 }
}

defines how the clock is displayed - you can try to change this and have a look how the UI changes.

Regards,
artetics.com team



Is it possible to place a background image in the clock, as a logo??
more than a month ago
·
#18873
0
Votes
Undo
Sure.

You can use CSS rule like the following for this:

.artclock_clock canvas {
background-image: url(\'http://server/images/image.png\');
}

where http://server/images/image.png is the image to use as background.

Regards,
artetics.com team

If your question has been answered, please choose "Accept as Answer" on the correct post and/or mark your question as Resolved.

  • Page :
  • 1
There are no replies made for this post yet.
Be one of the first to reply to this post!