1
heyula
New Xoops Xcreate Module
  • 2025/11/26 14:16

  • heyula

  • Theme Designer

  • Posts: 601

  • Since: 2008/4/24


Resized Image




You can think of the xcreate module as an empty module. After installing this module, it can be transformed entirely into a module that fits your needs. While creating a category, you can create two tpl files: one representing the short.tpl section and the other representing the full.tpl section. Let’s explain this with an example.

Suppose you need a game download module.

Category name: Game

Let’s say the custom fields we need are as follows:

For the game download link: use “Field Type = URL”. Let’s enable the dynamic duplication feature because a game may have multiple download links.

For the system requirements field: let’s use an HTML editor. No need for dynamic duplication.

For the supported systems field: it should be a Multiple Selection field.

For the game images field: use an Image Gallery.

You can create as many fields as you want for this game category, and you can enable or disable the dynamic duplication feature for each single or multiple-use field.

All Available Custom Field Types:

Text (Single Line)
Multiline Text
HTML Editor
Image Upload
Image Gallery (Multiple)
File Upload
Dropdown List
Multiple Selection
Single Selection
Date Picker
Date-Time Picker
Number
Email
URL
Color Picker

With this logic, you can create as many categories as you wish—such as a music download category, movie download category, real estate category, etc.—and meet your needs through custom categories and custom fields. Since the short.tpl and full.tpl sections are independent from each other, you can design completely category-specific layouts.

I will release the module very soon.

Demo:

https://turkish.erenyumak.com/modules/xcreate/item.php?id=2



2
heyula
New Xoops Custom Field Module
  • 2025/11/22 13:04

  • heyula

  • Theme Designer

  • Posts: 601

  • Since: 2008/4/24


Resized Image




The Xoops Custom Field Module that I have been working on for a long time is now ready to be tested. The module can be used with all Xoops modules, but you need to implement the integration for the module you want to use it with. I have completed the integration for the Publisher module, so you can test it with Publisher. I will prepare a tutorial when I have time.

Demo: https://turkish.erenyumak.com/modules/publisher/item.php?itemid=25

Download: https://erenyumak.com/xoops-temalari/31-xoops-custom-field-module-xoops-ilave-alan-modulu.html CustomFields is a powerful extension module developed for XOOPS CMS that allows you to dynamically add custom fields to any module.
Without writing any code, you can easily define custom fields from the admin panel and enrich your existing modules.
FEATURES
14 Different Field Types:
✓ Text (single line)
✓ Textarea (multi-line)
✓ Rich Text Editor (HTML)
✓ Number
✓ Email
✓ URL (Link)
✓ Phone
✓ Date
✓ Date-Time
✓ Checkbox
✓ Dropdown List
✓ Radio Buttons
✓ Multiple Select
✓ Image Upload
✓ File Upload
Admin Features:
✓ Easy management via admin panel
✓ Sorting (drag & drop or by weight)
✓ Required/optional field selection
✓ Field descriptions
✓ Default values
✓ Active/inactive status
Display:
✓ Smarty template support
✓ Flexible display options
✓ Customizable with CSS
✓ Automatic form integration
Easy Integration:
✓ Ready-to-use integration for the Publisher module
✓ Simple API for other modules
✓ Minimal code changes
✓ Unaffected by module updates
USAGE EXAMPLES
EXAMPLE 1: Build a Real Estate Website Using the Publisher Module
Scenario:
You want to display detailed information in your real estate listings.
Added Fields:
• Price (number) – Listing price
• M² (number) – Square meters
• Number of Rooms (dropdown) – 1+1, 2+1, 3+1...
• Floor (number) – Floor number
• Occupancy Permit (checkbox) – Available or not
• Mortgage Eligible (checkbox) – Can a loan be used?
• Map Location (URL) – Google Maps link
• Floor Plan (image) – Plan image
Title: Apartment for Sale in Central Location
Price: 2,500,000 TL
Area: 120 m²
Rooms: 3+1
Floor: 5
Occupancy Permit: Yes
Mortgage Eligible: Yes
[View Map Location]
[Floor Plan Displayed
With the CustomFields module, you can customize your XOOPS site without limits. Add the fields you need in minutes — without writing any code — and tailor your site exactly to your requirements.
Fast • Flexible • Secure • Customizable
© 2025 XOOPS CustomFields Module
Developer: Eren Yumak – eren@aymak.net



3
heyula
Re: Smarty plugin for Publisher
  • 2025/11/19 10:37

  • heyula

  • Theme Designer

  • Posts: 601

  • Since: 2008/4/24


With this smart add-on, you can display the contents of the Publisher module anywhere you want in your theme, independently of the Publisher module's blocks.

Example:
< {custom category="5" order="rating" template="publisher_custom" limit="5" status="2" cache="no"} >


custom category="5" = category selection
order="rating": Sorting type
template="publisher_custom": Template to be used
limit="5": Number of articles to display
status="2": News with an active status.

You can find many more example codes and all parameters in the README_EN.md file.

Example usage in theme.tpl
Resized Image



4
heyula
Smarty plugin for Publisher
  • 2025/11/19 10:30

  • heyula

  • Theme Designer

  • Posts: 601

  • Since: 2008/4/24


Resized Image


XOOPS Publisher Custom Plugin is a powerful and flexible Smarty plugin developed for the XOOPS CMS Publisher module. With this plugin, you can display your Publisher module content anywhere in your theme files, in any format you desire.

DEMO:
https://turkish.erenyumak.com/

DOWNLOAD:
http://erenyumak.com/uploads/shared/Publisher-Smart.zip

All detailed explanations are available in the README_EN.md file.

Examples

{custom order="random" template="slider" limit="5" status="2" cache="no"}
{
custom order="counter" template="topgames" limit="2" status="2" cache="no"}
{
custom category="5" order="rating" template="publisher_custom" limit="5" status="2" cache="no"}


Parameter Type | Default | Description Example |
|-----------|------|---------|-------------|---------|
| **
category** | integer Category ID (all categories) | `category="2"` |
| **
template** | string publisher_custom Template file to use | `template="topgames"` |
| **
available** | string | - | Content tag filter | `available="spotlight"` |
| **
from** | integer Starting offset for pagination | `from="10"` |
| **
limit** | integer 10 Number of items to display | `limit="20"` |
| **
cache** | string no Enable caching (yes/no) | `cache="yes"` |
| **
order** | string date Sort field | `order="rating"` |
| **
sort** | string DESC Sort direction (ASC/DESC) | `sort="ASC"` |
| **
status** | integer Content status filter | `status="2"` |
| **
debug** | boolean | - | Enable debug mode | `debug="1"` |



5
heyula
XOOPS Custom Field Module
  • 2025/6/30 19:29

  • heyula

  • Theme Designer

  • Posts: 601

  • Since: 2008/4/24


I've been working on a module for quite some time, and now that I'm getting close to finishing it, I wanted to share it with you. The module is called Custom Field, and it allows you to add custom fields to any module you want. Watching the video will give you a better understanding of how it works.

I've added support for different field types and integrated Xoops form features. I plan to release it soon. In my opinion, this was one of the major missing features in Xoops.




6
heyula
Re: New module: Smartshare
  • 2025/6/28 7:54

  • heyula

  • Theme Designer

  • Posts: 601

  • Since: 2008/4/24


Nice module, thank you.



7
heyula
Re: Small suggestion for latest news images
  • 2025/6/6 8:59

  • heyula

  • Theme Designer

  • Posts: 601

  • Since: 2008/4/24


You can add the code you mentioned for this, but the correct approach is to handle it via thumb.php. While designing the theme, I had many different ideas about the Publisher module, but due to lack of time, I couldn't implement most of them. I hope to start working on something for Xoops again soon.

The current dimensions generated by thumb.php:

https://xoops.org/modules/publisher/thumb.php?src=https://xoops.org/uploads/images/img680f03c0692e8.jpg&w=385

You can set your desired dimensions as shown in this example:

https://xoops.org/modules/publisher/thumb.php?src=https://xoops.org/uploads/images/img680f07df742b6.jpg&w=2000&h=500



8
heyula
PodTalk Theme (PUBLISHER)
  • 2024/11/2 12:20

  • heyula

  • Theme Designer

  • Posts: 601

  • Since: 2008/4/24


"Recently, thanks to an idea Michael came up with for the Publisher module, creating independent blocks has become much easier, and I wanted to test it with a nice theme. Very soon, I will release the PodTalk theme compatible with Publisher."

Resized Image


Demo: https://erenyumak.com/ato/

Code added by Michael to theme_autorun.php


/** @var XoopsTpl */
global $xoopsTpl;
if (!empty(
$xoopsTpl)) {
    
$xoopsTpl->addConfigDir(__DIR__);
}

require 
dirname(__DIR__,2) . '/modules/publisher/preloads/autoloader.php';

use 
XoopsModulesPublisher{
    
Constants,
    
Helper,
    
Item
};

// Initialize helper and text sanitizer
$myts MyTextSanitizer::getInstance();

/**
 * Function to fetch items
 */
function getPublisherItems($limit$sort 'RAND()'$order '')
{
    
$helper Helper::getInstance();
    
$itemsObj $helper->getHandler('Item')->getItems(
        
$limit,
        
$start 0,
        [
Constants::PUBLISHER_STATUS_PUBLISHED],
        -
1,
        
$sort,
        
$order,
        
'',
        
true,
        
$criteria null
    
);

    
$items = [];
    if (
$itemsObj) {
        foreach (
$itemsObj as $itemObj) {
            
$newItem = [
                
'itemid'   => $itemObj->itemid(),
                
'title'    => $itemObj->title(),
                
'body'     => $itemObj->body(),
                
'votes'    => $itemObj->votes(),
                
'counter'  => $itemObj->counter(),
                
'comments' => $itemObj->comments(),
                
'image'    => XOOPS_URL '/uploads/blank.gif',
            ];

            
$images $itemObj->getImages();
            if (isset(
$images['main']) && is_object($images['main'])) {
                
$newItem['image'] = XOOPS_URL '/uploads/' $images['main']->getVar('image_name');
            }

            
$items[] = $newItem;
        }
    }
    return 
$items;
}

// Fetch and assign items for each template
$xoopsTpl->assign('breakingItems'getPublisherItems(4));
$xoopsTpl->assign('featuredItems'getPublisherItems(3));
$xoopsTpl->assign('fourLastedRandomItems'getPublisherItems(4));
$xoopsTpl->assign('itemBreakingItems'getPublisherItems(10));
$xoopsTpl->assign('lastedRandomItems'getPublisherItems(4));
$xoopsTpl->assign('newsItems'getPublisherItems(4));
$xoopsTpl->assign('oneLastedRandomItem'getPublisherItems(1));
$xoopsTpl->assign('rightLastedRandomItems'getPublisherItems(8));
$xoopsTpl->assign('sliderItems'getPublisherItems(9));

// Assign XOOPS URL
$xoopsTpl->assign('xoops_url'XOOPS_URL);


Example block usage

<{foreach item=item from=$sliderItems}>    
    <
div class="owl-carousel-info-wrap item">
        <
img src="<{$item.image}>"
            
class="owl-carousel-image img-fluid" alt="<{$item.title}>">

        <
div class="owl-carousel-info">
            <
h4 class="mb-2">
                <
a href="<{$xoops_url}>/modules/publisher/item.php?itemid=<{$item.itemid}>">
                    <{
$item.title|truncate:15}>
                a>            
                <
img src="<{xoImgUrl}>images/verified.png" class="owl-carousel-verified-image img-fluid" alt="<{$item.title}>">
            h4>

            <
span class="badge">Reads: <{$item.counter}>span>

            <
span class="badge">Votes: <{$item.votes}>span>
        div>
    div>
<{/foreach}>



9
heyula
Re: wgFilemanager released for testing and contribution
  • 2024/8/21 15:19

  • heyula

  • Theme Designer

  • Posts: 601

  • Since: 2008/4/24


Great module. I will try it as soon as possible. Thank you.



10
heyula
Re: New Admin Theme for XOOPS
  • 2024/5/29 18:56

  • heyula

  • Theme Designer

  • Posts: 601

  • Since: 2008/4/24


Quote:

Mamba wrote:
Eren,
Quote:
First of all, thank you so much for testing and submitting your changes. I love when we get together as a community and get things going!

But this is a perfect opportunity to practice collaboration on GitHub and working with Git.

Just fork it from https://github.com/ForXoops/System, and then submit your changes there! Trust me, it will speed up the development process for all, and it will also help with testing for bugs!

If you need any help with how to work with GitHub and local forks, please let me know, and I'll be happy to help!


Resized Image


These updates are valid in "cpadmin" made by ForMusS. The reason is that "cpadmin" supports bootstrap 4 and I adapted "moduleadmin.php" for bootstrap 4.




TopTop
(1) 2 3 4 ... 25 »



Login

Who's Online

887 user(s) are online (832 user(s) are browsing Support Forums)


Members: 0


Guests: 887


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Feb 28
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits