Plugin

Developer
Supported

Entry ID

ExpressionEngine 1.x, ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Laisvunas

     

You must be logged in to post.

No entry_id output

Support Request

Fabian
Fabian

Hello,

I’m trying to get the entry_id based on the title url but it doesn’t seem to be working. Can you please take a look at this:

{exp:channel:entries channel="portafolio" backspace="7" 
    
entry_id="{exp:entry_id channel='portafolio' url_title='{last_segment}' parse='inward'}
    {entry_id_number}{/exp:entry_id}"
}

    {exp
:channel_images:images channel="portafolio" entry_id="{exp:entry_id channel='portafolio' url_title='{last_segment}'parse='inward'}
    {entry_id_number}{/exp:entry_id}" 
orderby="random" backspace="3"}
    
    {
    
"id"            {image:id},
    
"image"         "{image:url}",
    
"thumb"         "{image:url:small}"}{/exp:channel_images:images}}
                    
    {
/exp:channel:entries} 

 

If I enter, for example:22 in entry_id, the entry displays fine. I’m not sure why this is not working. The above example has a json header.

 

Fabian
# 1
Fabian

I was not using the plugin correctly. It is working fine now.