The Joomla! Forum ™






Post new topic Reply to topic  [ 19 posts ] 
Author Message
PostPosted: Mon Dec 10, 2007 2:28 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 10, 2007 2:23 pm
Posts: 26
Hi, I'm Valya, Im from Russia & I'm creating Joomla! v 1.5 Module for del.icio.us linkrolls, ( http://code.google.com/p/google-highly- ... ail?id=136 ).

Quote:
Task claimed by by v.golev
December 10th

Added
Quote:
Create a Joomla! v 1.5 Module for del.icio.us linkrolls
Describe the task.

del.icio.us is a social bookmarking site

Create a Joomla! module to:

    * Define del.icio.us username
    * Display options on linkrolls page
    * Include CSS from CSS Styling Example page

Resources:

    * Linkroll Options - http://del.icio.us/help/linkrolls
    * CSS Styling - http://del.icio.us/doc/feeds/js/styling
    * To install Joomla! on an XAMPP localhost:

  # XAMPP - http://www.apachefriends.org
  # Download Joomla! - http://help.joomla.org/content/view/1942/302/
  # Install Joomla! on a localhost -
http://help.joomla.org/content/view/1947/306/

    * Coding resources:

  # The core code! :-)
  # Plugins - http://forum.joomla.org/index.php?topic=233628
  # Model View Controller -
http://dev.joomla.org/component/option, ... orld_mvc1/
  # Modules and Components - http://www.jlleblanc.com/blogcategory/0/
  # Internationalization -
http://forum.joomla.org/index.php/topic ... msg1102267

    * IRC #joomlaGHOP on freenode

Skills needed

    * Knowledge of PHP
    * Knowledge of Joomla! v 1.5 Extension Development
    * Creativity and problem solving skills

Difficulty

Basic
Work Product

    * Installable Joomla! v 1.5 extension(s) with internationalization
support.

Licensing

All code must be created using the GNU General Public License version 2.
http://www.gnu.org/licenses/old-license ... .html#SEC4

Documentation written for this task must be made available under the
Joomla! Electronic Documentation License.
Extra Credit (Optional)
Time Limit

2 weeks.



Claimed: Dec 10 Due: Dec 24

Google Task

[me=AmyStephen]Changed subject slightly for sorting all threads to match against Google resource  :)[/me]

_________________
RTFM :)


Last edited by AmyStephen on Sun Dec 16, 2007 5:23 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: Mon Dec 10, 2007 4:03 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 10, 2007 2:23 pm
Posts: 26
hm... something like this  :-* ?
i'm not sure that it is final decision but I would like to know if I've understood the task well


You do not have the required permissions to view the files attached to this post.

_________________
RTFM :)


Last edited by valen0k on Mon Dec 10, 2007 5:24 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Tue Dec 11, 2007 5:48 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 10, 2007 2:23 pm
Posts: 26
hm... say anything please  :-\

_________________
RTFM :)


Top
 Profile  
 
PostPosted: Tue Dec 11, 2007 8:55 pm 
Joomla! Champion
Joomla! Champion

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 7056
Location: Nebraska
Sorry!

I am installing your extension right now - and will be back with my comments.

Thanks!
Amy :)

_________________
http://Twitter.com/AmyStephen
http://www.alltogetherasawhole.org/


Top
 Profile  
 
PostPosted: Tue Dec 11, 2007 10:54 pm 
Joomla! Champion
Joomla! Champion

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 7056
Location: Nebraska
Good start! But, if you read through all of the instructions - there is a bit missing.

From the instructions (I added to your first post), you need to add a module parameter for each of the linkroll options:

1. # of times to show
2. title (you have that)
3. show tags
4. show notes
5. icon 4 options
6. bullets 2 options, plus none
7. sort 2 options.
8. only these tags (text box)
9. show your del.icio.us username
10. show 'add me to your network' link

Images from above

Download those icons and bullets and create an image folder in your module (instead of linking to delicious)

This should be loaded as Javascript:

Code:
<script type="text/javascript" src="http://del.icio.us/feeds/js/<?=urlencode($username)?>?title=<?=urlencode($title)?>"></script>


Should be

Code:
$doc = &JFactory::getDocument();
$doc->addScript(xxxxx);


Then, remove those style tags from default.php and put into their own file in tmpl

All of this needs to go into a CSS file of it's own, that you load.
Code:
<style type="text/css">
.delicious-posts { margin: 0.2em; border: 1px solid #ddd; padding: 0.25em; font-family: sans-serif; font-size: 90%; }
.delicious-posts ul, .delicious-posts li, .delicious-banner { margin: 0; padding: 0; }
.delicious-banner { background: url(http://images.del.icio.us/static/img/delicious.small.gif) left center no-repeat; padding-left:10px;}
.delicious-post { border-top: 1px solid #eee; padding: 0.25em; font-size: 80% }
.delicious-odd { background-color: #f8f8f8 }
.delicious-banner a { font-size: 80% }
.delicious-posts a:hover { text-decoration: underline }
.delicious-posts a { text-decoration: none; color: #a15426; display: block; padding: 0.3em }
.delicious-post a { color: #04a1ff }
</style>


Add this, instead:

Code:
// Load CSS
$document->addStyleSheet( JURI::base() . 'modules/mod_delicious_linkroll/tmpl/delicious.css', 'text/css', null, array( ' id' => 'StyleSheet' ) );


Internationalization

From task description:
Quote:


Follow those instructions in that post.

Error Messages
You could print a simple message, without a link to the Module Editor.

What is that URL?
Code:
<?php } else { ?>
Del.icio.us username not specified yet. You can do it at <a href='http://joomla._gog/administrator/index.php?option=com_modules&client=0'>admin panel</a>.
<?php } ?>


HTH,
Amy :)

_________________
http://Twitter.com/AmyStephen
http://www.alltogetherasawhole.org/


Top
 Profile  
 
PostPosted: Wed Dec 12, 2007 2:25 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 10, 2007 2:23 pm
Posts: 26
Thanks Amy :) I'm rewriting module now

_________________
RTFM :)


Top
 Profile  
 
PostPosted: Fri Dec 14, 2007 5:29 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 10, 2007 2:23 pm
Posts: 26
Then i'm using

Code:
$doc = &JFactory::getDocument();
$doc->addScript($src);


it adds js to the HEAD section

do i have to rewrite it or do anything else?

_________________
RTFM :)


Top
 Profile  
 
PostPosted: Fri Dec 14, 2007 6:31 pm 
Joomla! Champion
Joomla! Champion

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 7056
Location: Nebraska
I'm not certain what your question is. Sorry!

Amy :)

_________________
http://Twitter.com/AmyStephen
http://www.alltogetherasawhole.org/


Top
 Profile  
 
PostPosted: Fri Dec 14, 2007 6:39 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 10, 2007 2:23 pm
Posts: 26
Then i'm using

Code:
$doc = &JFactory::getDocument();
$doc->addScript($src);


it adds to the section in HTML...
but the del.icio.us linkroll code must be placed in the

do i have to rewrite the JS code? maybe you have got another decision? :)

Valya  :)

_________________
RTFM :)


Top
 Profile  
 
PostPosted: Fri Dec 14, 2007 6:47 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 10, 2007 2:23 pm
Posts: 26
I'm sorry but when i was solving other problem i've understood that i should rewrite the JS code, so i have no more questions, thank you.

Valya :)

_________________
RTFM :)


Top
 Profile  
 
PostPosted: Fri Dec 14, 2007 7:02 pm 
Joomla! Champion
Joomla! Champion

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 7056
Location: Nebraska
No problem, thanks, Valya!

Amy :)

_________________
http://Twitter.com/AmyStephen
http://www.alltogetherasawhole.org/


Top
 Profile  
 
PostPosted: Fri Dec 14, 2007 8:49 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 10, 2007 2:23 pm
Posts: 26
New release! :D

Valya


You do not have the required permissions to view the files attached to this post.

_________________
RTFM :)


Top
 Profile  
 
PostPosted: Sat Dec 15, 2007 3:43 am 
Joomla! Champion
Joomla! Champion

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 7056
Location: Nebraska
My only comment would be to add  JURI::base() the to Javascript statement.

Quote:
$doc->addScript("modules/mod_delicious_linkroll/tmpl/delicious.js");
$doc->addStyleSheet( JURI::base() . 'modules/mod_delicious_linkroll/tmpl/delicious.css', 'text/css', null, array( ' id' => 'StyleSheet' ) );


We'll try to get some more eyes on this. I'll see if we can get a second judge to look.

Would love community feedback, as well.

Otherwise, looks great to me!

Amy :)

_________________
http://Twitter.com/AmyStephen
http://www.alltogetherasawhole.org/


Top
 Profile  
 
PostPosted: Sat Dec 15, 2007 4:17 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 10, 2007 2:23 pm
Posts: 26
Thanks Amy for your comment! :)


You do not have the required permissions to view the files attached to this post.

_________________
RTFM :)


Top
 Profile  
 
PostPosted: Sat Dec 15, 2007 7:23 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 10, 2007 2:23 pm
Posts: 26
Now i need to wait while second judge looking my module? :)

_________________
RTFM :)


Top
 Profile  
 
PostPosted: Sat Dec 15, 2007 9:13 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Thu Nov 29, 2007 4:14 pm
Posts: 104
Location: Piotrków Trybunalski, Poland
is weekend and it seems that they have free-days (without work). Didn't see that someone had checked today...
Monday will hard for them ;D They are only people  :D

_________________
Great Hacking Opportunity Project
numbers? sure! 3d 22h on forum, about 500h of work <- this is real GHOP


Top
 Profile  
 
PostPosted: Sun Dec 16, 2007 5:22 am 
Joomla! Champion
Joomla! Champion

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 7056
Location: Nebraska
Looks like you got my changes in - I've been using your extension since I tested it, first. It's working great - I love it - many will love it.

Please post it on Google and I'll close that task. After I do so, you are free to choose another task, if you desire.

If you have not registered and placed this at JoomlaCode, please do. This will be popular with many people.

Thanks for your contributions to the Joomla! Community!
Amy :)

_________________
http://Twitter.com/AmyStephen
http://www.alltogetherasawhole.org/


Top
 Profile  
 
PostPosted: Sun Dec 16, 2007 10:10 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 10, 2007 2:23 pm
Posts: 26
Thanks Amy :)

Quote:
Your project has been submitted into the pending projects queue. The administrators of this site will have to approve it before it becomes active.
(c) JoomlaCode

I uploaded my module at http://code.google.com/p/google-highly- ... ail?id=136 :)

I think, work on the module was finished, but then GHOP'll be ended i'll try to add more functionality (if i'll contrive them ;) )

_________________
RTFM :)


Top
 Profile  
 
PostPosted: Sat Dec 22, 2007 11:07 am 
User avatar
Joomla! Exemplar
Joomla! Exemplar

Joined: Thu Aug 18, 2005 8:43 pm
Posts: 7986
Location: New York
Nice work! Now that the module is on joomlacode, if you want you can make it available on the extensions site.

:)

_________________
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ] 



Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group