Blogs

No blog posts

Bookmarks

No bookmarks

Elgg Sites

No items to show

Plugins

We couldn't find any plugins, themes or language packs at the moment.

Tag Cloud

Pages

No pages created yet

Send private message

You must be logged in to send a private message.

Friends

No friends yet.

Group membership

  • Beginning Developers

    Beginning Developers

    This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking

Activity

  • Ghazali replied on the discussion topic Tutorial Issues Using Elgg 2.2.3
    I noticed that there is a different tutorial for elgg 2.0.  I am using 2.2.3.   I tried the tutorial for 2.0 and it works perfectly.  I substituted the /action/my_blog/save.php files and now the 2.2.3 tutorial works! I think I... view reply
  • Ghazali replied on the discussion topic Tutorial Issues Using Elgg 2.2.3
    Yes, I activated the plugin.   I created everything in /mod folder.  I was thinking maybe there has been a major structural tree change in the Elgg software without updating the tutorials?  I am just not sure if the folders under... view reply
  • Ghazali added a new discussion topic Tutorial Issues Using Elgg 2.2.3 in the group Beginning Developers
    I am renewing my programming skills (stopped after obtaining minor in 2002) to build a website.  I feel like there has been an explosion in internet coding so I am brushing up my skills. I have been trying to do the tutorials (on this site...
    • Yes, I activated the plugin.  

      I created everything in /mod folder.  I was thinking maybe there has been a major structural tree change in the Elgg software without updating the tutorials?  I am just not sure if the folders under /mod can inherit from folders in /vendor with the way the folders are structured with Elgg 2.2.3.  Can they?

    • You only have to upload your custom plugin into the root/mod directory.

    • I noticed that there is a different tutorial for elgg 2.0.  I am using 2.2.3.  

      I tried the tutorial for 2.0 and it works perfectly.  I substituted the /action/my_blog/save.php files and now the 2.2.3 tutorial works!

      I think I know the problem, I just don't know why.  when we pass the "actions/my_blog/save.php" file containing the <div> tags to the elgg_view_form() in the resources/my_blog/add.php, the script works fine.  The problem starts when we replace the <div> tags with: 

      echo elgg_view_field([
          '#type' => 'text',
          '#label' => elgg_echo('title'),
          'name' => 'title',
          'required' => true,
      ]);

      For some reason, the  elgg_view_form() simply returns the above code as a string and spits it out to the webpage.  

      I ran multiple tests, and I believe that the function elgg_view_field() is not identified.  Does this make sense?