Post by rempong » Wed Sep 25, 2013 5:48 pm

Greeting

Forgive me if its in wrong room, feel free to move it to suitable one.

WORDPRESS / BB SHORTCODE feature
PURPOSE:
Module developer will able to use code like : [MOVIELIST] in any template

INSTALATION
- VQMOD is required
- Copy install_shortcode.xml to vqmod/xml/
- Copy shortcodes.php to system/library/

The code itself from Wordpress 3.6.1, i just modified so it can be used inside opencart.

Suggest and critique are welcome....

Download

Wordpress shortcode

instalation xml


OPENCART MODULE :
Opencart Compare Link VQMOD, Link your compared product to forum/email

Copy and DIRECTLY Edit Product, the easy way.

Custom Product Sort, Full control to product sorting options

Already Sold Product Module, shows total product sold

Opencart Shortcode (Wordpress Clone)


Active Member

Posts

Joined
Fri Sep 14, 2012 2:38 pm
Location - Indonesia

Post by rempong » Wed Sep 25, 2013 5:49 pm

Last edited by rempong on Thu Oct 03, 2013 4:48 pm, edited 1 time in total.

OPENCART MODULE :
Opencart Compare Link VQMOD, Link your compared product to forum/email

Copy and DIRECTLY Edit Product, the easy way.

Custom Product Sort, Full control to product sorting options

Already Sold Product Module, shows total product sold

Opencart Shortcode (Wordpress Clone)


Active Member

Posts

Joined
Fri Sep 14, 2012 2:38 pm
Location - Indonesia

Post by rempong » Wed Sep 25, 2013 7:29 pm

Usage Example :

Code: Select all

add_shortcode( 'foobar', 'foobar_func' , $this);
$this is needed if 'foobar_func' class method.

OPENCART MODULE :
Opencart Compare Link VQMOD, Link your compared product to forum/email

Copy and DIRECTLY Edit Product, the easy way.

Custom Product Sort, Full control to product sorting options

Already Sold Product Module, shows total product sold

Opencart Shortcode (Wordpress Clone)


Active Member

Posts

Joined
Fri Sep 14, 2012 2:38 pm
Location - Indonesia

Post by qahar » Fri Sep 27, 2013 9:32 pm

when I try your code above it's not work and no usage instruction.

Several month ago I try to create shortcode and it's not work as expected, but when I combine your shortcode.php with my previous work -with some modification- I get cool result. Thank you for sharing your code :)

Plan to share it through github when it done or ready for beta test.

User avatar
Expert Member

Posts

Joined
Tue Jun 29, 2010 10:24 pm
Location - Indonesia

Post by rempong » Sat Sep 28, 2013 6:43 am

Thank you for atttention,

Yes, the documentation is missing, i'm sorry for that. May i ask which one is "it's not work" thing ?
I plan to add some modification so the shortcode, example "[foo]" can built by module / extension. And maybe execute some anonymous / closure in database

PS:
Indonesia ? Selamat pagi pak

OPENCART MODULE :
Opencart Compare Link VQMOD, Link your compared product to forum/email

Copy and DIRECTLY Edit Product, the easy way.

Custom Product Sort, Full control to product sorting options

Already Sold Product Module, shows total product sold

Opencart Shortcode (Wordpress Clone)


Active Member

Posts

Joined
Fri Sep 14, 2012 2:38 pm
Location - Indonesia

Post by rempong » Thu Oct 03, 2013 4:32 pm

Need more awesome opencart shortcode ? Check qahar thread

OPENCART MODULE :
Opencart Compare Link VQMOD, Link your compared product to forum/email

Copy and DIRECTLY Edit Product, the easy way.

Custom Product Sort, Full control to product sorting options

Already Sold Product Module, shows total product sold

Opencart Shortcode (Wordpress Clone)


Active Member

Posts

Joined
Fri Sep 14, 2012 2:38 pm
Location - Indonesia
Who is online

Users browsing this forum: No registered users and 4 guests