• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

[8wayRun.Com] XenPorta (Portal)

Status
Not open for further replies.
Is it just with me, or does the "Promote Options" button change to:





<span>Promote Options</span>
After you have clicked Promote Thread
 
I am not very familiar with twitter, just added the Portals Block but the Twitter logo is very similiar to the Borders Color
Does anyone know where/how to change the Logo http://widgets.twimg.com/i/widget-logo.png ? Thanks

Find the Twitter XML file in: \library\EWRporta\XML\Twitter.xml

In the XML file find: http://widgets.twimg.com/i/widget-logo.png
Replace it with: http://yourdomain.com/images/twitter_darker.png

Import the changed XML Module and you're good to go :)
 
I am not very familiar with twitter, just added the Portals Block but the Twitter logo is very similiar to the Borders Color
Does anyone know where/how to change the Logo http://widgets.twimg.com/i/widget-logo.png ? Thanks

We can all change the logo out easily. Template: EWRporta_Block_Twitter

Find the below code and replace it to the path of whatever image you desire
Code:
<img src="http://widgets.twimg.com/i/widget-logo.png" alt="" />
 
How can I declare the size of the fb images that load in the block? I know they are 50 x 50.

I looked at the XML, EWRPorta_block_Facebook, in the Library and JS folders. I couldn't locate anything helpful. There has to be a way on our end to declare those dimensions but I can't find it.

Portal.webp
 
Ah, my mistake.
I always understood FB iframe content/styling was controlled at their end?

I guess you're just overriding the FB CSS?
 
I know how to declare dimensions within the src= string. Can image dimensions be declared as part of CSS?

I tried adding the below to the facebook.CSS file but it didn't work. Keep in mind I am not trying to actually change any sizes but merely declare the sizes to optimize the page loading.

Code:
.fan_box.commections_grid.grid_item img{
    height: 50px;
    width: 50px;
}
 
I agree that the current white logo doesn't display well on light themes. But it appears great on dark themes.

We can all change the logo out easily. Template: EWRporta_Block_Twitter

Find the below code and replace it to the path of whatever image you desire
Code:
<img src="http://widgets.twimg.com/i/widget-logo.png" alt="" />

Personally I like the current logo but need to change the color for use with the light style.
You can always save it to your computer and re-color it.
 
:p nice catch.

I adjusted the code but it still is not working.

Code:
.fan_box.connections_grid.grid_item img{
    height: 50px;
    width: 50px;
}
Facebook caches CSS... so you have to update the Facebook template and add ?1 (and increment on each change) to the URL of the css.
 
Facebook caches CSS... so you have to update the Facebook template and add ?1 (and increment on each change) to the URL of the css.

The URL in EWRPorta_block_facebook already had a ?1 so I changed it to ?2. It is now as follows:
Code:
<fb:fan width="240" height="291" connections="12" stream="false" logobar="false" css="{$xenOptions.boardUrl}/js/8wayrun/facebook.css?2" profile_id="{$option.facebook_profile}"></fb:fan>

I did a CTRL+F5 refresh of my home page but the issue remained.
 
Because your CSS code is wrong...
Code:
.fan_box.connections_grid.grid_item img
should be:
Code:
.fan_box .connections_grid .grid_item img
The lack of spaces imply class="fan_box connections_grid grid_item", instead of nesting.
 
I know this is a long thread but if you plan on using this module, you really need to read it :)

Go to ACP > Options > XenPorta and check the box Set As Index Controller.
 
Status
Not open for further replies.
Back
Top Bottom