Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Warning picture

Warning picture 11 years 2 months ago #820

  • monkeyman
  • monkeyman's Avatar
  • Offline
  • Senior Boarder
  • Posts: 42
  • Thank you received: 1
  • Karma: 1
Your warning picture is very nice, but it's better make it less picture-ish. See, the right part of the picture can be easily made of HTML with some styling. This way we can customize it's text. I already made it, so will just share it wish you.

Change your picture to the one attached and the corresponding line in controller to this one:
return '<div style="float: left;"><img src="' . $qs->www . 'images/warning.png" /></div><div style="height: 37px; width: 400px; padding: 15px; border: 1px solid #e5db55; border-radius: 4px; border-left: none; margin-left: 65px; background: #fefccb;"><span style="color: #878314; display: block;">Warning</spam><span style="color: #404040; display: block;">Please, <a href="index.php?option=com_simpleregistration&view=registrationform&Itemid=115" style="color: #ea6d40;">login first</a>, if you would like to make a pirchase.</spam></div>';

Also text is better be placed in the language file. Hope it'll save you some time.

Attachment warning.png not found

The administrator has disabled public write access.

Re: Warning picture 11 years 2 months ago #822

  • admin
  • admin's Avatar
Thanks for sharing! This is already on my todo list :)
The administrator has disabled public write access.

Re: Warning picture 11 years 2 months ago #823

  • monkeyman
  • monkeyman's Avatar
  • Offline
  • Senior Boarder
  • Posts: 42
  • Thank you received: 1
  • Karma: 1
You're welcome, my friend.

Thanx for clean code, btw. Very easy to read :-)
The administrator has disabled public write access.

Re: Warning picture 11 years 2 months ago #824

  • admin
  • admin's Avatar
Thanks mate! I'm happy to know that! :)
The administrator has disabled public write access.

Re: Warning picture 11 years 2 months ago #825

  • monkeyman
  • monkeyman's Avatar
  • Offline
  • Senior Boarder
  • Posts: 42
  • Thank you received: 1
  • Karma: 1
BTW, here's a small bug on Upload page of the component:

You can use FTP to upload files using this directory: administrator/components/com_quicksellDSuploads

There's no DS constant in Joomla 3, so just slash will be OK :-)
The administrator has disabled public write access.

Re: Warning picture 11 years 2 months ago #826

  • admin
  • admin's Avatar
Thanks a lot about that :)
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.047 seconds