XF2 [8WR] XenCarta 2 (Wiki) PRO

XF2 [8WR] XenCarta 2 (Wiki) PRO [Paid] 2.1.0.4

No permission to buy ($30.00)

Jaxel

Well-known member
Just had a play and I notice that if I type the name in, then it auto links. However, I have three planes I want to link to:

Jumbo (jumbo)
Jumbo S1 (jumbo_s1)
Jumbo S2 (jumbo_s2)

If I type Jumbo in, it works fine. However if I type Jumbo S1 in, the Jumbo part becomes the link, not the full Jumbo S1. I've tried using jumbo_s1, but no joy.
Can you open EWR\Carta\Repository\Parser.php and replace line 159:
$pages = $this->repository('EWR\Carta:Page')->findPage()
With:
$pages = $this->finder('EWR\Carta:Page')
Tell me if that fixes it.
 

DaveL

Well-known member
Can you open EWR\Carta\Repository\Parser.php and replace line 159:
$pages = $this->repository('EWR\Carta:Page')->findPage()
With:
$pages = $this->finder('EWR\Carta:Page')
Tell me if that fixes it.
Superb, that fixed it!

Thanks you :D
 

DaveL

Well-known member
One more quick question. I'm using one of the templates from your site @Jaxel and was wondering how I could make it wider. I have all this spare space, yet it's causing some text to go underneath when I would prefer it next to it. (Such as the top seldom and bottom very seldom)

wiki2.png

This is the template code that i'm using:

Code:
<table class="carta-info-box">
    <tr>
        <td colspan="2" class="block-header"><b>{{{name}}}</b></td>
    </tr>
    <tr>
        <td colspan="2" class="dataList-cell">{{{image}}}</td>
    </tr>
    <tr>
        <td colspan="2" class="dataList-cell block-minorHeader"><b>Flight Details</b></td>
    </tr>
    <tr class="dataList-row">
        <td class="dataList-cell"><b>Level Required: </b><img src="https://www.airportcitygame.com/images/wiki/level.png"></td>
        <td class="dataList-cell">{{{level}}}</td>
    </tr>
    <tr class="dataList-row">
        <td class="dataList-cell"><b>Stars Required: </b><img src="https://www.airportcitygame.com/images/wiki/runway.png"></td>
        <td class="dataList-cell">{{{stars_required}}}</td>
    </tr>
    <tr class="dataList-row">
        <td class="dataList-cell"><b>Plane Required: </b><img src="https://www.airportcitygame.com/images/wiki/plane.png"></td>
        <td class="dataList-cell">{{{plane_required}}}</td>
    </tr>
    <tr class="dataList-row">
        <td class="dataList-cell"><b>Buildings Required: </b></td>
        <td class="dataList-cell">{{{buildings_required}}}</td>
    </tr>
    <tr class="dataList-row">
        <td class="dataList-cell"><b>Items Required: </b></td>
        <td class="dataList-cell">{{{items_required}}}</td>
    </tr>
    <tr class="dataList-row">
        <td class="dataList-cell"><b>Fuel Required: </b><img src="https://www.airportcitygame.com/images/wiki/fuel.png"></td>
        <td class="dataList-cell">{{{fuel_required}}}</td>
    </tr>
    <tr class="dataList-row">
        <td class="dataList-cell"><b>Passengers Required: </b><img src="https://www.airportcitygame.com/images/wiki/passengers.png"></td>
        <td class="dataList-cell">{{{passengers_required}}}</td>
    </tr>
    
    
    <tr>
        <td colspan="2" class="dataList-cell block-minorHeader"><b>Flight Duration</b></td>
    </tr>
    <tr class="dataList-row">
        <td class="dataList-cell"><b>Flight Time: </b><img src="https://www.airportcitygame.com/images/wiki/time.png"></td>
        <td class="dataList-cell">{{{flight_time}}}</td>
    </tr>
    <tr class="dataList-row">
        <td class="dataList-cell"><b>Catalyst Acceleration: </b><img src="https://www.airportcitygame.com/images/wiki/catalyst.png"></td>
        <td class="dataList-cell">{{{catalyst_acceleration}}}</td>
    </tr>
    <tr class="dataList-row">
        <td class="dataList-cell"><b>Fuel Speed Up: </b><img src="https://www.airportcitygame.com/images/wiki/fuel.png"></td>
        <td class="dataList-cell">{{{fuel_speed_up}}}</td>
        
        </tr>
    
    
    <tr>
        <td colspan="2" class="dataList-cell block-minorHeader"><b>Skill Levels</b></td>
    </tr>
    <tr class="dataList-row">
        <td class="dataList-cell"><b>Specialist: </b><img src="https://www.airportcitygame.com/images/wiki/star.png"></td>
        <td class="dataList-cell">{{{specialist}}}</td>
    </tr>
    <tr class="dataList-row">
        <td class="dataList-cell"><b>Master: </b><img src="https://www.airportcitygame.com/images/wiki/star.png"><img src="https://www.airportcitygame.com/images/wiki/star.png"></td>
        <td class="dataList-cell">{{{master}}}</td>
    </tr>
    
    <tr class="dataList-row">
        <td class="dataList-cell"><b>Expert: </b><img src="https://www.airportcitygame.com/images/wiki/star.png"><img src="https://www.airportcitygame.com/images/wiki/star.png"><img src="https://www.airportcitygame.com/images/wiki/star.png"></td>
        <td class="dataList-cell">{{{expert}}}</td>
        
            </tr>
    
    
    <tr>
        <td colspan="2" class="dataList-cell block-minorHeader"><b>Flight Rewards</b></td>
    </tr>
    <tr class="dataList-row">
        <td class="dataList-cell"><b>Gold Coins: </b><img src="https://www.airportcitygame.com/images/wiki/coins.png"></td>
        <td class="dataList-cell">{{{gold_coins}}}</td>
    </tr>
    <tr class="dataList-row">
        <td class="dataList-cell"><b>Experience: </b><img src="https://www.airportcitygame.com/images/wiki/experience.png"></td>
        <td class="dataList-cell">{{{experience}}}</td>
    </tr>
    <tr class="dataList-row">
        <td class="dataList-cell"><b>Common Items: </b></td>
        <td class="dataList-cell">{{{common_items}}}</td>
        </tr>
        <tr class="dataList-row">
        <td class="dataList-cell"><b>Special Items: </b></td>
        <td class="dataList-cell">{{{special_items}}}</td>
    
        
</table>
 

DaveL

Well-known member
Can you open EWR\Carta\Repository\Parser.php and replace line 159:
$pages = $this->repository('EWR\Carta:Page')->findPage()
With:
$pages = $this->finder('EWR\Carta:Page')
Tell me if that fixes it.
Since making that edit, I have this showing up in my ACP


[8WR] XenCarta 2 (Wiki) PRO
src/addons/EWR/Carta/Repository/Parser.php Unexpected contents
 

DaveL

Well-known member
Does anyone know how to get an item to link twice in the same article?
link.png

As Chinese Shop and Puppet Theatre are linked in the Event Description, it won't link again under Event Buildings. If I remove them from the Event Description, then the ones under Event Buildings link.

Hoping there may be a work around.
 

DaveL

Well-known member
Does anyone know how to get an item to link twice in the same article?
View attachment 216982

As Chinese Shop and Puppet Theatre are linked in the Event Description, it won't link again under Event Buildings. If I remove them from the Event Description, then the ones under Event Buildings link.

Hoping there may be a work around.
@Jaxel , Along with the above, I wonder if you could shed any light on this issue.

I have:
Eagle
Raven
Guest Eagle
Guest Raven

Eagle and Guest Eagle auto link correctly. However Guest Raven only autolinks the Raven part.

Here is an example. I've been through and everything is correct name wise, so not sure why it's working for some and not others. Also noticed that if you put something in brackets ( ) it won't link. Not sure whether a design feature or not?
guest.png

This one is working:
eagle.png

This one isnt:
raven.png

Any ideas here at all?
 
Last edited:

SWRPForum

New member
Is there a way to turn off html as an option for creating pages for the users and only allow it to be bb code? I didn't see this as an option on the admin end.
 
Top